Commit 460b4129 authored by Ondrej Vysocky's avatar Ondrej Vysocky

ENH removed hdeem module load #40

parent 9b1da58d
......@@ -87,7 +87,7 @@ if $RAPL
then
pdsh -w $NODE_LIST "source /etc/profile.d/10_modules.sh 2>/dev/null; module load x86_adapt 2> /dev/null; module load intel 2> /dev/null; export LD_LIBRARY_PATH+=:/usr/local/lib; $HOME/bin/energyMeasureStart -c $Cfreq -u $Ufreq"
else #HDEEM
pdsh -w $NODE_LIST "source /etc/profile.d/10_modules.sh 2>/dev/null; module load hdeem 2> /dev/null; clearHdeem; startHdeem"
pdsh -w $NODE_LIST "source /etc/profile.d/10_modules.sh 2>/dev/null; stopHdeem; sleep 2; clearHdeem; startHdeem"
fi
......
......@@ -92,7 +92,7 @@ then
OUTPUT=$(grep -oP "(?<=Energy summary \[J\] = )\d+" <<< $OUTPUT )
echo "Runtime [s]:" $TIME
else #HDEEM
OUTPUT=$(pdsh -w $NODE_LIST -N "source /etc/profile.d/10_modules.sh 2>/dev/null; module load hdeem 2> /dev/null; file=$HOME/hostname; stopHdeem; checkHdeem | grep -o -E 'BLADE\s+[0-9]+\.[0-9]+\s+[0-9]+\.[0-9]+\s++[0-9]+\.[0-9]+\s+[0-9]+\.[0-9]+' | cut -d ' ' -f 5")
OUTPUT=$(pdsh -w $NODE_LIST -N "source /etc/profile.d/10_modules.sh 2>/dev/null; file=$HOME/hostname; stopHdeem; checkHdeem | grep -o -E 'BLADE\s+[0-9]+\.[0-9]+\s+[0-9]+\.[0-9]+\s++[0-9]+\.[0-9]+\s+[0-9]+\.[0-9]+' | cut -d ' ' -f 5")
fi
#echo $OUTPUT
......
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