-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathACRE_BlueBEAR_run.sh
39 lines (28 loc) · 1.2 KB
/
ACRE_BlueBEAR_run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
# Icelake nodes = 72 cores, 512GB RAM
# cascadelake nodes = 40 cores, 192GB RAM
# broadwell nodes = 20 cores, 121GB RAM
# This is the number of cores
#SBATCH --ntasks=1
#This is the wait time (length you want to run for in hh:mm:ss) - The maximum on the website days 10 days (240 hrs)
#SBATCH --time=00:05:00
#This sends out an email about events regarding job
#SNATCH --mail-type=ALL
# This makesthe script fail on the first error
set -e
# To load ansys 2023R1 - module load bear-apps/2022a and module load ANSYS/2023R1
# To load ansys 2021R1 - module load ANSYS/2021R1
# To load MATLAB 2022a - module load MATLAB/2022a
# information on parallel fluent jobs
# module load slurm-helpers
# NODEFILE=$(make-nodelist)
# -cnf=${NODEFILE}
module purge; module load bluebear
module load ANSYS/2023R1
module load MATLAB/2022a
export ANSYSLMD_LICENSE_FILE=1055@<license>
matlab -nodisplay -batch Parametric_Study > MATLAB_Output.txt
# to submit on blueBEAR you use sbatch <script name>
# to view status of job you use squeue -j <job number> or you can get more information using scontrol show job <job number>
# to cancel a job you use scancel <job number>
# Each user is limited to 864 cores and 6TB of memory