You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, we can see that SomeSoftware/1.2 is compatible with OtherSoftware/2.3 but not with OtherSoftware/3.4
Usage
module load SomeSoftware/1.2
module load OtherSoftware # I'm not picky about the version
Currently, not specifying the version means Lmod translates this to the default (typically latest) version and only tries that. Here it would translate to OtherSoftware/3.4 which will fail to load as it isn't compatible (which is correct).
I was thinking since Lmod ought to have full dependency graph here (at least when depends_on is used), could it not figure out which versions of OtherSoftware that is compatible, if any, and simply opt to load that instead when it could? Perhaps with a printed warning.
Otherwise, you'll be forced as a user to figure out that OtherSoftware/2.3 is the compatible one, without any hints or indications.
It would mean a change to the behavior, so, a configuration option?
Perhaps this is already possible and I'm not wise enough to figure it out?
The text was updated successfully, but these errors were encountered:
I'd like to have the behavior opposite of auto-swap when loading additional modules.
Creating a small example, with a shared
Dependency
and two software packages that use it:Here, we can see that
SomeSoftware/1.2
is compatible withOtherSoftware/2.3
but not withOtherSoftware/3.4
Usage
Currently, not specifying the version means Lmod translates this to the default (typically latest) version and only tries that. Here it would translate to
OtherSoftware/3.4
which will fail to load as it isn't compatible (which is correct).I was thinking since Lmod ought to have full dependency graph here (at least when
depends_on
is used), could it not figure out which versions ofOtherSoftware
that is compatible, if any, and simply opt to load that instead when it could? Perhaps with a printed warning.Otherwise, you'll be forced as a user to figure out that
OtherSoftware/2.3
is the compatible one, without any hints or indications.It would mean a change to the behavior, so, a configuration option?
Perhaps this is already possible and I'm not wise enough to figure it out?
The text was updated successfully, but these errors were encountered: