Running
This page gives information on how to run nekRS has been installed (see Installing ) and appropriate input files have been generated (see Case files).
nekrs and nekrs32
Native Running
The most basic way of running nekRS is in the directory with all the appropriate files with the scenario name:
mpirun -np <number of MPI tasks> nekrs --setup <scenario>.par
Below are the command line arguments that can be used to further modifiy how nekRS is run.
Parameter |
Short option |
Options |
Description |
Required |
|---|---|---|---|---|
|
|
None or |
Print help, either summary of command line argument |
No |
|
|
None, |
Specifies the location of files needed to initialise the simulation |
Yes |
|
|
None or |
Initialise the simulation and run Just-in-time Compilation only. |
No |
|
|
None or |
Runs specific CI tests if available in the chosen simulation (see Contributing) |
No |
|
|
None |
Run in debug mode, IE print values of many of the variables while running |
No |
|
|
|
Manually set the backend device for running |
No |
|
|
|
Manually set OCCA device ID (I.E. for machines with multiple GPUs) or use |
No |
MPI launch scripts
A number of scripts ship with nekRS itself and are located in the
$NEKRS_HOME/bin directory (see Set NEKRS_HOME). A brief summary of these
scripts and their usage is as follows.
nrsmpi <casename> <processes>: run nekRS in parallel with<processes>parallel processes for the case files that are prefixed withcasename.nrsbmpi <casename> <processes>: same asnrsmpi, except that nekRS runs in the background
Queueing system
TODO