Dear Loris,
On 02/04/2019 17:04, Loris Bennett wrote:
Dear Kenneth,
OK, thanks for clarifying that point.
One thing that surprised me in the context of trying to create a
extension-only easyconfig was that, if I forget to include the primary
program, such as Python 2.7.15, as a dependency, then the primary
program itself, e.g. Python, will be installed as well as the
extensions. This only made itself apparent to me when I loaded the
extensions module and found that the primary program module was then,
due to the conflict, automatically unloaded.
EasyBuild is not doing that automatically trying to be smart of
something, you're somehow telling it to do that...
Or is this only the case
if I also (!) mistakenly have
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
That's likely the reason, but then you should still be using 'Python' as
a software name, otherwise you shouldn't see the behavior you're describing.
Easyconfigs using the 'Bundle' easyblock should not specify any
top-level 'sources'.
We even prevent this in the central easyconfigs repository (the tests
will trip over it), but it's not hard blocked in EasyBuild itself, so if
you want to shoot yourself in the foot, you can. ;)
regards,
Kenneth
?
Cheers,
Loris
Kenneth Hoste <[email protected]> writes:
Dear Loris,
PerlModule *is* the equivalent to RPackage & PythonPackage.
To install a bunch of Perl modules together, you can use the Bundle easyblock,
and then install Perl modules as extensions.
See for example this recent STAR-Fusion easyblock (which doesn't use Bundle, but
it does install a bunch of Perl modules as extensions):
https://github.com/easybuilders/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/s/STAR-Fusion/STAR-Fusion-1.5.0-foss-2018b-Perl-5.28.0.eb
.
regards,
Kenneth
On 02/04/2019 15:47, Loris Bennett wrote:
Hi,
I want to install a number of extra Perl packages. Is there an
equivalent of RPackage/PythonPackage for Perl? The easyblock PerlModule
seems to be aimed at installing a single module, rather than multiple
packages as extensions.
Cheers,
Loris