From d3d79df4d02ab15d89d31804c7cf91a6e8caf073 Mon Sep 17 00:00:00 2001 From: Matthew Defenderfer <mdefende@uab.edu> Date: Thu, 6 Mar 2025 14:43:27 -0600 Subject: [PATCH] add base singularity options --- template/script.sh.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/script.sh.erb b/template/script.sh.erb index 0fa678c..95bd0ed 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -39,6 +39,7 @@ module list # Launch PyCharm set -x -singularity exec <%= context.extra_singularity_args %> \ +singularity exec --env "DISPLAY:$DISPLAY" -B "/tmp/.X11-unix:/tmp/.X11-unix" \ + <%= context.extra_singularity_args %> \ <%= context.container_path %> \ pycharm -- GitLab