38,757
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 13: | Line 13: | ||
where you change <tt>IP</tt> and <tt>PORT</tt> with the IP address and the port used by the license server. | where you change <tt>IP</tt> and <tt>PORT</tt> with the IP address and the port used by the license server. | ||
= Running Star-CCM+ on Compute Canada | = Running Star-CCM+ on Compute Canada systems = | ||
Select one of the available modules: | Select one of the available modules: | ||
* <tt>starccm</tt> for the double-precision flavour, | * <tt>starccm</tt> for the double-precision flavour, | ||
Line 41: | Line 41: | ||
#SBATCH --cpus-per-task=32 | #SBATCH --cpus-per-task=32 | ||
#SBATCH --mem=0 # Request all available MEM on full nodes | #SBATCH --mem=0 # Request all available MEM on full nodes | ||
module load starccm/12.04.011-R8 | |||
# Pick an appropriate STARCCM module/version and precision; | |||
# module load starccm/12.04.011-R8 | |||
module load starccm-mixed/13.04.010 | |||
export LM_PROJECT='YOUR ADAPCO PROJECT ID GOES HERE' | export LM_PROJECT='YOUR ADAPCO PROJECT ID GOES HERE' | ||
Line 67: | Line 70: | ||
#SBATCH --cpus-per-task=48 | #SBATCH --cpus-per-task=48 | ||
#SBATCH --mem=0 # Request all available MEM on full nodes | #SBATCH --mem=0 # Request all available MEM on full nodes | ||
module load starccm/12.04.011-R8 | |||
# Pick an appropriate STARCCM module/version and precision; | |||
# module load starccm/12.04.011-R8 | |||
module load starccm-mixed/13.04.010 | |||
export LM_PROJECT='YOUR ADAPCO PROJECT ID GOES HERE' | export LM_PROJECT='YOUR ADAPCO PROJECT ID GOES HERE' | ||
Line 79: | Line 85: | ||
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | ||
starccm+ -power -np $NCORE -podkey $LM_PROJECT -machinefile machinefile -mpi intel -batch | starccm+ -power -np $NCORE -podkey $LM_PROJECT -licpath $CDLMD_LICENSE_FILE -machinefile `pwd`/machinefile -mpi intel -batch `pwd`/your-simulation-file.sim | ||
}}</tab> | }}</tab> |