Files
rocm-systems/projects/rocprofiler-systems/docker/entrypoint-rhel.sh
T
systems-assistant[bot] 6755fa3a36 Add 'projects/rocprofiler-systems/' from commit '92e1d84c72c9321d79a1866e0090fae0215e6557'
git-subtree-dir: projects/rocprofiler-systems
git-subtree-mainline: ee9e74df21
git-subtree-split: 92e1d84c72
2025-07-17 18:13:44 +00:00

15 righe
230 B
Bash
Executable File

#!/bin/bash -l
if [ -f /etc/profile.d/modules.sh ]; then
source /etc/profile.d/modules.sh
module load mpi &> /dev/null
fi
if [ -z "${1}" ]; then
: ${SHELL:=/bin/bash}
exec ${SHELL}
else
set -e
eval $@
fi