raspberrypi-hpl/scripts/run_job.sh

13 lines
276 B
Bash
Executable File

#!/bin/bash
. CONFIG
# stop unnecessary services
sudo systemctl stop ${SERVICES}
# Unmount all the snap loop devices
for mount in $(df -h | grep loop.*snap | awk '{print $6}'); do sudo umount $mount; done
cd ${SCRIPTSDIR}/../configs
${WORKDIR}/hpl-2.3/bin/rpi4-mpich/xhpl