[ET Trac] #2772: Issues link against Kadath thorns and Intel MKL due to link ordering
Roland Haas
trac-noreply at einsteintoolkit.org
Tue Feb 20 08:14:27 CST 2024
#2772: Issues link against Kadath thorns and Intel MKL due to link ordering
Reporter: tootle
Status: new
Milestone:
Version:
Type: bug
Priority: major
Component: EinsteinToolkit thorn
Comment (by Roland Haas):
How about adding \`$\{FFTW3\_LIBS\}\` to KadathThorn’s LIBS output in detect.sh ? Like HDF5 does:
```
HDF5_LIB_DIRS="$HDF5_LIB_DIRS $MPI_LIB_DIRS"
HDF5_INC_DIRS="$HDF5_INC_DIRS $MPI_INC_DIRS"
HDF5_LIBS="$HDF5_LIBS $MPI_LIBS"
```
That lets you ensure that FFTW3\_LIBS is right after Kadath’s. This should work for static linking. For dynamic linking adding it to `LD` should work. So it’s a cluster specific solution \(at least for `LD`\) but so is this issue you are encountering.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2772/issues-link-against-kadath-thorns-and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240220/507aafdb/attachment.htm>
More information about the Trac
mailing list