MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014872 | CMake | CMake | public | 2014-04-10 15:23 | 2016-06-10 14:31 |
| Reporter | Melven Roehrig-Zoellner | ||||
| Assigned To | Kitware Robot | ||||
| Priority | low | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | x86_64 | OS | Linux | OS Version | openSUSE 13.1 |
| Product Version | CMake 2.8.12 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014872: FindMPI.cmake finds MPI of different compiler | ||||
| Description | On the machine I'm using here there are multiple compilers and MPI variants in the PATH: More precisely ifort, gfortran and pgf90 in the PATH and each of them brings their own MPI wrappers (one could argue that this is already a bug of the system, but I'm not the admin...). So without setting any additional environment-variables, cmake detects ifort as Fortran compiler and the MPI-wrapper mpif90 from PGI. As a result one obtains possibly strange compiler errors during make. It would be helpful to get at least an error from cmake if the compiler ID (or version) of MPI_Fortran_COMPILER and CMAKE_Fortran_COMPILER differ... Most probably the same effects could also occur for C / C ++, but I have not tested other languages than Fortran. | ||||
| Steps To Reproduce | Install compilers from different vendors and a specific MPI variant for each them. Then put all compilers and at least one MPI variant in the path. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-04-10 15:23 | Melven Roehrig-Zoellner | New Issue | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042533 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||