|
|
Modules
|
|
|
-------
|
|
|
|
|
|
Recommended modules (August 2021):
|
|
|
|
|
|
```
|
|
|
module purge
|
|
|
module load 2019
|
|
|
module load intel/2018b
|
|
|
module load netcdf4-python/1.4.1-intel-2018b-Python-3.6.6
|
|
|
module load GSL/2.5-iccifort-2018.3.222-GCC-7.3.0-2.30
|
|
|
module load LLVM/6.0.0-GCCcore-7.3.0
|
|
|
module load ParMETIS/4.0.3-intel-2018b
|
|
|
module load FFTW/3.3.8-intel-2018b
|
|
|
module load matplotlib/3.0.0-intel-2018b-Python-3.6.6
|
|
|
module load h5py/2.8.0-intel-2018b-Python-3.6.6
|
|
|
module load CMake/3.12.1-GCCcore-7.3.0
|
|
|
module load IPython/7.2.0-intel-2018b-Python-3.6.6
|
|
|
```
|
|
|
|
|
|
|
|
|
Configuration
|
|
|
-------------
|
|
|
|
|
|
The code can be configured using:
|
|
|
|
|
|
```
|
|
|
./configure --disable-hand-vec --with-sidm=yes
|
|
|
```
|
|
|
(followed by any other physics arguments)
|
|
|
|
|
|
|
|
|
SLURM scripts
|
|
|
-------------
|
|
|
|
|
|
Example of submission script for two nodes, for a cosmological +hydro +sidm run. The job would look like:
|
|
|
|
|
|
```
|
|
|
#!/bin/bash
|
|
|
#SBATCH -J L6N188HydroSig1
|
|
|
#SBATCH -o output-%j.out
|
|
|
#SBATCH -e error-%j.err
|
|
|
#SBATCH -t 72:00:00
|
|
|
#SBATCH -N 2 #number nodes
|
|
|
#SBATCH --tasks-per-node=4
|
|
|
|
|
|
module purge
|
|
|
module load 2019
|
|
|
module load intel/2018b
|
|
|
module load netcdf4-python/1.4.1-intel-2018b-Python-3.6.6
|
|
|
module load GSL/2.5-iccifort-2018.3.222-GCC-7.3.0-2.30
|
|
|
module load LLVM/6.0.0-GCCcore-7.3.0
|
|
|
module load ParMETIS/4.0.3-intel-2018b
|
|
|
module load FFTW/3.3.8-intel-2018b
|
|
|
|
|
|
mpirun -np 8 /path/to/executable/mpi_swift --threads=16 -G --cosmology --eagle --sidm parameters.yml
|
|
|
``` |