Yeah, something like
preconfigopts = 'export LDFLAGS="-fopenmp $LDFLAGS" && '

On Mon, 23 Mar 2020 at 14:18, Ward Poelmans 
<wpoel...@gmail.com<mailto:wpoel...@gmail.com>> wrote:
On 23/03/2020 14:08, Loris Bennett wrote:
> So the libraries seem to get build OK, but linking the client against
> them seems to fail, despite the fact that all the calls to 'gcc' seem to
> have the option '-fopenmp' set.

The issue is that the last one (--mode=link) does not have -fopenmp.
Either you need to add it to the link flags or manually add -lgomp to
the libraries to link to.

Ward


--
Dr. Alan O'Cais
E-CAM Software Manager
Juelich Supercomputing Centre
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49 2461 61 5213
Fax: +49 2461 61 6656
E-mail: a.oc...@fz-juelich.de<mailto:a.oc...@fz-juelich.de>
WWW:    http://www.fz-juelich.de/ias/jsc/EN


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to