Hi Kenneth,

Op 4-jun.-2015, om 10:47 heeft Kenneth Hoste 
<[email protected]<mailto:[email protected]>> het volgende geschreven:



On 04/06/15 10:35, Backeljauw Franky wrote:
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'))]

This will work too, since the toolchain is already specified (and inherited by 
the dependencies):

    dependencies = [('GraphViz', '2.18’)]

It has to be

dependencies=[(‘Graphviz’,’2.18’, ‘Perl-5.20.0’)]

since there’s a suffix for Perl-5.20.0.

Actually, the SOBAcl module would then be SOBAcl-r18-interl-2014b-Perl-5.20.0.

— Regards,

Franky


Reply via email to