MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010998 | CMake | Modules | public | 2010-07-15 18:54 | 2011-05-02 14:45 |
| Reporter | sly5 | ||||
| Assigned To | David Partyka | ||||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||
| Summary | 0010998: MPI_COMPILER defaults to mpicxx, doesn't work for Fortran only | ||||
| Description | FindMPI module looks for the C++ mpi compiler (mpicxx, mpiCC) wrapper to set the MPI_COMPILER. But for Fortran only projects, this doesn't work since one of C++ specific MPI libraries are added at the linker stage. (same goes for C only projects, but I haven't checked the actual behavior). This module can be made a bit smarter to detect whether C++ is enabled, and if not, try to locate fortran (mpif90, mpif77), or C (mpicc) compiler wrappers to resolve MPI_LIBRARIES. Note that, this is not really a fatal problem since MPI_COMPILER can be manually set in CMakeLists.txt (bad), or during the build (showstopper). | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-07-15 18:54 | sly5 | New Issue | |||
| 2010-12-08 10:45 | David Cole | Status | new => assigned | ||
| 2010-12-08 10:45 | David Cole | Assigned To | => David Partyka | ||
| 2011-01-04 08:52 | David Partyka | Note Added: 0024385 | |||
| 2011-01-04 08:52 | David Partyka | Status | assigned => resolved | ||
| 2011-01-04 08:52 | David Partyka | Fixed in Version | => CMake 2.8.4 | ||
| 2011-01-04 08:52 | David Partyka | Resolution | open => fixed | ||
| 2011-01-04 11:59 | David Cole | Target Version | => CMake 2.8.4 | ||
| 2011-05-02 14:45 | David Cole | Note Added: 0026304 | |||
| 2011-05-02 14:45 | David Cole | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||