cc_staff
1,857
edits
mNo edit summary |
mNo edit summary |
||
Line 128: | Line 128: | ||
mkdir -p "$STARCCM_TMP" | mkdir -p "$STARCCM_TMP" | ||
slurm_hl2hl.py --format STAR-CCM+ > machinefile | slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID | ||
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | ||
Line 134: | Line 134: | ||
# Append -fabric psm2 to next line when using module versions 15.04.010 or newer ie) | # Append -fabric psm2 to next line when using module versions 15.04.010 or newer ie) | ||
starccm+ -jvmargs -Xmx4G -jvmargs -Djava.io.tmpdir=$SLURM_TMPDIR -batch -power -np $NCORE -podkey $LM_PROJECT -licpath $CDLMD_LICENSE_FILE -machinefile $PWD/machinefile $PWD/your-file.sim -mpi intel -fabric psm2 | starccm+ -jvmargs -Xmx4G -jvmargs -Djava.io.tmpdir=$SLURM_TMPDIR -batch -power -np $NCORE -podkey $LM_PROJECT -licpath $CDLMD_LICENSE_FILE -machinefile $PWD/machinefile-$SLURM_JOB_ID $PWD/your-file.sim -mpi intel -fabric psm2 | ||
}}</tab> | }}</tab> |