Benchmark
SLURM Submit script example
For more information use the Job Script Generator.
ofoam_example.slm
#!/bin/bash #SBATCH -J ofoam_example #SBATCH -e ofoam_example.err #SBATCH -o ofoam_example.out #SBATCH -p std #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=1 #SBATCH --mem=4G module load apps/openfoam/5.0 source config_OF 1606 INPUT_DIR=${PWD} OUTPUT_DIR=${PWD} cd $TMPDIR cp -r $INPUT_DIR $TMPDIR mpirun -np $t [yoursolver] > log reconstructPar cp ./* $OUTPUT_DIR