[Trilinos-Users] Linking against Trilinos 10

Bartlett, Roscoe A rabartl at sandia.gov
Thu Mar 11 09:12:33 MST 2010


Michael,

Trilinos 10.2 (to be released soon) will have a system where using CMake you can use the FIND_PACKAGE(...) command to get the libraries you need.

As a stop gap, just build one of the Rythmos tests using 'make VERBOSE=1' and that will show you the link line with all the libraries in the right order.  Just copy and paste that into your make file.

- Ross



> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-
> users-bounces at software.sandia.gov] On Behalf Of Michael Buksas
> Sent: Thursday, March 11, 2010 8:42 AM
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] Linking against Trilinos 10
> 
> Hi everyone,
> 
> I'm having some trouble rolling my own build system to link against
> Rythmos in Trilinos 10. I'm using static libraries, so I think the
> issue
> is the library specification order in link commands. The result is
> always missing symbols from one of the other Trilinos libraries.
> 
> Is there anything like the trilinos_make_macros.mak files generated by
> CMake? Where would be a good place to look in the CMake files to parse
> the dependencies and library ordering? What are other Trilinos users
> doing?
> 
> Thanks in advance,
> Mike Buksas
> 
> --
> Michael W. Buksas
> CCS-2: Transport Methods
> Los Alamos National Laboratory
> (505) 667-7580
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users



More information about the Trilinos-Users mailing list