cc_staff
1,892
edits
mNo edit summary |
mNo edit summary |
||
Line 58: | Line 58: | ||
module load starccm-mixed/18.06.006 | module load starccm-mixed/18.06.006 | ||
<!--T: | <!--T:265--> | ||
SIM_FILE='mysample.sim' # Specify your input sim filename | SIM_FILE='mysample.sim' # Specify your input sim filename | ||
#JAVA_FILE='mymacros.java' # Uncomment to specify an input java filename | #JAVA_FILE='mymacros.java' # Uncomment to specify an input java filename | ||
<!--T: | <!--T:266--> | ||
# Comment the next line when using an institutional license server | # Comment the next line when using an institutional license server | ||
LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | ||
<!--T:267--> | |||
# ------- no changes required below this line -------- | # ------- no changes required below this line -------- | ||
<!--T: | <!--T:268--> | ||
slurm_hl2hl.py --format STAR-CCM+ > $SLURM_TMPDIR/machinefile | slurm_hl2hl.py --format STAR-CCM+ > $SLURM_TMPDIR/machinefile | ||
NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) | NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) | ||
<!--T:270--> | <!--T:270--> | ||
if [ -n "$LM_PROJECT" ]; then | if [ -n "$LM_PROJECT" ]; then | ||
# Siemens PoD license server | # Siemens PoD license server | ||
Line 94: | Line 94: | ||
#SBATCH --time=00-01:00 # Time limit: dd-hh:mm | #SBATCH --time=00-01:00 # Time limit: dd-hh:mm | ||
#SBATCH --nodes=1 # Specify 1 or more nodes | #SBATCH --nodes=1 # Specify 1 or more nodes | ||
#SBATCH --cpus-per-task=48 # | #SBATCH --cpus-per-task=48 # Request all cores per node (32 or 48) | ||
#SBATCH --mem=0 # Request all memory per node | #SBATCH --mem=0 # Request all memory per node | ||
#SBATCH --ntasks-per-node=1 # Do not change this value | #SBATCH --ntasks-per-node=1 # Do not change this value | ||
Line 114: | Line 114: | ||
LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | ||
<!--T:276--> | |||
# ------- no changes required below this line -------- | # ------- no changes required below this line -------- | ||
Line 121: | Line 122: | ||
<!--T:278--> | <!--T:278--> | ||
if [ -n "$LM_PROJECT" ]; then | if [ -n "$LM_PROJECT" ]; then | ||
# Siemens PoD license server | # Siemens PoD license server | ||
Line 142: | Line 142: | ||
#SBATCH --time=00-01:00 # Time limit: dd-hh:mm | #SBATCH --time=00-01:00 # Time limit: dd-hh:mm | ||
#SBATCH --nodes=1 # Specify 1 or more nodes | #SBATCH --nodes=1 # Specify 1 or more nodes | ||
#SBATCH --cpus-per-task=32 # | #SBATCH --cpus-per-task=32 # Request all cores per node (32 or 44) | ||
#SBATCH --mem=0 # Request all memory per node | #SBATCH --mem=0 # Request all memory per node | ||
#SBATCH --ntasks-per-node=1 # Do not change this value | #SBATCH --ntasks-per-node=1 # Do not change this value | ||
Line 162: | Line 162: | ||
LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | ||
<!--T:284--> | |||
# ------- no changes required below this line -------- | # ------- no changes required below this line -------- | ||
Line 169: | Line 170: | ||
<!--T:287--> | <!--T:287--> | ||
if [ -n "$LM_PROJECT" ]; then | if [ -n "$LM_PROJECT" ]; then | ||
# Siemens PoD license server | # Siemens PoD license server | ||
Line 210: | Line 210: | ||
LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | LM_PROJECT='my22digitpodkey' # Specify your Siemens Power on Demand (PoD) Key | ||
<!--T:293--> | |||
# ------- no changes required below this line -------- | # ------- no changes required below this line -------- | ||
<!--T: | <!--T:294--> | ||
slurm_hl2hl.py --format STAR-CCM+ > $SLURM_TMPDIR/machinefile | slurm_hl2hl.py --format STAR-CCM+ > $SLURM_TMPDIR/machinefile | ||
NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) | NCORE=$((SLURM_NNODES * SLURM_CPUS_PER_TASK * SLURM_NTASKS_PER_NODE)) | ||
<!--T:295--> | <!--T:295--> | ||
if [ -n "$LM_PROJECT" ]; then | if [ -n "$LM_PROJECT" ]; then | ||
# Siemens PoD license server | # Siemens PoD license server | ||
Line 241: | Line 241: | ||
#SBATCH --mem=0 # Request all memory per node | #SBATCH --mem=0 # Request all memory per node | ||
#SBATCH --ntasks-per-node=1 # Do not change this value | #SBATCH --ntasks-per-node=1 # Do not change this value | ||
module load CCEnv | module load CCEnv | ||
Line 273: | Line 271: | ||
<!--T:318--> | <!--T:318--> | ||
export CDLMD_LICENSE_FILE="$FLEXPORT@127.0.0.1" | export CDLMD_LICENSE_FILE="$FLEXPORT@127.0.0.1" | ||
ssh nia-gw -L $FLEXPORT:$LICSERVER:$FLEXPORT -L $VENDPORT:$LICSERVER:$VENDPORT -N -f | ssh nia-gw -L $FLEXPORT:$LICSERVER:$FLEXPORT -L $VENDPORT:$LICSERVER:$VENDPORT -N -f | ||