Skip to content

Commit 7a0f96e

Browse files
authored
Merge pull request #989 from trz42/2023.06-grace-2023b-eb492-apps
{2023.06}[2023b,grace] apps originally built with EB 4.9.2 + changes to bot/build.sh and eessi_container.sh
2 parents e5872d2 + 5165d34 commit 7a0f96e

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

bot/build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,15 @@ if [[ "${REPOSITORY_NAME}" == "dev.eessi.io" ]]; then
184184
COMMON_ARGS+=("--repository" "software.eessi.io,access=ro")
185185
fi
186186

187+
# add $software_layer_dir and /dev as extra bind paths
188+
# - $software_layer_dir is needed because it is used as prefix for running scripts
189+
# - /dev is needed to access /dev/fuse
190+
COMMON_ARGS+=("--extra-bind-paths" "${software_layer_dir},/dev")
191+
192+
# pass through '--contain' to avoid leaking in scripts into the container session
193+
# note, --pass-through can be used multiple times if needed
194+
COMMON_ARGS+=("--pass-through" "--contain")
195+
187196
# make sure to use the same parent dir for storing tarballs of tmp
188197
PREVIOUS_TMP_DIR=${PWD}/previous_tmp
189198

easystacks/software.eessi.io/2023.06/grace/eessi-2023.06-eb-4.9.4-2023b.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,47 @@ easyconfigs:
105105
# options:
106106
# from-pr: 20792
107107
- Valgrind-3.23.0-gompi-2023b.eb
108+
# from here on easyconfigs were originally built with EB 4.9.2
109+
- IPython-8.17.2-GCCcore-13.2.0.eb
110+
- dlb-3.4-gompi-2023b.eb
111+
# originally built with EB 4.9.2, PR 20889 was included since EB 4.9.3
112+
# - pystencils-1.3.4-gfbf-2023b.eb:
113+
# options:
114+
# # see https://github.com/easybuilders/easybuild-easyconfigs/pull/20889
115+
# from-commit: c66c4788a17f7e4f55aa23f9fdb782aad97c9ce7
116+
- pystencils-1.3.4-gfbf-2023b.eb
117+
# originally built with EB 4.9.2, PR 21017 was included since EB 4.9.3, PR 3393
118+
# was included since EB 4.9.3
119+
# - Extrae-4.2.0-gompi-2023b.eb:
120+
# options:
121+
# # see https://github.com/easybuilders/easybuild-easyconfigs/pull/21017
122+
# from-commit: 120f4d56efebd2bc61382db4c84a664a339c66cf
123+
# # see https://github.com/easybuilders/easybuild-easyblocks/pull/3393
124+
# include-easyblocks-from-commit: c4951c78d62fa5cf8e9f6fe0ead212d2a4d7cb9c
125+
- Extrae-4.2.0-gompi-2023b.eb
126+
- Boost.MPI-1.83.0-gompi-2023b.eb:
127+
options:
128+
# source URLs for Boost.* have changed, corresponding PR is
129+
# https://github.com/easybuilders/easybuild-easyconfigs/pull/22240
130+
# Boost.MPI is a dependency of pyMBE
131+
from-commit: e610fe1ac5393d1de668a466fdaaea74c580ee03
132+
# originally built with EB 4.9.2, PR 21034 was included since EB 4.9.3
133+
# - pyMBE-0.8.0-foss-2023b.eb:
134+
# options:
135+
# # see https://github.com/easybuilders/easybuild-easyconfigs/pull/21034
136+
# from-commit: 76e7fc6657bab64bfbec826540a3a8f0040258f2
137+
- pyMBE-0.8.0-foss-2023b.eb
138+
# originally built with EB 4.9.2, PR 21200 was included since EB 4.9.3
139+
# - STAR-2.7.11b-GCC-13.2.0.eb:
140+
# options:
141+
# # see https://github.com/easybuilders/easybuild-easyconfigs/pull/21200
142+
# from-commit: 765ba900daf5953e306c4dad896febe52fdd6c00
143+
- STAR-2.7.11b-GCC-13.2.0.eb
144+
- HPL-2.3-foss-2023b.eb
145+
# originally built with EB 4.9.2, PR 21366 was included since EB 4.9.3
146+
# - R-bundle-CRAN-2024.06-foss-2023b.eb:
147+
# options:
148+
# # see https://github.com/easybuilders/easybuild-easyconfigs/pull/21366
149+
# # we use a commit from the Brunsli PR here to get rid of the Highway dependency
150+
# from-commit: 1736a123b1685836452587a5c51793257570bb2d
151+
- R-bundle-CRAN-2024.06-foss-2023b.eb

eessi_container.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ display_help() {
8989
echo " -n | --nvidia MODE - configure the container to work with NVIDIA GPUs,"
9090
echo " MODE==install for a CUDA installation, MODE==run to"
9191
echo " attach a GPU, MODE==all for both [default: false]"
92+
echo " -p | --pass-through ARG - argument to pass through to the launch of the"
93+
echo " container; can be given multiple times [default: not set]"
9294
echo " -r | --repository CFG - configuration file or identifier defining the"
9395
echo " repository to use; can be given multiple times;"
9496
echo " CFG may include a suffix ',access={ro,rw}' to"
@@ -126,6 +128,7 @@ VERBOSE=0
126128
STORAGE=
127129
LIST_REPOS=0
128130
MODE="shell"
131+
PASS_THROUGH=()
129132
SETUP_NVIDIA=0
130133
REPOSITORIES=()
131134
RESUME=
@@ -182,6 +185,10 @@ while [[ $# -gt 0 ]]; do
182185
NVIDIA_MODE="$2"
183186
shift 2
184187
;;
188+
-p|--pass-through)
189+
PASS_THROUGH+=("$2")
190+
shift 2
191+
;;
185192
-r|--repository)
186193
REPOSITORIES+=("$2")
187194
shift 2
@@ -842,6 +849,11 @@ if [ ! -z ${EESSI_SOFTWARE_SUBDIR_OVERRIDE} ]; then
842849
export APPTAINERENV_EESSI_SOFTWARE_SUBDIR_OVERRIDE=${EESSI_SOFTWARE_SUBDIR_OVERRIDE}
843850
fi
844851

852+
# add pass through arguments
853+
for arg in "${PASS_THROUGH[@]}"; do
854+
ADDITIONAL_CONTAINER_OPTIONS+=(${arg})
855+
done
856+
845857
echo "Launching container with command (next line):"
846858
echo "singularity ${RUN_QUIET} ${MODE} ${ADDITIONAL_CONTAINER_OPTIONS[@]} ${EESSI_FUSE_MOUNTS[@]} ${CONTAINER} $@"
847859
singularity ${RUN_QUIET} ${MODE} "${ADDITIONAL_CONTAINER_OPTIONS[@]}" "${EESSI_FUSE_MOUNTS[@]}" ${CONTAINER} "$@"

0 commit comments

Comments
 (0)