Re: [CMake] History and ideas behind FindMPI.cmake?

2009-01-14 Thread Michael Wild
On 13. Jan, 2009, at 15:17, Bartlett, Roscoe A wrote: In Trilinos, an MPI configured build creates all MPI executables (in some sense). Also, most Trilinos software is set up to automatically check to see if MPI is initialized or not and will run correctly in serial mode with MPI

Re: [CMake] History and ideas behind FindMPI.cmake?

2009-01-14 Thread Bartlett, Roscoe A
and ideas behind FindMPI.cmake? On 13. Jan, 2009, at 15:17, Bartlett, Roscoe A wrote: In Trilinos, an MPI configured build creates all MPI executables (in some sense). Also, most Trilinos software is set up to automatically check to see if MPI is initialized or not and will run

Re: [CMake] History and ideas behind FindMPI.cmake?

2009-01-13 Thread Alin M Elena
Hi, Do you really need an module for MPI? All you need is to set the normal shell variables for compilers to the MPI wrappers. You need both mpi and non-mpi binaries just use different build folders. Alin -- __ If the

Re: [CMake] History and ideas behind FindMPI.cmake?

2009-01-13 Thread Brad King
Alin M Elena wrote: Do you really need an module for MPI? All you need is to set the normal shell variables for compilers to the MPI wrappers. You need both mpi and non-mpi binaries just use different build folders. Alin is correct. If the project works with an all-MPI build you can just

[CMake] History and ideas behind FindMPI.cmake?

2009-01-12 Thread Bartlett, Roscoe A
Hello, What is the origin of the current FindMPI.cmake module? I am not very happy with this module and I don't even fully understand why is was written the way that it is. Specific issues that I have are: 1) It does not really take advantage of MPI compiler wrappers like it should. The

Re: [CMake] History and ideas behind FindMPI.cmake?

2009-01-12 Thread Jed Brown
On Mon, Jan 12, 2009 at 13:02, Bartlett, Roscoe A raba...@sandia.gov wrote: Does anyone else have similar frustrations with FindMPI.cmake and would like to see a new implementation as described above? How many CMake projects have a serious MPI component that use FindMPI.cmake? I make do with