Re: [cmake-developers] Adding Microsoft MPI Fortran support in FindMPI

2017-04-26 Thread Christian Pfeiffer
I reckon it might be better to ignore the Fortran 90 module API for now. Adding a function for that would mean that the linked target has to be visible everywhere where the MPI package is being used with Fortran. Not to mention that all projects using the F90 module API then would need to have

Re: [cmake-developers] Adding Microsoft MPI Fortran support in FindMPI

2017-04-24 Thread Brad King
On 04/21/2017 05:45 PM, Christian P. wrote: > Is this a good/bad idea or is there any way to do this in a proper fashion? > The idea of adding an actual target to a Find module seems wrong to me, > but I’m not seeing any way of doing it otherwise. I think we'll have to expose this requirement to

[cmake-developers] Adding Microsoft MPI Fortran support in FindMPI

2017-04-21 Thread Christian P .
Hi folks, I’d like to implement support for MSMPI’s Fortran API in FindMPI so that it could be used to build ScaLAPACK and others. However, I’m looking for a bit of guidance on how to do this. The Fortran 90 interfaces are contained in a file called mpi.f90 in the MSMPI include folder. This