hpcugent / Lmod-UGent

spec files of Lmod for UGent-HPC
8 stars 7 forks source link

provide /usr/bin/modulecmd if possible #46

Closed stdweird closed 3 years ago

stdweird commented 3 years ago

is it possible to ship a (small) wrapper /usr/bin/modulecmd that is either compatible with env-modules? not sure what it entails

stdweird commented 3 years ago

@boegel i need this to resolve some rpm dependencies, but i'm clueless if it is feasible at all

boegel commented 3 years ago

Can you clarify the need for this?

A simple wrapper around the lmod binary should be sufficient, but of course it's not going to be full compatible with the real modulecmd (which doesn't know about Lua, doesn't support options that Lmod supports, etc.).

stdweird commented 3 years ago

the scl-utils rpm requires /usr/bin/modulecmd (currently only provided by the env-modules rpm, which conflicts with Lmod), not sure to what extend compatibility is required.