Code_Saturne v5.0.13

Running the application

Code_Saturne v5.0.13 can be used after executing on the login node:

module load code_saturne/5.0.13-iomkl-2020.02-Python-3.8.2

Similarly if you want to launch the GUI from the DATA directory, you should type:

./SaturneGUI

Note: You need to ensure you have connected to CSF4 with X-forwarding enabled (e.g. ssh -X). For more information on how to do this please see the Logging in documentation.

Once you have set up your study/case file structure, you will need to edit the “runcase” file for submission to the queue. Follow the instructions for using Slurm on CSF4 as to what flags you should use.

# Add these flags to the runcase file near the top of the file
#SBATCH -p multicore       # A single node (multicore) job
#SBATCH -n 40              # for up to 40

or

# Add these flags to the runase file near the top of the file
#SBATCH -p multinode       # A multinode job
#SBATCH -n 80              # for 80 to 200 cores in multiples of 40

After editing the “runcase” you can submit it by typing:

sbatch runcase

Note: It is highly recommended that if you are using any user subroutine, do a test compilation before submitting by typing:

code_saturne compile

in the SRC directory of your case.

Further info

NB: Moving from CSF3 to CSF4:

If you want to submit a job created on CSF3 to the batch system on CSF4, then you must add the relevant SBATCH options, as detailed in the instructions for using Slurm on CSF4. You must also update the PATH variable in the “runcase” file to point to the new installation depending on the version you want to use. To find the location use the module show command, for example:

module load code_saturne/5.0.13-iomkl-2020.02-Python-3.8.2

Similarly if you want to launch the GUI from the DATA directory you should edit the “SaturneGUI” script and update the PATH.

Last modified on January 24, 2023 at 5:22 pm by George Leaver