User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2018-06-06 08:43:14

michelk
Advanced_User
Registered: 2014-09-17
Posts: 33

Exit Code of basement in batch-mode on error should be != 0

Hi,

Currently, the exit code when running basement in batch-mode is always zero (which means in unix-terms: success), although the program might have encountered an error.

When running multiple simulations this is not optimal, because it is harder to detect erroneous setups. So please use an exit code != 0 (e.g. 1) when basement encounters errors.

Thanks, Michel

Offline

Board footer

Powered by FluxBB