diff --git a/bot/build.sh b/bot/build.sh index de73faef0b..70d30a8c10 100755 --- a/bot/build.sh +++ b/bot/build.sh @@ -276,9 +276,12 @@ fi # Retain location for host injections so we don't reinstall CUDA # (Always need to run the driver installation as available driver may change) -if [[ ! -z ${SHARED_FS_PATH} ]]; then - BUILD_STEP_ARGS+=("--host-injections" "${SHARED_FS_PATH}/host-injections") -fi +# use $STORAGE for host-injections (maybe shared fs is not behaving well) +mkdir -p ${STORAGE}/host_injections +BUILD_STEP_ARGS+=("--host-injections" "${STORAGE}/host-injections") +#if [[ ! -z ${SHARED_FS_PATH} ]]; then +# BUILD_STEP_ARGS+=("--host-injections" "${SHARED_FS_PATH}/host-injections") +#fi # create tmp file for output of build step build_outerr=$(mktemp build.outerr.XXXX) diff --git a/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.1-2023a.yml b/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.1-2023a.yml index 81f4afd70e..903979da71 100644 --- a/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.1-2023a.yml +++ b/easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.1-2023a.yml @@ -75,3 +75,8 @@ easyconfigs: from-pr: 19987 - tensorboard-2.15.1-gfbf-2023a.eb - tqdm-4.66.1-GCCcore-12.3.0.eb + - PyTorch-bundle-2.1.2-foss-2023a-CUDA-12.1.1.eb: + # see https://github.com/easybuilders/easybuild-easyconfigs/pull/20484 + options: + from-pr: 20484 + cuda-compute-capabilities: 6.0,6.1,7.0,7.5,8.0,8.6,8.9,9.0 diff --git a/eb_hooks.py b/eb_hooks.py index 849a135fa8..49d2c4ce29 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -5,8 +5,8 @@ import easybuild.tools.environment as env from easybuild.easyblocks.generic.configuremake import obtain_config_guess -from easybuild.framework.easyconfig.constants import EASYCONFIG_CONSTANTS from easybuild.easyblocks.python import EXTS_FILTER_PYTHON_PACKAGES +from easybuild.framework.easyconfig.constants import EASYCONFIG_CONSTANTS from easybuild.tools.build_log import EasyBuildError, print_msg from easybuild.tools.config import build_option, update_build_option from easybuild.tools.filetools import apply_regex_substitutions, copy_file, remove_file, symlink, which