[Trilinos-Users] Linking against Trilinos 10

Michael Buksas mwbuksas at lanl.gov
Thu Mar 11 09:08:43 MST 2010


Nico,

Yes it does. I should have mentioned that I'm currently using SCons to 
build. So, I can't use the makefiles directly, but it looks like I can 
parse the information I need out of include/Makefile.export.* files.

Thanks!
Mike

Nico Schlömer wrote:
> Hi Mike,
> 
> for the current Trilinos releases there's no support for building your
> own library with CMake, so you rather want to look into the
> ${Trilinos_ROOT}/include/Makefile.client.* files to include into your
> classical Makefile. Documentation for this is in the Makefile.client.*
> files themselves.
> 
> Brent recently came up with a CMake usable configuration (which btw
> works pretty fine for me), but that's not currently released yet. If
> you'd like to check it out in git master, you'll find instruction in
> cmake/README.Finding_Trilinos.
> 
> Does that help?
> 
> --Nico
> 
> 
> 
> On 03/11/2010 04:42 PM, Michael Buksas wrote:
>> 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




More information about the Trilinos-Users mailing list