|
|
# NIC5
|
|
|
|
|
|
```
|
|
|
#!/bin/bash
|
|
|
# Submission script for Nic5
|
|
|
#SBATCH --job-name=[jobName]
|
|
|
#SBATCH --time=[hour]:[min]:[sec] # hh:mm:ss
|
|
|
#
|
|
|
#SBATCH --ntasks=1
|
|
|
#SBATCH --cpus-per-task=[NThreads]
|
|
|
#SBATCH --mem-per-cpu=4096 # 4GB
|
|
|
#SBATCH --partition=batch
|
|
|
#
|
|
|
#SBATCH --output=[outputName]
|
|
|
|
|
|
export OMP_NUM_THREADS=[NThreads]
|
|
|
|
|
|
# Thread affinity should be imposed
|
|
|
export OMP_PLACES=cores
|
|
|
export OMP_BIND_PROC=close
|
|
|
|
|
|
./gmshfem -maxThreads [NThreads] [parameters, ...]
|
|
|
``` |
|
|
\ No newline at end of file |