Skip to content
Snippets Groups Projects
Commit 28dd4ecc authored by easybuild's avatar easybuild
Browse files

Mon, 11 Feb 2019 10:03:15 +0100

parent bce28a8f
No related branches found
No related tags found
No related merge requests found
Pipeline #5880 failed
......@@ -11,10 +11,16 @@ if [ ! -z "$STATE" ]; then
exit 0
fi
if hostname -f | grep -q "bullx"; then
CLUSTER=$(echo $CLUSTERNAME)
if [ -z "$CLUSTER" ]; then
echo "CLUSTERNAME not defined"
exit 1
fi
if [ "$CLUSTER" == "ANSELM"] ; then
ml --show-hidden -t av 2>&1 | awk '{print $1 ",1"}' | grep -v -e '/,\|:' | sort -u > anselm.csv
./modules.py > anselm.md
else
elif [ "$CLUSTER" == "SALOMON" ]; then
ml --show-hidden -t av 2>&1 | awk '{print $1 ",2"}' | grep -v -e '/,\|:' | sort -u > salomon.csv
./modules.py > salomon.md
......
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