File tree Expand file tree Collapse file tree 3 files changed +62
-2
lines changed Expand file tree Collapse file tree 3 files changed +62
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ if [ -v $u_c ]; then
23
23
log " $C " " ACCESS$W : Bridges2 (b) | Expanse (e) | Delta (d)"
24
24
log " $Y " " Gatech$W : Phoenix (p)"
25
25
log " $R " " Caltech$W : Richardson (r)"
26
- log " $B " " DoD$W : Carpenter (c)"
27
- log_n " ($G " " a$W /$G " " f$W /$G " " s$W /$G " " w$W /$C " " b$W /$C " " e$CR /$C " " d$CR /$Y " " p$CR /$R " " r$CR /$B " " c$CR ): "
26
+ log " $B " " DoD$W : Carpenter (c) | Nautilus (n) "
27
+ log_n " ($G " " a$W /$G " " f$W /$G " " s$W /$G " " w$W /$C " " b$W /$C " " e$CR /$C " " d$CR /$Y " " p$CR /$R " " r$CR /$B " " c$CR / $B " " n $CR ): "
28
28
read u_c
29
29
log
30
30
fi
Original file line number Diff line number Diff line change @@ -64,3 +64,9 @@ c DoD Carpenter
64
64
c-all python
65
65
c-cpu gcc/12.2.0 cmake/3.28.1-gcc-12.2.0 openmpi/4.1.6
66
66
c-gpu nvhpc/23.7 cuda/12.2
67
+
68
+ n DoD Nautilus
69
+ n-all slurm
70
+ n-cpu penguin/openmpi/4.1.5/gcc-8.5.0
71
+ n-gpu penguin/openmpi/4.1.5/nvhpc-22.3 nvidia/nvhpc/22.3 cuda/cuda-11.6
72
+ n-gpu CC=nvc CXX=nvc++ FC=nvfortran
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ < %namespace name=" helpers" file=" helpers.mako" />
4
+
5
+ % if engine == ' batch' :
6
+ # SBATCH --nodes=${nodes}
7
+ # SBATCH --ntasks-per-node=${tasks_per_node}
8
+ # SBATCH --cpus-per-task=1
9
+ # SBATCH --job-name="${name}"
10
+ # SBATCH --time=${walltime}
11
+ % if partition:
12
+ # SBATCH --qos=${partition}
13
+ % endif
14
+ % if account:
15
+ # SBATCH --account="${account}"
16
+ % endif
17
+ % if gpu:
18
+ # SBATCH --gpu-bind=verbose,closest
19
+ # SBATCH --gres=gpu:v100-16:${tasks_per_node}
20
+ % endif
21
+ # SBATCH --output="${name}.out"
22
+ # SBATCH --error="${name}.err"
23
+ # SBATCH --export=ALL
24
+ % if email:
25
+ # SBATCH --mail-user=${email}
26
+ # SBATCH --mail-type="BEGIN, END, FAIL"
27
+ % endif
28
+ % endif
29
+
30
+ ${helpers.template_prologue ()}
31
+
32
+ ok " :) Loading modules:\n"
33
+ cd " ${MFC_ROOTDIR} "
34
+ . ./mfc.sh load -c n -m ${' g' if gpu else ' c' }
35
+ cd - > /dev/null
36
+ echo
37
+
38
+ % for target in targets:
39
+ ${helpers.run_prologue(target)}
40
+
41
+ % if not mpi:
42
+ (set -x; ${profiler} " ${target.get_install_binpath(case)} " )
43
+ % else:
44
+ (set -x; ${profiler} \
45
+ mpirun -np ${nodes* tasks_per_node} \
46
+ " ${target.get_install_binpath(case)} " )
47
+ % endif
48
+
49
+ ${helpers.run_epilogue(target)}
50
+
51
+ echo
52
+ % endfor
53
+
54
+ ${helpers.template_epilogue ()}
You can’t perform that action at this time.
0 commit comments