diff --git a/template/script.sh.erb b/template/script.sh.erb index e20694f67562215c05a40eaf7e157e783f0a9288..731d37d9c4a996a2160b658d314bb5e17cd6dbfd 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -1,8 +1,7 @@ #!/usr/bin/env bash - # Clean the environment -module purge +module reset # Set working directory to home directory cd "${HOME}" @@ -29,6 +28,6 @@ cd "${HOME}" # # Load the required environment -module load ANSYS +module load <%= context.version %> # Launch ANSYS workbench runwb2