Execution
No SHEMAT-Suite executable at hand? Look at Compilation.
SHEMAT-Suite Input File not available/ready? More information here: Input File.
See SHEMAT-Suite_Models-open for example model directories.
Table of Contents
Execution Command
At first you should create a model-directory (e.g.
~/path/to/example_model/
) and move the files needed for execution into
this directory. A model-directory should contain:
- SHEMAT-Suite Input File (Convention: No filename extension and
capital letters.
EXAMPLE
) - SHEMAT-Suite executable (
shem_sm_sgsim64gnu_const.x
) - File
shemade.job
containing the name of the Input File
See SHEMAT-Suite_Models-open for example model directories.
If these three components exist, the executable can be called:
./shem_sm_const.x
Using this command
./shem_sm_const.x > out.txt &
the execution-output will be written to out.txt
and the terminal
will be available during runtime.
If you have compiled SHEMAT-Suite using the OpenMP option, you can
specify the number of threads used by the solver with the flag -tsolve
or by the sample
computations (sm-mode) with the flag -tsample
:
./shem_sm_const.x -tsolve 1 -tsample 12 > out.txt