STARCCM+ modulefile for slurm

The load the path to the version of StarCCM+ installed on HPC, load its modulefile like so

module load starccm/last

You can use it with usual starccm+ queue submission script from here, which start StarCCM+ server on one of the target nodes and you required to launch StarCCM+ suite GUI to control it (start/stop iterations etc).

There is another slightly modified slurm submission script where you can start solution in batch mode, i.e. you do not have to start any GUI to launch iterations. Just submit the job and it will start iterations. It is also set for POD (power-on-demand) style licensing: script is here and below (save below script as e.g. starccm_pod.slurm, change SIMFILE and PODKEY in it and submit with sbatch from terminal).

#!/bin/bash

# This is STARCCM+ job submission script
# Submit to the slurm queue as e.g. on 8 CPUs : "sbatch -n8 starccm_pod.slurm"


#SBATCH --time=24:00:00
#SBATCH --job-name="starccm"

#type your POD key for starccm+ license
PODKEY="..."

module load starccm/last
# change to your sim file name
SIMFILE=casename.sim

HOSTFILE=`srun /bin/hostname`
echo $HOSTFILE > hostlist.txt
FILE=${SLURM_SUBMIT_DIR}/${SIMFILE}

ARGS="-server -rsh ssh"
source ~/.bash_profile
NPROCS=$SLURM_NTASKS

starccm+ -batch -power -podkey $PODKEY -np ${NPROCS} -machinefile ${SLURM_SUBMIT_DIR}/hostlist.txt -load ${FILE}"


Alex Pedcenko

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

css.php