Re: [CMake] FindMPI: finding openmpi libs and includes

2010-12-01 Thread Hicham Mouline
ir}/${MpiPackageDir}") endif() endforeach(MpiPackageDir) endforeach(SystemPrefixDir) From: Dave Partyka [mailto:dave.part...@kitware.com] Sent: 30 November 2010 22:42 To: Hicham Mouline Cc: CMake mailing list Subject: Re: [CMake] FindMPI: finding openmpi libs and includes It will sea

Re: [CMake] FindMPI: finding openmpi libs and includes

2010-12-01 Thread Hicham Mouline
same time as the index of the iteration? From: Dave Partyka [mailto:dave.part...@kitware.com] Sent: 30 November 2010 22:42 To: Hicham Mouline Cc: CMake mailing list Subject: Re: [CMake] FindMPI: finding openmpi libs and includes It will search standard locations (/usr/include & /

Re: [CMake] FindMPI: finding openmpi libs and includes

2010-11-30 Thread Dave Partyka
It will search standard locations (/usr/include & /usr/lib) for the headers and libs. Set MPI_LIBRARY and MPI_INCLUDE_PATH if it doesn't locate them for you automatically. The FindMPI module does interrogate the mpicc compiler for some of this information but I am not sure if that is the case on Wi

[CMake] FindMPI: finding openmpi libs and includes

2010-11-30 Thread Hicham Mouline
Hi, I have built debug and release win32 and x64 openmpi libs for windows, and I have them installed on linux x64. How does FindMPI work for auto detecting If I don't set any MPI_ variable at all? Does it search for mpic++ in the %PATH% or $PATH? What MPI_ variables is the user required to defi