... | ... | @@ -25,3 +25,22 @@ The code can be configured using: |
|
|
|
|
|
The compiler needs to be specified by hand (`CC=icc`, `MPICC=mpiicc`) as the modules do not actually do what they should and set the compiler environment variables.
|
|
|
The last argument is necessary as the numa library is somehow displaying standard-violating headers.
|
|
|
|
|
|
SLURM scripts
|
|
|
-------------
|
|
|
|
|
|
A submission script for a single node, hydro only, job would look like:
|
|
|
|
|
|
```
|
|
|
#!/bin/bash
|
|
|
|
|
|
#SBATCH --ntasks=1
|
|
|
#SBATCH --time=01:00:00
|
|
|
#SBATCH --partition=cpu-short
|
|
|
#SBATCH --cpus-per-task=24
|
|
|
|
|
|
module purge
|
|
|
module load slurm intel impi HDF5 GSL FFTW
|
|
|
|
|
|
/path/to/executable/swift --hydro --threads=24 parameters.yml
|
|
|
``` |