File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010# SBATCH --time=${walltime}
1111# SBATCH --cpus-per-task=7
1212# SBATCH -C nvme
13- % if gpu:
13+ % if gpu ! = ' no ' :
1414# SBATCH --gpus-per-task=1
1515# SBATCH --gpu-bind=closest
1616% endif
@@ -34,12 +34,12 @@ ${helpers.template_prologue()}
3434ok " :) Loading modules:\n"
3535cd " ${MFC_ROOT_DIR} "
3636% if engine == ' batch' :
37- . ./mfc.sh load -c f -m ${' g' if gpu else ' c' }
37+ . ./mfc.sh load -c f -m ${' g' if gpu ! = ' no ' else ' c' }
3838% endif
3939cd - > /dev/null
4040echo
4141
42- % if gpu:
42+ % if gpu ! = ' no ' :
4343 export MPICH_GPU_SUPPORT_ENABLED=1
4444% else:
4545 export MPICH_GPU_SUPPORT_ENABLED=0
@@ -66,7 +66,7 @@ ulimit -s unlimited
6666 % if engine == ' interactive' :
6767 --unbuffered --nodes ${nodes} --ntasks-per-node ${tasks_per_node} \
6868 --cpus-per-task 7 \
69- % if gpu:
69+ % if gpu ! = ' no ' :
7070 --gpus-per-task 1 --gpu-bind closest \
7171 % endif
7272 ${profiler} " ${target.get_install_binpath(case)} " )
You can’t perform that action at this time.
0 commit comments