Skip to content
Snippets Groups Projects
Commit c9895ea3 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

add before script and try out the module version instead of singularity

parent 4f0a7a05
No related branches found
No related tags found
No related merge requests found
# Export the module function if it exists
[[ $(type -t module) == "function" ]] && export -f module
...@@ -24,7 +24,7 @@ cd "${HOME}" ...@@ -24,7 +24,7 @@ cd "${HOME}"
# Start Pycharm # Start Pycharm
# #
export SINGULARITY_BINDPATH='/data,/scratch,/local,/share' # export SINGULARITY_BINDPATH='/data,/scratch,/local,/share'
# Load Anaconda3 # Load Anaconda3
module load Anaconda3 module load Anaconda3
...@@ -34,7 +34,9 @@ module list ...@@ -34,7 +34,9 @@ module list
# Launch PyCharm # Launch PyCharm
set -x set -x
singularity exec --env \"DISPLAY=$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \ # singularity exec --env \"DISPLAY=$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \
<%= context.extra_singularity_args %> \ # <%= context.extra_singularity_args %> \
<%= context.container_path %> \ # <%= context.container_path %> \
pycharm # pycharm
\ No newline at end of file
module --ignore-cache load PyCharm/2022.3.2
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment