View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014872CMakeCMakepublic2014-04-10 15:232016-06-10 14:31
ReporterMelven Roehrig-Zoellner 
Assigned ToKitware Robot 
PrioritylowSeveritytweakReproducibilityalways
StatusclosedResolutionmoved 
Platformx86_64OSLinuxOS VersionopenSUSE 13.1
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014872: FindMPI.cmake finds MPI of different compiler
DescriptionOn 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 ReproduceInstall 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042533)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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


Copyright © 2000 - 2018 MantisBT Team