From 57bf96d803c2e5ae7094d63f85e77d9ccbce26e0 Mon Sep 17 00:00:00 2001 From: diedpigs <louistw@uab.edu> Date: Thu, 9 Jan 2020 23:19:02 -0600 Subject: [PATCH] Update script to use chosen context version module (#1) * Update script to use module reset * Update module name in script * Fix typo --- template/script.sh.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/template/script.sh.erb b/template/script.sh.erb index e20694f..731d37d 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 -- GitLab