38,757
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 42: | Line 42: | ||
#SBATCH --ntasks-per-node=1 # Do not change this value | #SBATCH --ntasks-per-node=1 # Do not change this value | ||
# module load StdEnv/2016 # | # module load StdEnv/2016 # Uncomment for version 14.06.013 or older | ||
# module load starccm/14.06.013-R8 | # module load starccm/14.06.013-R8 | ||
# module load starccm-mixed/14.06.013 | # module load starccm-mixed/14.06.013 | ||
# module load starccm/ | # module load starccm/17.02.007-R8 | ||
module load starccm-mixed/ | module load starccm-mixed/17.02.007 | ||
export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | ||
Line 71: | Line 71: | ||
#SBATCH --time=00-01:00 # Time limit: dd-hh:mm | #SBATCH --time=00-01:00 # Time limit: dd-hh:mm | ||
#SBATCH --nodes=2 # Specify 1 or more nodes | #SBATCH --nodes=2 # Specify 1 or more nodes | ||
#SBATCH --cpus-per-task=48 # or 32 | #SBATCH --cpus-per-task=48 # or 32 Request all cores per node | ||
#SBATCH --mem=0 # Request all memory per node | #SBATCH --mem=0 # Request all memory per node | ||
#SBATCH --ntasks-per-node=1 # Do not change this value | #SBATCH --ntasks-per-node=1 # Do not change this value | ||
# module load StdEnv/2016 # | # module load StdEnv/2016 # Uncomment for version 14.06.013 or older | ||
# module load starccm/14.06.013-R8 | # module load starccm/14.06.013-R8 | ||
# module load starccm-mixed/14.06.013 | # module load starccm-mixed/14.06.013 | ||
# module load starccm/ | # module load starccm/17.02.007-R8 | ||
module load starccm-mixed/ | module load starccm-mixed/17.02.007 | ||
export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | ||
Line 108: | Line 108: | ||
#SBATCH --ntasks-per-node=1 # Do not change this value | #SBATCH --ntasks-per-node=1 # Do not change this value | ||
# module load StdEnv/2016 # | # module load StdEnv/2016 # Uncomment for version 14.06.013 or older | ||
# module load starccm/14.06.013-R8 | # module load starccm/14.06.013-R8 | ||
# module load starccm-mixed/14.06.013 | # module load starccm-mixed/14.06.013 | ||
# module load starccm/ | # module load starccm/17.02.007-R8 | ||
module load starccm-mixed/ | module load starccm-mixed/17.02.007 | ||
export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | ||
Line 125: | Line 125: | ||
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | ||
# Append -fabric psm2 to next line when | # Append -fabric psm2 to next line when loading 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-$SLURM_JOB_ID $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 name="Narval" > | |||
{{File | |||
|name=starccm_job.sh | |||
|lang="bash" | |||
|contents= | |||
#!/bin/bash | |||
#SBATCH --account=def-group # Specify some account | |||
#SBATCH --time=00-01:00 # Time limit: dd-hh:mm | |||
#SBATCH --nodes=2 # Specify 1 or more nodes | |||
#SBATCH --cpus-per-task=64 # Request all cores per node | |||
#SBATCH --mem=0 # Request all memory per node | |||
#SBATCH --ntasks-per-node=1 # Do not change this value | |||
module load StdEnv/2020 # Do not change | |||
# module load starccm/17.02.007-R8 | |||
module load starccm-mixed/17.02.007 | |||
export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE' | |||
export CDLMD_LICENSE_FILE="1999@flex.cd-adapco.com" | |||
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}" | |||
mkdir -p "$STARCCM_TMP" | |||
slurm_hl2hl.py --format STAR-CCM+ > machinefile-$SLURM_JOB_ID | |||
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | |||
# Append -fabric ucx to next line when loading module versions 15.04.010 | |||
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 | |||
}}</tab> | }}</tab> | ||
Line 138: | Line 171: | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --time=0-00:30 # Time limit: d-hh:mm | #SBATCH --time=0-00:30 # Time limit: d-hh:mm | ||
#SBATCH --nodes=2 | #SBATCH --nodes=2 # Specify 1 or more nodes | ||
#SBATCH -- | #SBATCH --cpus-per-task=40 # Request all cores per node | ||
#SBATCH -- | #SBATCH --ntasks-per-node=1 # Do not change this value | ||
#SBATCH --mail-type=BEGIN | #SBATCH --mail-type=BEGIN | ||
#SBATCH --mail-type=END | #SBATCH --mail-type=END | ||
Line 186: | Line 219: | ||
== Compute nodes == | == Compute nodes == | ||
Connect to a compute node with [[VNC#Compute_Nodes|TigerVNC]] and open a terminal window | Connect to a compute node with [[VNC#Compute_Nodes|TigerVNC]] and open a terminal window then do one of the following: | ||
: '''STAR-CCM+ 15.04.010 (or newer versions)''' | : '''STAR-CCM+ 15.04.010 (or newer versions)''' | ||
:: <code>module load StdEnv/2020</code> | :: <code>module load StdEnv/2020</code> | ||
:: <code>module load starccm-mixed/ | :: <code>module load starccm-mixed/17.02.007</code> **OR** <code>starccm/17.02.007-R8</code> | ||
:: starccm+ | :: starccm+ | ||
: '''STAR-CCM+ 14.06.010, 14.04.013, 14.02.012''' | : '''STAR-CCM+ 14.06.010, 14.04.013, 14.02.012''' | ||
Line 202: | Line 235: | ||
== VDI nodes == | == VDI nodes == | ||
Connect to gra-vdi with [[VNC#VDI_Nodes|TigerVNC]] and open a terminal window (''Applications -> Systems Tools -> Mate Terminal'') | Connect to gra-vdi with [[VNC#VDI_Nodes|TigerVNC]] and open a terminal window (''Applications -> Systems Tools -> Mate Terminal'') then do one of the following: | ||
: '''STAR-CCM+ 15.04.010 (or newer versions)''' | : '''STAR-CCM+ 15.04.010 (or newer versions)''' | ||
:: <code>module load CcEnv StdEnv/2020</code> | :: <code>module load CcEnv StdEnv/2020</code> | ||
:: <code>module load starccm-mixed/ | :: <code>module load starccm-mixed/17.02.007</code> **OR** <code>starccm/17.02.007-R8</code> | ||
:: starccm+ -clientldpreload /usr/lib64/VirtualGL/libvglfaker.so | :: starccm+ -clientldpreload /usr/lib64/VirtualGL/libvglfaker.so | ||
: '''STAR-CCM+ 14.06.013 (this version only)''' | : '''STAR-CCM+ 14.06.013 (this version only)''' |