[ET Trac] [Einstein Toolkit] #1474: compile ExternalLibraries with other thorns rather than when CST runs

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Mar 20 09:51:58 CDT 2018


#1474: compile ExternalLibraries with other thorns rather than when CST runs
--------------------------+---------------------------------
  Reporter:  Roland Haas  |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  minor        |  Milestone:
 Component:  Cactus       |    Version:  development version
Resolution:               |   Keywords:
--------------------------+---------------------------------

Comment (by Roland Haas):

 I retract comment:4 due to typical configure scripts of library A that
 depend on library B expecting that B has been fully compiled before the
 configure script is run, eg to look for include files or to compile a test
 code against it. This means we cannot run the configure script for A until
 after B has been fully compiled thus needing to run both configure and
 make stage of the ExternalLibrary at the same time.

 We could either do both at CST time but then would need a full parallel
 make+dependency tracking for it or move it into the Cactus build stage
 with the addition that the build stage must not be able to set INC_DIRS,
 LIB_DIRS and LIBS (or whatever they are called) the way the CST stage does
 since for some ExternalLibraries (notable the Fortran bindings of MPI) the
 name of the link library produced is determined at its configure stage (eg
 it could be libopenmpif90 or libopenmpi08 depending on the Fortran
 compiler found).

 I remember that there was a discussion to provide this capability (likely
 with Erik and I being the main participants) but cannot find it in trac or
 the mailing list right now.

-- 
Ticket URL: <http://cactuscode-20180221.cct.lsu.edu/trac/ticket/1474#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list