| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| 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). | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0024385) David Partyka (developer) 2011-01-04 08:52 |
This module has been vastly re-factored in CMake 2.8.4, properly distinguishing between C/C++/Fortran compilers. When 2.8.4-RC1 is released please try it out and let us know if you still have any issues by reopening this bug or creating a new one. |
|
(0026304) David Cole (manager) 2011-05-02 14:45 |
Closing resolved issues that have not been updated in more than 3 months. |
| Notes |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |