Skip to content

Commit 0c3d5b4

Browse files
committed
fix: added missing quotation marks!
1 parent 6281807 commit 0c3d5b4

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

slides/creators/Parallel_Execution.tex

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ \section{Going Parallel}
298298
output: ...
299299
resources:
300300
mpi: "srun"
301-
shell: {resources.mpi} cmd ...
301+
shell: "{resources.mpi} cmd ..."
302302
\end{lstlisting}
303303
will do the job. But
304304
\begin{warning}
@@ -320,3 +320,28 @@ \section{Going Parallel}
320320
You noticed the \altverb{--use-envmodules}? This is an alternate way to ensure the environment modules defined in the Snakefile.
321321
\end{hint}
322322
\end{frame}
323+
324+
\begin{frame}[fragile]
325+
\frametitle{Outlook: Improved GPU-Support}
326+
Right now, the executor only allows GPU-Support with the \altverb{slurm_extra} resource, e.\,g.:
327+
\begin{lstlisting}[style=Plain]
328+
set-resources:
329+
gpu_rule:
330+
slurm_extra: "--gres=gpu:1"
331+
\end{lstlisting}\pause
332+
The next SLURM executor release brings:
333+
\begin{lstlisting}[style=Plain]
334+
set-resources:
335+
gres_request_rule:
336+
gres: "gpu:1"
337+
338+
multi_gpu_rule:
339+
gpus: 2
340+
gpu_model: "tesla"
341+
cpus_per_gpu: 4
342+
343+
no_cpu_gpu_rule:
344+
gpus: 1
345+
cpus_per_gpu: 0 # <= 0 will result in NO reservation
346+
\end{lstlisting}
347+
\end{frame}

0 commit comments

Comments
 (0)