Star-CCM+: Difference between revisions

231 bytes added ,  5 months ago
m
no edit summary
mNo edit summary
mNo edit summary
Line 42: Line 42:
|contents=
|contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-group  # Specify some account
#SBATCH --account=def-group  # Specify some account
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
Line 50: Line 51:


<!--T:264-->
<!--T:264-->
# module load StdEnv/2020     # Versions < 18.06.006
#module load StdEnv/2020     # Versions < 18.06.006
module load StdEnv/2023
module load StdEnv/2023


<!--T:265-->
#module load starccm/18.06.006-R8
# module load starccm/18.06.006-R8
module load starccm-mixed/18.06.006
module load starccm-mixed/18.06.006


Line 83: Line 83:
|contents=
|contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-group  # Specify some account
#SBATCH --account=def-group  # Specify some account
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
Line 91: Line 92:


<!--T:272-->
<!--T:272-->
module load StdEnv/2020       # Do not change
#module load StdEnv/2020     # Versions < 18.06.006
module load StdEnv/2023


<!--T:300-->
#module load starccm/18.06.006-R8
# module load starccm/18.04.008-R8
module load starccm-mixed/18.06.006
module load starccm-mixed/18.04.008


<!--T:274-->
<!--T:274-->
Line 123: Line 124:
|contents=
|contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-group  # Specify some account
#SBATCH --account=def-group  # Specify some account
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
Line 131: Line 133:


<!--T:280-->
<!--T:280-->
module load StdEnv/2020       # Do not change
#module load StdEnv/2020     # Versions < 18.06.006
module load StdEnv/2023


<!--T:304-->
#module load starccm/18.06.006-R8
# module load starccm/18.04.008-R8
module load starccm-mixed/18.06.006
module load starccm-mixed/18.04.008


<!--T:282-->
<!--T:282-->
Line 163: Line 165:
|contents=
|contents=
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-group  # Specify some account
#SBATCH --account=def-group  # Specify some account
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
#SBATCH --time=00-01:00      # Time limit: dd-hh:mm
Line 171: Line 174:


<!--T:289-->
<!--T:289-->
module load StdEnv/2020       # Do not change
#module load StdEnv/2020     # Versions < 18.06.006
module load StdEnv/2023


<!--T:290-->
#module load starccm/18.06.006-R8
# module load starccm/18.04.008-R8
module load starccm-mixed/18.06.006
module load starccm-mixed/18.04.008


<!--T:291-->
<!--T:291-->
Line 206: Line 209:


<!--T:297-->
<!--T:297-->
#SBATCH --time=0-00:30        # Time limit: d-hh:mm
#SBATCH --account=def-group  # Specify some account
#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=40    # Request all cores per node
#SBATCH --cpus-per-task=40    # Request all cores 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
#SBATCH --mail-type=BEGIN
#SBATCH --mail-type=BEGIN
#SBATCH --mail-type=END
#SBATCH --mail-type=END
   
   
cd $SLURM_SUBMIT_DIR
module load CCEnv
 
<!--T:290-->
#module load StdEnv/2020      # Versions < 18.06.006
module load StdEnv/2023
 
#module load starccm/18.06.006-R8
module load starccm-mixed/18.06.006


<!--T:298-->
ssh nia-gw -L 1999:flex.cd-adapco.com:1999 -L 2099:flex.cd-adapco.com:2099 -N -f
export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE'
export LM_PROJECT='YOUR CD-ADAPCO PROJECT ID GOES HERE'
export CDLMD_LICENSE_FILE="1999@127.0.0.1"
export CDLMD_LICENSE_FILE="1999@127.0.0.1"
module load CCEnv
module load StdEnv/2018.3
module load starccm/13.06.012-R8


<!--T:299-->
ssh nia-gw -L 1999:flex.cd-adapco.com:1999 -L 2099:flex.cd-adapco.com:2099 -N -f
 
cd $SLURM_SUBMIT_DIR
slurm_hl2hl.py --format STAR-CCM+ > $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID
slurm_hl2hl.py --format STAR-CCM+ > $SLURM_SUBMIT_DIR/machinefile_$SLURM_JOB_ID
   
   
cc_staff
1,857

edits