Star-CCM+/en: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 37: Line 37:
#!/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 56: Line 56:
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK))
NCORE=$((SLURM_NTASKS * SLURM_CPUS_PER_TASK))


starccm+ -power -np $NCORE -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>
38,757

edits

Navigation menu