Files
rocm-systems/docker/entrypoint-rhel.sh
T

15 lines
230 B
Bash
Raw Normal View History

#!/bin/bash -l
2022-04-04 15:27:38 -05:00
if [ -f /etc/profile.d/modules.sh ]; then
source /etc/profile.d/modules.sh
module load mpi &> /dev/null
2023-03-08 01:54:06 -06:00
fi
2022-04-04 15:27:38 -05:00
if [ -z "${1}" ]; then
: ${SHELL:=/bin/bash}
exec ${SHELL}
2022-04-04 15:27:38 -05:00
else
set -e
eval $@
fi