[cmake-developers] [CMake 0012553]: FindMPI.cmake fails if MPI_LINK_CMDLINE contains multiple lines.

Mantis Bug Tracker mantis at public.kitware.com
Wed Nov 2 15:41:15 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12553 
====================================================================== 
Reported By:                K. R. Walker
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12553
Category:                   Modules
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-11-02 15:41 EDT
Last Modified:              2011-11-02 15:41 EDT
====================================================================== 
Summary:                    FindMPI.cmake fails if MPI_LINK_CMDLINE contains
multiple lines.
Description: 
On at least two systems, mpif90 -show returns a 3-line script (see attached
reproduce.cmake) which causes the link command-line to be parsed incorrectly.
This leads to MPI not finding "rt\nrm" (notice embedded newline).






Steps to Reproduce: 
cmake -P reproduce.cmake # see attached.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-11-02 15:41 K. R. Walker   New Issue                                    
2011-11-02 15:41 K. R. Walker   File Added: reproduce.cmake                    
======================================================================




More information about the cmake-developers mailing list