diff --git a/bin/launch_paraview.sh b/bin/launch_paraview.sh index c37ed742b69ff7033cee7264362e938e75c62a22..486ce2de09c9cda6c7e5aae90ecee8b246be3eb7 100755 --- a/bin/launch_paraview.sh +++ b/bin/launch_paraview.sh @@ -19,11 +19,19 @@ NVGPU=$(lspci -nnk | grep -i nvidia | grep -i "in use" | cut -d ' ' -f 5) if [ -S /tmp/.X11-unix/X0 ] && [ ! -z "${NVGPU}" ]; then echo >&2 " -- hardware accelerated" + # ensure we use CUDA + module load mpi-settings/CUDA + module load VirtualGL vglrun +v -d :0 paraview --mpi else echo >&2 " -- software rendering" + + # ensure we do not try to use CUDA + module load UCX-settings/RC + module load mpi-settings/UCX + paraview --mpi fi