Great build version 2.1.0!
When trying to additionally build a module HMS structure I stumbled upon an
issue with CUDA. Cuda with the Intel toolchain. It won't generate the
modulefile.
The EB command I used:
eb --installpath=/tmp/mynewbuild --module-only --module-naming-
scheme=HierarchicalMNS --force c/CUDA/CUDA-6.5.14-intel-2015.02.eb
After some fiddling I adjusted the hierarchical_mns.py file so it will build
it, though I'm not 100% sure it is the right fix.
--- hierarchical_mns.py.orig 2015-05-12 11:20:53.641073816 +0200
+++ hierarchical_mns.py 2015-05-12 11:39:10.773495205 +0200
@@ -49,6 +49,7 @@
COMP_NAME_VERSION_TEMPLATES = {
'icc,ifort': ('intel', '%(icc)s'),
'Clang,GCC': ('Clang-GCC', '%(Clang)s-%(GCC)s'),
+ 'CUDA,intel': ('GCC-intel', '%(intel)s-%(CUDA)s'),
'CUDA,GCC': ('GCC-CUDA', '%(GCC)s-%(CUDA)s'),
}
@@ -163,7 +164,7 @@
comp_name_ver = None
if ec['name'] in extend_comps:
for key in COMP_NAME_VERSION_TEMPLATES:
- if ec['name'] in key.split(','):
+ if ec['name'] in key.split(',') and tc_comp_info[0] in
key.split(','):
comp_name, comp_ver_tmpl =
COMP_NAME_VERSION_TEMPLATES[key]
comp_versions = {ec['name']:
self.det_full_version(ec)}
if ec['name'] == 'ifort':
regards
Fokko