Guys,

I'm working on the Trilinos integration and I've hit a bit of a snag.   
It appears as though Trilinos uses a lot of the same #define's that we  
do... so when I'm compiling against it I get a bunch of:

/Users/gastdr/projects/trilinos-8.0.8/OSX_OPT/packages/aztecoo/src/ 
AztecOO_config.h:116:1: warning: "HAVE_MPI" redefined
In file included from /Users/gastdr/projects/libmesh_trilinos/include/ 
utils/o_string_stream.h:28,
                  from /Users/gastdr/projects/libmesh_trilinos/include/ 
utils/perf_log.h:28,
                  from /Users/gastdr/projects/libmesh_trilinos/include/ 
base/libmesh.h:32,
                  from /Users/gastdr/projects/libmesh_trilinos/include/ 
numerics/linear_solver.h:34,
                  from /Users/gastdr/projects/libmesh_trilinos/include/ 
numerics/trilinos_aztec_linear_solver.h:29,
                  from src/numerics/trilinos_aztec_linear_solver.C:31:
/Users/gastdr/projects/libmesh_trilinos/include/base/libmesh_config.h: 
109:1: warning: this is the location of the previous definition


These are just warnings.... and as long as both of our "configures"  
find the same stuff the #defines should be pretty much the same.  But  
what _should_ we do about it?  For now, I've just been ignoring them  
and everything is working well... but for the long term I'd like to  
eliminate these warnings, especially because they happen even in  
optimized mode.

I guess we could change the names of ours to something like  
LIBMESH_HAVE_MPI.... sigh.

Derek

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to