We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08547bb commit 347bef1Copy full SHA for 347bef1
scripts/mpi_support/install_openmpi_host_injection.sh
@@ -108,6 +108,7 @@ libcuda_exists=0
108
inject_mpi() {
109
# Temporary directory for injection
110
local tmpdir=$1
111
+ local timestamp=$(date +%Y%m%d%H%M%S)
112
113
local eessi_ldd="${EESSI_EPREFIX}/usr/bin/ldd"
114
local system_ldd="/usr/bin/ldd"
@@ -122,6 +123,8 @@ inject_mpi() {
122
123
echo "MPI was already injected"
124
if ${FORCE}; then
125
echo "Forcing new MPI injection"
126
+ mv ${host_injection_mpi_path} ${host_injection_mpi_path}-${timestamp}
127
+ echo "Previous injection saved on" ${host_injection_mpi_path}-${timestamp}
128
else
129
return 0
130
fi
0 commit comments