vscentrum / vsc-software-stack

Central repository of easyconfigs used in the software installations on VSC clusters.
2 stars 6 forks source link

Limbo #392

Closed laraPPr closed 2 months ago

laraPPr commented 3 months ago
pavelToman commented 2 months ago

Could you please ask user why they need Limbo and how they will use it? I can build it now, but it creates only the /bin dir with some executables (not limbo) which seems to be used by waf and Limbo. (/scratch/gent/vo/001/gvo00117/easybuild/RHEL8/cascadelake-ampere-ib/software/Limbo/2.1.0-20231019-foss-2023a/bin). It seems the Limbo is some framework that needs waf to create experiments - you can then create your own .cpp files and easily build it and test it. The problem is that it counts that the build dir with waf executable still exists (which is not without buildininstalldir = True) and it will create the experiments folders in installdir - which is unchangeable for users - so they could not create any experiment.

boegel commented 2 months ago

@pavelToman Can you try if the exp/myExp directory from the basic example can be put somewhere else, outside of the Limbo installation directory? That means that you'll need to change the includes bit in the wscript file to use $EBROOTLIMBO/limbo/src probably instead of ../../src (and maybe change the . to $EBROOTLIMBO, not sure).

And then run waf build ... (not ./waf build ...), since waf will be part of the Limbo installation, and be available via $PATH.

To check whether it's not making changes in the Limbo install dir, make sure it's installed with eb --read-only-installdir

If that doesn't work, we either:

If waf always needs to be run with specific options, we can define an alias in the module file, via this in the easyconfig:


modaliases = {
    'waf': "waf -option1 -option2",
}
boegel commented 2 months ago

Maybe we can also ask upstream whether a central (read-only) installation of Limbo makes sense, see https://github.com/resibots/limbo/issues

boegel commented 2 months ago

@pavelToman installation request for Limbo has been cancelled, so stop working on it.

If we need to pick up on this again, we can pull the draft easyconfigs from Git history, so do go ahead and cleanup + close this issue.