Hi Jens,
Op 3-jun.-2015, om 15:54 heeft Jens Timmerman
<[email protected]<mailto:[email protected]>> het volgende
geschreven:
On 03/06/15 14:18, Backeljauw Franky wrote:
Hello,
We have a new EasyConfig file SOBAcl-r18.eb which has this in it:
easyblock = "Tarball"
name = 'SOBAcl'
version = 'r18'
toolchain = {'name': 'dummy', 'version': 'dummy'}
dependencies = [('GraphViz', '2.18-intel-2014b-Perl-5.20.0')]
if you set the toolchain to intel-2015a change this to
dependencies = [('GraphViz', '2.18', '-Perl-5.20.0', True)]
True means, use the toolchain that's used for this easyconfig.
or if you keep dummy dummy you can specify:
dependencies = [('GraphViz', '2.18', 'Perl-5.20.0'', ('intel', '2015a')]
see
http://easybuild.readthedocs.org/en/latest/Writing_easyconfig_files.html#dependencies
and possibly make this perl version a variable somewhere
I’ve tested this, and for me it works like this:
toolchain = {'name': 'intel', 'version': '2014b'}
perl = 'Perl'
perlver = '5.20.0'
versionsuffix = '-%s-%s' % (perl, perlver)
dependencies = [('GraphViz', '2.18', versionsuffix, ('intel', '2014b'))]
It doesn’t work if I specify the dependencies like this:
dependencies = [('GraphViz', '2.18', versionsuffix, True)]
I found another example in the EasyConfig for
DOLFIN-1.0.0-ictce-4.0.6-Python-2.7.3.eb, which has (among others):
toolchain = {'name': 'ictce', 'version': '4.0.6’}
dependencies = [
('MTL4', '4.0.8878', '', True),
]
but when doing “eb —dry-run” we see:
* [ ] easybuild/easyconfigs/m/MTL4/MTL4-4.0.8878.eb (module: MTL4/4.0.8878)
So shouldn’t it be just the opposite?
— Franky