Skip to content

Commit

Permalink
Just litter export LMOD_SH_DBG_ON=1 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Sep 11, 2024
1 parent 422b372 commit 3a0d732
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/environment.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
export LMOD_SH_DBG_ON=1
# Set up the runtime environment by sourcing the environmentXXX.sh scripts in
# the same directory as this script.
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
Expand Down
1 change: 1 addition & 0 deletions scripts/environment_redhat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# ---
# This is working around GitHub Actions running commands in non-login shells
# that would otherwise not have the `module` command available.
export LMOD_SH_DBG_ON=1
source /etc/profile.d/modules.sh
# ---
# --- End GitHub-Actions-specific code ---
Expand Down
1 change: 1 addition & 0 deletions scripts/environment_redhat_fedora_latest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Inspired by https://github.com/open-mpi/ompi/issues/11295 to try and
# avoid hangs when running MPI tests.
export FI_PROVIDER="tcp"
export LMOD_SH_DBG_ON=1
1 change: 1 addition & 0 deletions wrappers/runUnprivileged.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
set -x
export LMOD_SH_DBG_ON=1
if [ -n "${OS_CONTAINER}" ]
then
# We are running under Docker
Expand Down

0 comments on commit 3a0d732

Please sign in to comment.