Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,13 @@ pr_diff=$(ls [0-9]*.diff | head -1)
export PR_DIFF="$PWD/$pr_diff"

# Only run install_scripts.sh if not in dev.eessi.io for security
echo "EESSI-software-layer.sh: TRYING TO LS"
ls -al /cvmfs/software.eessi.io
echo "EESSI-software-layer.sh: TRYING TO TOUCH"
touch /cvmfs/software.eessi.io/bar
echo "EESSI-software-layer.sh CHECK FOR NEW FILE"
ls -al /cvmfs/software.eessi.io

if [[ -z ${EESSI_DEV_PROJECT} ]]; then
${TOPDIR}/install_scripts.sh --prefix ${EESSI_CVMFS_REPO}/versions/${EESSI_VERSION} --eessi-version ${EESSI_VERSION}
fi
Expand Down
2 changes: 1 addition & 1 deletion bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ COMMON_ARGS+=("--mode" "run")
[[ ! -z ${CONTAINER} ]] && COMMON_ARGS+=("--container" "${CONTAINER}")
[[ ! -z ${HTTP_PROXY} ]] && COMMON_ARGS+=("--http-proxy" "${HTTP_PROXY}")
[[ ! -z ${HTTPS_PROXY} ]] && COMMON_ARGS+=("--https-proxy" "${HTTPS_PROXY}")
[[ ! -z ${REPOSITORY_ID} ]] && COMMON_ARGS+=("--repository" "${REPOSITORY_ID}")
[[ ! -z ${REPOSITORY_ID} ]] && COMMON_ARGS+=("--repository" "${REPOSITORY_ID},mount=bind")

# Also expose software.eessi.io when configured for dev.eessi.io
# Need software.eessi.io for the compat layer
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# We'll rebuild all CUDA software, for various reasons
# 1. We now have a proper CUDA sanity check, and if anything was 'wrong' with our current CUDA installs, we'd like
# to know about it
# 2. The PR implementing a CI to check for differences between officially supported CUDA Compute Capabilities shows
# that there are a lot of missing installations https://github.com/EESSI/software-layer/pull/1087 . A rebuild PR like
# this will have the convenient side effect of filling all those holes
easyconfigs:
- CUDA-12.1.1.eb:
options:
accept-eula-for: CUDA
- cuDNN-8.9.2.26-CUDA-12.1.1.eb
- LAMMPS-2Aug2023_update2-foss-2023a-kokkos-CUDA-12.1.1.eb
- ESPResSo-4.2.2-foss-2023a-CUDA-12.1.1.eb
- LightGBM-4.5.0-foss-2023a-CUDA-12.1.1.eb

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# We'll rebuild all CUDA software, for various reasons
# 1. We now have a proper CUDA sanity check, and if anything was 'wrong' with our current CUDA installs, we'd like
# to know about it
# 2. The PR implementing a CI to check for differences between officially supported CUDA Compute Capabilities shows
# that there are a lot of missing installations https://github.com/EESSI/software-layer/pull/1087 . A rebuild PR like
# this will have the convenient side effect of filling all those holes
easyconfigs:
- CUDA-12.4.0.eb:
options:
accept-eula-for: CUDA
- UCX-CUDA-1.15.0-GCCcore-13.2.0-CUDA-12.4.0.eb
- UCC-CUDA-1.2.0-GCCcore-13.2.0-CUDA-12.4.0.eb
- OSU-Micro-Benchmarks-7.5-gompi-2023b-CUDA-12.4.0.eb
- GROMACS-2024.4-foss-2023b-CUDA-12.4.0.eb
17 changes: 17 additions & 0 deletions install_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ sed_update_if_changed() {

local sed_command="$1"
local file="$2"

echo "install-scripts.sh:sed_update_if_changed: TRYING TO LS"
ls -al /cvmfs/software.eessi.io/versions/2023.06/init
echo "install-scripts.sh:sed_update_if_changed: TRYING TO TOUCH"
touch /cvmfs/software.eessi.io/versions/2023.06/init/foo_install_scripts_sed_update
mktemp foo.XXXXXXX
echo "install-scripts.sh:sed_update_if_changed: CHECK FOR NEW FILE"
ls -al /cvmfs/software.eessi.io/versions/2023.06/init


local tmp_file="$(mktemp "${file}.XXXXXX")"

sed "$sed_command" "$file" > "$tmp_file" || {
Expand Down Expand Up @@ -231,6 +241,13 @@ copy_files_by_list ${TOPDIR} ${INSTALL_PREFIX}/init/easybuild "${hook_files[@]}"
# note: the commands below are always run, regardless of whether the scripts were changed,
# but that should be fine (no changes are made if version placeholder is not present anymore)

echo "install-scripts.sh: TRYING TO LS"
ls -al /cvmfs/software.eessi.io
echo "install-scripts.sh: TRYING TO TOUCH"
touch /cvmfs/software.eessi.io/foo_install_scripts
echo "install-scripts.sh: CHECK FOR NEW FILE"
ls -al /cvmfs/software.eessi.io

# make sure that scripts in init/ and scripts/ use correct EESSI version
sed_update_if_changed "s/__EESSI_VERSION_DEFAULT__/${EESSI_VERSION}/g" ${INSTALL_PREFIX}/init/eessi_defaults

Expand Down
6 changes: 6 additions & 0 deletions install_software_layer.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
echo "TRYING TO LS FIRST"
ls -al /cvmfs/software.eessi.io
echo "TRYING TO WRITE AT THIS LEVEL"
touch /cvmfs/software.eessi.io/foo
echo "SEE IF WE HAVE A FOO FILE"
ls -al /cvmfs/software.eessi.io
base_dir=$(dirname $(realpath $0))
source ${base_dir}/init/eessi_defaults
$base_dir/run_in_compat_layer_env.sh $base_dir/EESSI-install-software.sh "$@"