... | ... | @@ -6,4 +6,43 @@ and configuration options of the code: |
|
|
|
|
|
- Default: `./configure --enable-ipo --with-tbbmalloc CFLAGS='-qopt-zmm-usage=high' --disable-hand-vec --with-parmetis`
|
|
|
- EAGLE: `./configure --with-subgrid=EAGLE --enable-ipo --with-tbbmalloc CFLAGS='-qopt-zmm-usage=high' --disable-hand-vec --with-parmetis --with-subgrid=EAGLE`
|
|
|
- Debugging: `./configure --with-parmetis --enable-debug --enable-debugging-checks --disable-optimization` |
|
|
\ No newline at end of file |
|
|
- Debugging: `./configure --with-parmetis --enable-debug --enable-debugging-checks --disable-optimization`
|
|
|
|
|
|
The parameters can be take from the corresponding example. A submission script for a single node job would look like:
|
|
|
|
|
|
```
|
|
|
#!/bin/bash -l
|
|
|
|
|
|
#SBATCH -J SWIFT_EAGLE_12
|
|
|
#SBATCH -N 1
|
|
|
#SBATCH -o job.%J.dump
|
|
|
#SBATCH -e job.%J.err
|
|
|
#SBATCH -p cosma7
|
|
|
#SBATCH -A dp004
|
|
|
#SBATCH --exclusive
|
|
|
#SBATCH --mail-type=ALL
|
|
|
#SBATCH --mail-user=your.email@your.job
|
|
|
#SBATCH -t 72:00:00
|
|
|
|
|
|
../../swift --pin --cooling --star-formation --feedback --stars --cosmology --hydro --self-gravity -v 1 --threads=28 eagle_12.yml
|
|
|
|
|
|
```
|
|
|
|
|
|
whilst for a multi-node job, one would use:
|
|
|
|
|
|
```
|
|
|
#!/bin/bash -l
|
|
|
|
|
|
#SBATCH -J SWIFT_EAGLE_12
|
|
|
#SBATCH -N 8
|
|
|
#SBATCH --tasks-per-node=2
|
|
|
#SBATCH -o job.%J.dump
|
|
|
#SBATCH -e job.%J.err
|
|
|
#SBATCH -p cosma7
|
|
|
#SBATCH -A dp004
|
|
|
#SBATCH --exclusive
|
|
|
#SBATCH --mail-type=ALL
|
|
|
#SBATCH --mail-user=your.email@your.job
|
|
|
#SBATCH -t 72:00:00
|
|
|
|
|
|
mpirun -np 16 ../../swift_mpi --pin --cooling --star-formation --feedback --stars --cosmology --hydro --self-gravity -v 1 --threads=14 eagle_12.yml |