% begin_ohpc_run
\noindent If planning to install the NVIDIA toolkit, register the
following additional path (\texttt{/opt/nvidia}) to share with the compute nodes:
% ohpc_command if [[ ${enable_nvidia_gpu_driver} -eq 1 ]];then
% ohpc_indent 5
\begin{lstlisting}[language=bash,keywords={},upquote=true,keepspaces]
# (Optional) Setup NFS mount for /opt/nvidia
[sms](*\#*) echo "/opt/nvidia *(ro,no_subtree_check)" >> /etc/exports
[sms](*\#*) exportfs -a

# Create mount point and file system mount
[sms](*\#*) nodeshell compute mkdir /opt/nvidia
[sms](*\#*) nodeshell compute echo \
        "\""${sms_ip}:/opt/nvidia /opt/nvidia nfs nfsvers=3,nodev,nosuid 0 0"\"" \>\> /etc/fstab
# Mount NFS shares
[sms](*\#*) nodeshell compute mount /opt/nvidia

\end{lstlisting}
% ohpc_indent 0
% ohpc_command fi
