cc_staff
1,894
edits
No edit summary |
mNo edit summary |
||
Line 70: | Line 70: | ||
<!--T:270--> | <!--T:270--> | ||
# Remove "-power -podkey $LM_PROJECT" when using an institutional license | # Remove "-power -podkey $LM_PROJECT" when using an institutional license server | ||
starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -licpath $CDLMD_LICENSE_FILE -nbuserdir $SLURM_TMPDIR -machinefile $STARCCM_TMP/machinefile-$SLURM_JOB_ID $PWD/your-file.sim | starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -licpath $CDLMD_LICENSE_FILE -nbuserdir $SLURM_TMPDIR -machinefile $STARCCM_TMP/machinefile-$SLURM_JOB_ID $PWD/your-file.sim | ||
Line 113: | Line 113: | ||
<!--T:278--> | <!--T:278--> | ||
# Remove "-power -podkey $LM_PROJECT" when using an institutional license | # Remove "-power -podkey $LM_PROJECT" when using an institutional license server | ||
starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -licpath $CDLMD_LICENSE_FILE -nbuserdir $SLURM_TMPDIR -machinefile $STARCCM_TMP/machinefile-$SLURM_JOB_ID $PWD/your-file.sim -mpi intel -fabric psm2 | starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -licpath $CDLMD_LICENSE_FILE -nbuserdir $SLURM_TMPDIR -machinefile $STARCCM_TMP/machinefile-$SLURM_JOB_ID $PWD/your-file.sim -mpi intel -fabric psm2 | ||
Line 146: | Line 146: | ||
<!--T:306--> | <!--T:306--> | ||
slurm_hl2hl.py --format STAR-CCM+ > $SLURM_TMPDIR/machinefile | slurm_hl2hl.py --format STAR-CCM+ > $SLURM_TMPDIR/machinefile-$SLURM_JOB_ID | ||
<!--T:307--> | <!--T:307--> | ||
Line 152: | Line 152: | ||
<!--T:287--> | <!--T:287--> | ||
# Remove "-power -podkey $LM_PROJECT" when using an institutional license | # 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 | starccm+ -jvmargs -Xmx4G -jvmargs -Djava.io.tmpdir=$SLURM_TMPDIR -batch -power -podkey $LM_PROJECT -np $NCORE -licpath $CDLMD_LICENSE_FILE -nbuserdir $SLURM_TMPDIR -machinefile $SLURM_TMPDIR/machinefile-$SLURM_JOB_ID $SLURM_SUBMIT_DIR/your-file.sim -mpi intel -fabric psm2 | ||
<!--T:288--> | <!--T:288--> | ||
Line 237: | Line 237: | ||
<!--T:319--> | <!--T:319--> | ||
cd $SLURM_SUBMIT_DIR | cd $SLURM_SUBMIT_DIR | ||
slurm_hl2hl.py --format STAR-CCM+ > $SLURM_SUBMIT_DIR/ | slurm_hl2hl.py --format STAR-CCM+ > $SLURM_SUBMIT_DIR/machinefile-$SLURM_JOB_ID | ||
NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) | NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) | ||
Line 249: | Line 249: | ||
echo "Attempt number: "$I | echo "Attempt number: "$I | ||
# Remove "-power -podkey $LM_PROJECT" when using an institutional license server… | # Remove "-power -podkey $LM_PROJECT" when using an institutional license server… | ||
starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -nbuserdir $SLURM_TMPDIR -machinefile $SLURM_SUBMIT_DIR/ | starccm+ -batch -power -podkey $LM_PROJECT -np $NCORE -nbuserdir $SLURM_TMPDIR -machinefile $SLURM_SUBMIT_DIR/machinefile-$SLURM_JOB_ID $SLURM_SUBMIT_DIR/your-simulation-file.java $SLURM_SUBMIT_DIR/your-simulation-file.sim > $SLURM_JOB_ID.results | ||
RET=$? | RET=$? | ||
i=$((i+1)) | i=$((i+1)) |