cc_staff
1,857
edits
mNo edit summary |
mNo edit summary |
||
Line 400: | Line 400: | ||
# Specify 2d, 2ddp, 3d or 3ddp and replace sample with your journal filename | # Specify 2d, 2ddp, 3d or 3ddp and replace sample with your journal filename | ||
if [ "$SLURM_NNODES" == 1 ]; then | if [ "$SLURM_NNODES" == 1 ]; then | ||
fluent -g 2ddp -t $NCORES -affinity=0 -i | fluent -g 2ddp -t $NCORES -affinity=0 -i sample.jou | ||
else | else | ||
fluent -g 2ddp -t $NCORES -affinity=0 -cnf=/tmp/machinefile-$SLURM_JOB_ID -mpi=intel -ssh -i | fluent -g 2ddp -t $NCORES -affinity=0 -cnf=/tmp/machinefile-$SLURM_JOB_ID -mpi=intel -ssh -i sample.jou | ||
fi | fi | ||
fi | fi |