-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems when trying to use EB as a normal user with HMNS #2143
Comments
In case you haven't seen it... #1472 |
I have, but I seem to have failed in reading all of it previously. It actually talks about being able to do what we want, but there is no solution yet. What we have problems with is building software in the first place. I.e., EB not finding the already site installed modules that aren't in Core. |
Unfortunately, #1472 isn't enough. EasyBuild searches for/loads modules with their full name, e.g., Example: Suppose your system-wide EasyBuild prefix is
|
To be more precise: I have a module |
Ah, now stuff is starting to make sense :-) Could you give me your SoftInst etc modules so i can take a look and see what we need to do. And following that hint, --dry-run also works. Nice. |
@akesandgren Sent by PM. I briefly discussed this with @boegel some time ago and we thought about adding an |
Regarding your SoftInst module, shouldn't EASYBUILD_REPOSITORYPATH really point to the users .local/ebfiles_repo or so? They shouldn't be allowed to write into the global repopath. Never mind.... must read to the end... |
That's what is happening. |
Regarding EASYBUILD_SUBDIR_USER_MODULES... |
I believe empty strings are considered "unset" in Python, so probably yes. But I'm not sure. |
We'll find out probably tomorrow. Just need to rebuild a couple of modules so the user-hmns part gets included. |
WIth the SoftInst module from @geimer I now have this working to some extent. |
see #2162 w.r.t. problems that @akesandgren referred to in previous comment @geimer: W.r.t. the required |
@boegel Probably yes. So the idea would be to iterate over the paths in |
@geimer Basically, yes, that makes sense to me... |
We're trying to make it possible for normal users to use EB for installing some software that we can't, or aren't allowed to, install globally.
We want them to be able to do this while still utilizing our site setup with all the existing toolchains etc.
We are using HMNS, minimal-toolchains, and recursive-module-unload.
When trying as a normal user and just setting installpath EB doesn't find the already installed modules, except for the ones directly available in Core.
Is there anything we're missing or should be doing differently?
@geimer any thoughts on this?
The text was updated successfully, but these errors were encountered: