...
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
#!/bin/bash #SBATCH -t 00:10:00 #SBATCH --nodes=2 #SBATCH --partition cpu-genoa:all #SBATCH --ntasks-per-node=192 #SBATCH --job-name=StarCCM #SBATCH --mail-type=ALL module load starccm ## create the host list for starccm+ srun hostname -s | sort | uniq -c | awk '{ print $2":"$1 }' > starhosts.${SLURM_JOB_ID} export CDLMD_LICENSE_FILE=1999@flex.cd-adapco.com export PODKEY=<type your podkey here - we can provide one for you - under the above mentioned terms> export MYCASE=<type your sim file name> ## run starccm+ starccm+ -np ${SLURM_NTASKS} -batch ${MYCASE} \ -power -podkey ${PODKEY} -licpath ${CDLMD_LICENSE_FILE} \ -machinefile starhosts.${SLURM_JOB_ID} echo '#################### StarCCM+ finished ############' rm starhosts.$SLURM_JOB_ID |
...