STAR-CCM+¶
To run STAR-CCM+ you need to know your license key (PODKEY
) and specify this when running your analysis.
Below is an example of how to structure a typical SLURM job script for running STAR-CCM+ on a cluster. This script demonstrates how to submit a job that runs STAR-CCM+ with parallel execution and the necessary license key.
Example SLURM Job Script for STAR-CCM+:
#!/bin/bash
#SBATCH --job-name=starccm_job
#SBATCH --ntasks=16
#SBATCH --time=24:00:00
#SBATCH --partition=your_partition_name
#SBATCH --output=starccm_output_%j.log
# Load the STAR-CCM+ module
module load STAR-CCM+/20.02.007
# Set your input file and license key
INPUT_FILE="my_input_file.inp"
PODKEY=<your license key here>
# Run STAR-CCM+ with the specified options
starccm+ -power -licpath 1999@flex.cd-adapco.com -podkey $PODKEY \
-np $SLURM_NPROCS -mpidriver platform -machinefile $TMPDIR/mpichnodes \
-batch mesh -batch run $INPUT_FILE
Running the Job: Save the job script as e.g. starccm_job.slurm. Submit the job to the SLURM scheduler with the following command:
Note
Make sure the license server and license key (PODKEY) are correctly specified before running the job. You can modify the number of processors, runtime, and other parameters based on the specifics of your cluster resources.