The shell script execp3d

The shell script execp3d usually fully controls the compilation of the code, the generation of subdirectories, the generation of a start-up configuration and the correct execution of the code. Running the code on another machine, even of the same architecture for which the code was designed, typically requires changes in this script, therefore it is described in some detail. 

Calling execp3d

When calling execp3d you need to specify the name of the run and the number of time steps to be performed (if the time limit set in the parameter file, compare parameter maxruntime, is reached the code terminates earlier). Furthermore there are several command line options: execp3d generates a subdirectory for the simulation if not yet present, generates a start-up configuration by calling the initializer chosen in the parameter file, and runs the code starting from the latest dump file that is available.

Examples:

Structure of execp3d

execp3d performs the following tasks: