Re: [CMake] FindMPI.cmake in 3.11.4

2018-09-17 Thread Burlen Loring
Thanks, I did not know about the guidelines. I guess my misconception is based on having seen historically cache variables used in a number of find modules and also in practice being able to override the module when needed. So if the outputs of the find module aren't cache variables, how does o

Re: [CMake] FindMPI.cmake in 3.11.4

2018-09-17 Thread Burlen Loring
Hi Chuck, I have a an install of mpi that has no compiler wrappers. I know the include dir and the list of libraries to use. How do I tell the new cmake module? Is it no longer supported to tell the module what to use for these? Burlen On 09/17/2018 06:46 AM, Chuck Atkins wrote: Hi Burlen

Re: [CMake] FindMPI.cmake in 3.11.4

2018-09-17 Thread Chuck Atkins
Hi Burlen Of course I read the documentation. > I certainly didn't mean for that to come off as an "rtfm", so my appologies if it did, that wasn't my intent. > why did they MPI_C_LIBRARIES and MPI_C_INCLUDE_DIRS/PATH get changed from > cache variables to not chached variables? that seems to be

Re: [CMake] FindMPI.cmake in 3.11.4

2018-09-14 Thread Mateusz Loskot
On Fri, 14 Sep 2018 at 20:57, Burlen Loring wrote: > why did they MPI_C_LIBRARIES and MPI_C_INCLUDE_DIRS/PATH get changed from > cache variables to not chached variables? Possibly, that change was due to clean up to correct the module according to the actual CMake conventions https://cmake.org/

Re: [CMake] FindMPI.cmake in 3.11.4

2018-09-14 Thread Burlen Loring
Of course I read the documentation. Alas after trying various settings described there in, nothing worked. my settings are ignored and erased. why did they MPI_C_LIBRARIES and MPI_C_INCLUDE_DIRS/PATH get changed from cache variables to not chached variables? that seems to be the cause of the i

Re: [CMake] FindMPI.cmake in 3.11.4

2018-09-14 Thread Chuck Atkins
Hi Burlen, _LIBRARIES and _INCLUDE_DIRS are non-cached output variables. The new functionality should be documented as to how to guide the current FindMPI: https://cmake.org/cmake/help/v3.12/module/FindMPI.html#variables-for-locating-mpi . That being said, is it incorrectl6y detecting or determin

[CMake] FindMPI.cmake in 3.11.4

2018-09-13 Thread Burlen Loring
Hi, I'm trying to transition from cmake 3.8.2 to cmake 3.11.4. There are a number of changes the way FindMPI.cmake behaves in 3.11 that are making this difficult. In 3.11 how do I override the settings? For instance I want to set MPI_C_LIBRARIES, MPI_C_INCLUDE_DIRS? In 3.8 all I had to do wa