Commit b90da421 authored by Josef Hrabal's avatar Josef Hrabal

Fixed create_modulefile.sh

parent 76c1478e
......@@ -53,6 +53,10 @@ echo "if not isloaded(\"Singularity\") then" >> "$NAME"
echo " load(\"Singularity\")" >> "$NAME"
echo "end" >> "$NAME"
echo "" >> "$NAME"
echo "if not isloaded(\"Singularity-wrappers\") then" >> "$NAME"
echo " load(\"Singularity-wrappers\")" >> "$NAME"
echo "end" >> "$NAME"
echo "" >> "$NAME"
echo "add_property(\"state\", \"singularity\")" >> "$NAME"
echo "" >> "$NAME"
echo "prepend_path(\"PATH\", \"/apps/all/OS/bin\")" >> "$NAME"
......@@ -60,6 +64,7 @@ echo "set_alias(\"image-update\",\". image-update\")" >> "$NAME"
echo "setenv(\"IMAGE_ROOT\", \"/apps/all/OS/$IMAGE/$VERSION2\")" >> "$NAME"
echo "setenv(\"IMAGE_OS\", \"$IMAGE\")" >> "$NAME"
echo "setenv(\"IMAGE_VERSION\", \"$VERSION2\")" >> "$NAME"
echo "setenv(\"IMAGE_PATH_LOCAL\", \"\")" >> "$NAME"
echo "" >> "$NAME"
echo "execute {cmd=\"source /apps/all/OS/bin/image-load\",modeA={\"load\"}}" >> "$NAME"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment