File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
scripts/gpu_support/nvidia Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,15 @@ for EASYSTACK_FILE in ${TOPDIR}/easystacks/eessi-*CUDA*.yml; do
109109 fi
110110 module load EasyBuild/${eb_version}
111111
112- # Make sure EESSI-extend does a site install here
113- # We need to reload it with the current environment variables set
112+ # Even though EESSI-extend should target a site install here, we tell EESSI-extend
113+ # that it is a project installation so that the packages do not get installed under
114+ # an accelerator subdirectory if there is a GPU available (which is enforced for site
115+ # installations).
116+ module unload EESSI-extend
114117 unset EESSI_CVMFS_INSTALL
115- unset EESSI_PROJECT_INSTALL
118+ unset EESSI_SITE_INSTALL
119+ export EESSI_PROJECT_INSTALL=" $EESSI_SITE_SOFTWARE_PATH "
116120 unset EESSI_USER_INSTALL
117- export EESSI_SITE_INSTALL=1
118121 module unload EESSI-extend
119122 ml_av_eessi_extend_out=${tmpdir} /ml_av_eessi_extend.out
120123 # need to use --ignore_cache to avoid the case that the module was removed (to be
You can’t perform that action at this time.
0 commit comments