[ET Trac] [Einstein Toolkit] #1008: Link error when building a configuration containing only MPI thorn

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Aug 3 10:29:38 CDT 2012


#1008: Link error when building a configuration containing only MPI thorn
--------------------+-------------------------------------------------------
 Reporter:  hinder  |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  minor   |   Milestone:     
Component:  Cactus  |     Version:     
 Keywords:          |  
--------------------+-------------------------------------------------------
 If I create a thornlist containing just

   ExternalLibraries/MPI

 the configuration will compile but it won't link.  The linker errors
 indicate that the "Cactus" virtual thorn is using MPI symbols which are
 not available.  The mpi library is not on the linker command line, nor in
 LIBS.  LIBS is set from MPI_LIBS in make.link, but MPI_LIBS is empty.
 MPI_LIBS is picked up from the MPI configure.sh script, and it is inserted
 into bindings/Configuration/Capabilities/make.MPI.defn.  This is picked up
 by bindings/Configuration/Thorns/make.Cactus.defn, but I don't think that
 this file is used by anything.  If I create a new empty thorn which uses
 the MPI capability, the executable is linked successfully.  I think that
 nothing is loading the make.Cactus.defn definitions for the Cactus virtual
 thorn.

 This subtle bug might have other effects so it should probably be fixed.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1008>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list