cc_staff
1,857
edits
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 | #module load StdEnv/2020 # Versions < 18.06.006 | ||
module load StdEnv/2023 | module load StdEnv/2023 | ||
#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 | #module load StdEnv/2020 # Versions < 18.06.006 | ||
module load StdEnv/2023 | |||
#module load starccm/18.06.006-R8 | |||
# module load starccm/18. | module load starccm-mixed/18.06.006 | ||
module load starccm-mixed/18. | |||
<!--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 | #module load StdEnv/2020 # Versions < 18.06.006 | ||
module load StdEnv/2023 | |||
#module load starccm/18.06.006-R8 | |||
# module load starccm/18. | module load starccm-mixed/18.06.006 | ||
module load starccm-mixed/18. | |||
<!--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 | #module load StdEnv/2020 # Versions < 18.06.006 | ||
module load StdEnv/2023 | |||
#module load starccm/18.06.006-R8 | |||
# module load starccm/18. | module load starccm-mixed/18.06.006 | ||
module load starccm-mixed/18. | |||
<!--T:291--> | <!--T:291--> | ||
Line 206: | Line 209: | ||
<!--T:297--> | <!--T:297--> | ||
#SBATCH --time= | #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 | ||
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 | |||
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" | ||
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 | ||