Skip to content

CORSIKA exit code is alway zero #3

@maxnoe

Description

@maxnoe

Just to let you know, I learned that the proper way to test if a corsika run was successfull is to check that there is the line:

== END OF RUN ==

in the log.

E.g.:

if '== END OF RUN ==' not in corsika_log:
    log.error('== END OF RUN== not in CORSIKA log output')
    log.error('CORSIKA did not finish successfully')
    sys.exit(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions