Re: [CMake] FindMPI doesn't differentiate between languages

2010-12-26 Thread Todd Gamblin
Thanks for the suggestions, everyone. I'm finally taking a look at fixing FindMPI. So far, I've added a couple extra interrogations to look for -compile-info and -link-info on newer versions of mvapich, and I'm finally getting around to figuring out what variables need to be set. I intend to

Re: [CMake] FindMPI doesn't differentiate between languages

2010-12-20 Thread Marcel Loose
>>> On 19-12-2010 at 0:04, in message , Todd Gamblin wrote: > Hey all, > > This has been brought up before (sort of) here: > > http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/26533 > > FindMPI doesn't currently give you the libraries, includes, etc. for > different lan

Re: [CMake] FindMPI doesn't differentiate between languages

2010-12-19 Thread Dave Partyka
Hi Todd, I have had similar thoughts about this module as well, especially for providing variables with each of MPI_{C/CXX/FORTRAN}_LIBRARIES but often the easy way around this is to set CC/CXX/FC environment variables to their respective mpi compilers before ever running cmake and generally got m

[CMake] FindMPI doesn't differentiate between languages

2010-12-18 Thread Todd Gamblin
Hey all, This has been brought up before (sort of) here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/26533 FindMPI doesn't currently give you the libraries, includes, etc. for different languages. MPI compilers can (and typically do) have different includes/librarie