-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add modulecmd wrapper to lmod-ohpc for scl-utils dependency? #1346
Comments
Hi @ECoulter, I've just just hit the same thing ... did you ever get a solution to this please?! |
Error for posterity:
|
I think the workaround mentioned in the first comment would be a good idea for OpenHPC. If anyone can provide a patch that would be great. |
I'm afraid I don't understand packaging enough to understand the patch! I may have a go locally and if I can educate myself, do that. |
Ah this is good motivation. I'll block out some time and see if I can get a patch working & pull request submitted. |
I've got a cluster up I can test a patch on. Having tried some other things I've currently just rebuilt the rpm having commented out |
In my local test virtual cluster, I've got an lmod-ohpc rpm built with the following diff to add a symlink for modulecmd - not tested fully, but I think it's a better solution than a wrapper script - at least dnf is satisfied with the change. Also need to figure out how to get a pull request in against the correct branch... next week! Author: Eric Coulter jecoulte@iu.edu
diff --git a/components/admin/lmod/SPECS/lmod.spec b/components/admin/lmod/SPECS/lmod.spec %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_docdir} +#install a modulecmd soft link |
Thanks! Works for me, in that after building/installing an RPM with it I can install openhpc v2 with |
Thanks you for the the testing on this and PR. |
Greetings, All!
I've run into a dependency issue while trying to install Open OnDemand (openondemand.org) with OpenHPC 2.3 on Rocky 8.4, which requires scl-utils, which in turn requires /usr/bin/modulecmd, which is only provided by environment-modules, which then conflicts with lmod-ohpc. (I'd prefer to keep using LMod, of course)
Would it be possible to add a simple wrapper for modulecmd -> lmod to the lmod-ohpc package, similar to this workaround:
hpcugent/Lmod-UGent@47bc1a6
?
In the meantime, planning to see if a temporary switch to env-modules will work, or possibly testing with a local rebuild of the lmod-ohpc package; I'll update here as we go.
Cheers,
Eric C.
The text was updated successfully, but these errors were encountered: