Skip to content

Commit

Permalink
[install] in tput/allTees.sh, improve checklogs to check for FPEs and…
Browse files Browse the repository at this point in the history
… '{ }' (identify madgraph5#1011 FPE in vxxxxx for HIP on LUMI)
  • Loading branch information
valassi committed Oct 3, 2024
1 parent 3f4fccf commit 5e1eb38
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions epochX/cudacpp/tput/allTees.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,12 @@ function checklogs()
cd $scrdir/..
# Print out any errors in the logs
if ! egrep -i '(error|fault|failed)' ./tput/logs_* -r; then echo "No errors found in logs"; fi
# Print out the MEK channelid debugging output
# Print out any FPEs or '{ }' in the logs
echo
\grep MEK ${scrdir}/logs_*/* | sed "s|${scrdir}/logs_||" | sed 's|_mad.*DEBUG:||' | sort -u
if ! egrep '(^Floating Point Exception|{ })' tput/logs* -r; then echo "No FPEs or '{ }' found in logs"; fi
# Print out the MEK channelid debugging output (except for '{ }')
echo
\grep MEK ${scrdir}/logs_*/* | sed "s|${scrdir}/logs_||" | grep -v '{ }' | sed 's|_mad.*DEBUG:||' | sort -u
}
if [ "${checkonly}" != "0" ]; then checklogs; exit 0; fi

Expand Down

0 comments on commit 5e1eb38

Please sign in to comment.