On 28/02/2017 22:17, Bart Oldeman wrote:
Hi,
I figured it out. There is a strict naming in easyconfig names for
dependencies we have to adhere to:
name-version-toolchain-versionsuffix.
So the dep is of the form:
('HDF5', '1.8.18', '-serial', ('iccifort', '2016.4.258'))
(the toolchain can be optional here though) and in the correspond .eb
file which must be named
HDF5-1.8.18-iccifort-2016.4.258-serial.eb
it must set:
name = 'HDF5'
version = '1.8.18'
versionsuffix = '-serial'
toolchain = {'name': 'iccifort', 'version': '2016.4.258'}
---
deviating from these principles is asking for trouble...
the generated module name is not used to search for dependencies.
Indeed, which I consider a bug, see also
https://github.com/hpcugent/easybuild-framework/issues/1556 .
The fix suggested there is to actually generate both modules (one with
the original name, one with the alternative name), and just symlink the
latter to the former.
That would only partially solve the problem: you still couldn't use the
alternative name in dependency specifications, since EB goes hunting for
a matching easyconfig file in some cases (even when a module is already
there).
I don't see how the latter can be fixed without having to parse all
possible easyconfig files to look for the one that specifies the right
'modaltsoftname'...
K.
Bart
On 28 February 2017 at 15:34, Maxime Boissonneault
<[email protected]
<mailto:[email protected]>> wrote:
Hi,
We are not using version suffixes. We are using an alternative
name for the module (i.e. hdf5-serial/1.8.18, not
hdf5/1.8.18-serial)
Maxime
On 17-02-28 15:21, Åke Sandgren wrote:
('hdf5', '1.8.5', '-serial')
depending on actual version
On 02/28/2017 08:51 PM, Maxime Boissonneault wrote:
Hi,
I installed HDF5 with the name 'hdf5-serial' (modaltsoftname)
I can't figure out how to get EasyBuild to find the module
(i.e. to have
this as a dependency for another module). Whether I
specify "hdf5" or
"hdf5-serial", it does not find it. Any tip ?
Maxime
--
Dr. Bart E. Oldeman | [email protected]
<mailto:[email protected]> | [email protected]
<mailto:[email protected]>
Scientific Computing Analyst / Analyste en calcul scientifique
McGill HPC Centre / Centre de Calcul Haute Performance de McGill |
http://www.hpc.mcgill.ca
Calcul Québec | http://www.calculquebec.ca
Compute/Calcul Canada | http://www.computecanada.ca
Tel/Tél: 514-396-8926 | Fax/Télécopieur: 514-396-8934