[Trilinos-Users] Linking against Trilinos 10

Michael Buksas mwbuksas at lanl.gov
Thu Mar 11 09:23:47 MST 2010


Ross,

I'm not using CMake yet, but it's early enough in this project that 
there is time to change. It looks like it will have some distinct 
advantages for working with Trilinos.

Are there any plans to output this info in a build-system neutral way?

Thanks,
Mike


Bartlett, Roscoe A wrote:
> 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
> 

-- 
Michael W. Buksas
CCS-2: Transport Methods
Los Alamos National Laboratory
(505) 667-7580



More information about the Trilinos-Users mailing list