cc_staff
1,857
edits
No edit summary |
mNo edit summary |
||
Line 91: | Line 91: | ||
module load StdEnv/2020 # Do not change | module load StdEnv/2020 # Do not change | ||
# module load starccm/18.02.008-R8 | # module load starccm/18.02.008-R8 | ||
module load starccm-mixed/18.02.008 | module load starccm-mixed/18.02.008 | ||
Line 99: | Line 98: | ||
export CDLMD_LICENSE_FILE="1999@flex.cd-adapco.com" | export CDLMD_LICENSE_FILE="1999@flex.cd-adapco.com" | ||
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}" | export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}" | ||
mkdir -p "$STARCCM_TMP" | mkdir -p "$STARCCM_TMP" | ||
slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID | slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID | ||
NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) | |||
NCORE=$(( | |||
<!--T:278--> | <!--T:278--> | ||
starccm+ -batch -power -np $NCORE | # Remove "-power -podkey $LM_PROJECT" when using an institutional license server ... | ||
starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -licpath $CDLMD_LICENSE_FILE -machinefile $PWD/machinefile-$SLURM_JOB_ID $PWD/your-file.sim -mpi intel -fabric psm2 | |||
<!--T:279--> | <!--T:279--> | ||
Line 130: | Line 127: | ||
module load StdEnv/2020 # Do not change | module load StdEnv/2020 # Do not change | ||
# module load starccm/18.02.008-R8 | # module load starccm/18.02.008-R8 | ||
module load starccm-mixed/18.02.008 | module load starccm-mixed/18.02.008 | ||
Line 138: | Line 134: | ||
export CDLMD_LICENSE_FILE="1999@flex.cd-adapco.com" | export CDLMD_LICENSE_FILE="1999@flex.cd-adapco.com" | ||
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}" | export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}" | ||
mkdir -p "$STARCCM_TMP" | mkdir -p "$STARCCM_TMP" | ||
slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID | slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID | ||
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | ||
<!--T:287--> | <!--T:287--> | ||
starccm+ -jvmargs -Xmx4G -jvmargs -Djava.io.tmpdir=$SLURM_TMPDIR -batch -power -np $NCORE | # Remove "-power -podkey $LM_PROJECT" when using an institutional license server ... | ||
starccm+ -jvmargs -Xmx4G -jvmargs -Djava.io.tmpdir=$SLURM_TMPDIR -batch -power -podkey $LM_PROJECT -np $NCORE -licpath $CDLMD_LICENSE_FILE -machinefile $PWD/machinefile-$SLURM_JOB_ID $PWD/your-file.sim -mpi intel -fabric psm2 | |||
<!--T:288--> | <!--T:288--> | ||
Line 242: | Line 233: | ||
</tab> | </tab> | ||
</tabs> | </tabs> | ||
= Remote visualization = <!--T:25--> | = Remote visualization = <!--T:25--> |