...
Codeblock | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
#SBATCH -t 00:10:00
#SBATCH --nodes=1 ## 2016 and 2017 do not run on more than one node
#SBATCH --ntasks-per-node=48
#SBATCH -p standard96:test
#SBATCH --job-name=abaqus.c2
module load abaqus/2019
# host list:
echo "SLURM_NODELIST: $SLURM_NODELIST"
create_abaqus_hostlist_for_slurm
# This command will create the file abaqus_v6.env for you.
# If abaqus_v6.env exists in the case folder, it will append the line with the hostlist.
### ABAQUS parallel execution
abq2016 analysis job=c2 cpus=${SLURM_NTASKS} standard_parallel=all mp_mode=mpi interactive double
echo '#################### ABAQUS finished ############' |
...