[Trilinos-Users] Fwd: Compiling Trilinos 10.0.1 on Mac.

Chris Baker cgbaker at gmail.com
Mon Dec 7 08:25:39 MST 2009

Andrew, It seems that this has already been addressed. Try the attached
patch. I suppose this isn't reflected in the 10.0.2 branch (???)


cc: Ross

---------- Forwarded message ----------
From: Bartlett, Roscoe A <rabartl at sandia.gov>
Date: Thu, Oct 29, 2009 at 09:30
Subject: RE: [Trilinos-Users] Compiling Trilinos 10.0.1 on Mac.
To: Ted Kord <teddy.kord at googlemail.com>
Cc: Luca Heltai <luca.heltai at gmail.com>, "trilinos-users at software.sandia.gov"
<trilinos-users at software.sandia.gov>, Chris Baker <cgbaker at gmail.com>


Chris Baker was able to reproduce the problem and found the cause.   Can you
please apply the attached patch and see if it fixes this problem?  The fix
will be in the next minor release of Trilinos 10.

What is happening here is that some of these Trilinos CMakeLists.txt files
are missing explicit info about the interdependencies of some libraries.
  This info should be needed by CMake for correctly creating shared
libraries and linking the libraries in the right order.   The design of the
Trilinos CMake build system makes sure that all the libraries will be listed
on every link line but without the correct ordering info, CMake may not put
them in the right order (or may not create the shared libraries correctly
which might be the case here).  For some reason, these still linked just
fine on all the Unix, Windows, and Mac machines on which we are testing.  It
has only been these newer Macs that are showing the defects (and these are
defects).   This is very frustrating.

The Trilinos project needs to get a hold of one of these newer Macs that can
reproduce the problem and add it as a nightly test machine so that this
never happens again.

Let me know if this does not work or if you have any other such link

- Ross

*From:* Ted Kord [mailto:teddy.kord at googlemail.com]
*Sent:* Wednesday, October 28, 2009 1:21 PM
*To:* Bartlett, Roscoe A
*Cc:* Luca Heltai; trilinos-users at software.sandia.gov; Chris Baker

*Subject:* Re: [Trilinos-Users] Compiling Trilinos 10.0.1 on Mac.

I applied the patch, all optional dependencies turned on, reconfigured and
then 'make' but I also still get the same errors in linking to Stratimikos:

Linking CXX shared library libstratimikos.dylib

Undefined symbols:

  "Thyra::MLPreconditionerFactory::MLPreconditionerFactory()", referenced

const   in Stratimikos_DefaultLinearSolverBuilder.cpp.o

ld: symbol(s) not found

collect2: ld returned 1 exit status

make[2]: *** [packages/stratimikos/src/libstratimikos.dylib] Error 1

make[1]: *** [packages/stratimikos/src/CMakeFiles/stratimikos.dir/all] Error

make: *** [all] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20091207/d392f07a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stratimikos_deps.patch
Type: application/octet-stream
Size: 1156 bytes
Desc: not available
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20091207/d392f07a/attachment-0001.obj 

More information about the Trilinos-Users mailing list