Star-CCM+: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Added podkey and licpath args to last line of graham tab to permit running on multiple nodes)
mNo edit summary
Line 44: Line 44:
#!/bin/bash
#!/bin/bash
#SBATCH --time=0-01:00        # Time limit: d-hh:mm
#SBATCH --time=0-01:00        # Time limit: d-hh:mm
#SBATCH --nodes=2
#SBATCH --nodes=2             # Specify 1 or more nodes
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=32   # Request all cores per node
#SBATCH --cpus-per-task=32
#SBATCH --mem=0              # Request all memory per node
#SBATCH --mem=0              # Request all available MEM on full nodes
#SBATCH --ntasks-per-node=1  # Do not change this value


# Pick an appropriate STARCCM module/version and precision;
# Pick an appropriate STARCCM module/version and precision
# module load starccm/12.04.011-R8
# module load starccm/13.06.012-R8
module load starccm-mixed/13.04.010
module load starccm-mixed/13.06.012


export LM_PROJECT='YOUR ADAPCO PROJECT ID GOES HERE'
export LM_PROJECT='YOUR ADAPCO PROJECT ID GOES HERE'
Line 63: Line 63:
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK))
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK))


starccm+ -power -np $NCORE -podkey $LM_PROJECT -licpath $CDLMD_LICENSE_FILE -machinefile machinefile -batch /path/to/your/simulation/file
starccm+ -power -np $NCORE -podkey $LM_PROJECT -licpath $CDLMD_LICENSE_FILE -machinefile $SLURM_SUBMIT_DIR/machinefile -batch /path/to/your/simulation/file


}}</tab>
}}</tab>
cc_staff
1,857

edits

Navigation menu