Skip to content

Commit

Permalink
Print memory status in PROLOG.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Oct 2, 2024
1 parent b5166be commit 22c7ec6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/cp2k/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ echo
PROLOG=${PROLOG:-${CHECK}}
if [ "${PROLOG}" ] && [ "0" != "${PROLOG}" ] && [ "${HOSTS}" ]; then
echo "*** PROLOG ***"
if command -v numactl >/dev/null; then
mpirun -host "${HOSTS}" -np ${NUMNODES} numactl -H 2>/dev/null
echo
fi
if command -v clinfo >/dev/null; then
mpirun -host "${HOSTS}" -np ${NUMNODES} clinfo -l 2>/dev/null
fi
Expand Down

0 comments on commit 22c7ec6

Please sign in to comment.