38,757
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 2: | Line 2: | ||
[[Category:Software]] | [[Category:Software]] | ||
[https://mdx.plm.automation.siemens.com/star-ccm-plus STAR-CCM+] is | [https://mdx.plm.automation.siemens.com/star-ccm-plus STAR-CCM+] is a multidisciplinary engineering simulation suite, supporting the modelling of acoustics, fluid dynamics, heat transfer, rheology, multiphase flows, particle flows, solid mechanics, reacting flows, electrochemistry, and electromagnetics. It is developed by Siemens. | ||
= License limitations = | = License limitations = | ||
Line 79: | Line 79: | ||
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK)) | ||
starccm+ -power -np $NCORE -machinefile machinefile | starccm+ -power -np $NCORE -machinefile machinefile -mpi intel -batch /path/to/your/simulation/file | ||
}}</tab> | }}</tab> | ||
Line 93: | Line 93: | ||
#SBATCH --cpus-per-task=40 # or 80 to use HyperThreading | #SBATCH --cpus-per-task=40 # or 80 to use HyperThreading | ||
#SBATCH --mem=0 # Request all available MEM on full nodes | #SBATCH --mem=0 # Request all available MEM on full nodes | ||
cd $SLURM_SUBMIT_DIR | |||
module purge --force | module purge --force | ||
module load CCEnv | module load CCEnv | ||
Line 104: | Line 107: | ||
export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}" | export STARCCM_TMP="${SCRATCH}/.starccm-${EBVERSIONSTARCCM}" | ||
mkdir -p "$STARCCM_TMP" | mkdir -p "$STARCCM_TMP" | ||
# ln -s $STARCCM_TMP $HOME ### only the first time you run the script | |||
slurm_hl2hl.py --format STAR-CCM+ > machinefile | slurm_hl2hl.py --format STAR-CCM+ > machinefile |