Fokko,
Sorry for not picking this up earlier... There is already an
open PR for Intel/CUDA support, see
https://github.com/hpcugent/easybuild-framework/pull/1086
That said, I'm still not convinced that the current approach
of handling an CUDA-enabled MPI is appropriate, see my comment
on this PR from Nov 6. Unfortunately, this topic somehow fell
asleep shortly after the PR was opened. Maybe it's time to
pick it up again.
Since you are interested in it: What's your opinion on how
this whole CUDA business should be handled?
Markus
On 05/12/15 11:44, Fokko Masselink wrote:
> 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':
--
Dr. Markus Geimer
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany
Phone: +49-2461-61-1773
Fax: +49-2461-61-6656
E-mail: [email protected]
WWW: http://www.fz-juelich.de/jsc/
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------