software-layer icon indicating copy to clipboard operation
software-layer copied to clipboard

`EESSI-extend` and `configure_easybuild` no longer in sync

Open ocaisa opened this issue 1 year ago • 2 comments

https://github.com/EESSI/software-layer/pull/710 introduced a change in configure_easybuild to support accelerators but this change has not been incorportated into EESSI-extend. It's not entirely clear how we want to do this either since EESSI-extend supports 4 different scenarios (CVMFS, site, project, user).

Do we want this distinction to apply in all cases? This introduces complexity as the behaviour of the module will depend on whether or not the trigger environment variable (EESSI_ACCELERATOR_TARGET) is set or not, and for the end user there are no protections in place to stop them accidentally installing a CPU build into an accelerator target space. The only "person" automatically setting EESSI_ACCELERATOR_TARGET is the bot, so I think this bit of logic is best suited to the bot build scripts (unless we put protections in place in our EB hooks).

ocaisa avatar Oct 31 '24 13:10 ocaisa

I guess we could support this for EESSI and site installations since we control the exposure of those module trees.

For the site case, I would probably disable --robot in this case and issue a warning that this has been done so they do not accidentally install CPU-only dependencies into the accelerator stack

ocaisa avatar Oct 31 '24 13:10 ocaisa

@ocaisa I think this has been fixed?

boegel avatar Feb 15 '25 11:02 boegel

CI is in place that checks that this is the case

ocaisa avatar Sep 19 '25 11:09 ocaisa