Star-CCM+: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 91: Line 91:
module load StdEnv/2020      # Do not change
module load StdEnv/2020      # Do not change


<!--T:273-->
# 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"


<!--T:275-->
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}"
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}"
mkdir -p "$STARCCM_TMP"
mkdir -p "$STARCCM_TMP"


<!--T:276-->
slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID
slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID


<!--T:277-->
NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE))
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK))


<!--T:278-->
<!--T:278-->
starccm+ -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
# 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


<!--T:281-->
# 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"


<!--T:283-->
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}"
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}"
mkdir -p "$STARCCM_TMP"
mkdir -p "$STARCCM_TMP"


<!--T:284-->
slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID
slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID


<!--T:285-->
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK))
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK))
<!--T:286-->
# Remove "-podkey $LM_PROJECT" from next line if using an institutional server


<!--T:287-->
<!--T:287-->
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
# 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-->
cc_staff
1,857

edits