The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15536 
====================================================================== 
Reported By:                Paul Romano
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15536
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-04-26 06:41 EDT
Last Modified:              2015-04-26 06:41 EDT
====================================================================== 
Summary:                    Include directories for .mod files produced with IBM
XL Fortran
Description: 
When the IBM XL Fortran compiler is detected, the following is set:

set(CMAKE_Fortran_MODDIR_Flag "-qmoddir=")

According to the xlf documentation, this flag specifies where .mod files
produced should be placed. However, unlike the -J option for gfortran and the
-module option for ifort, -qmoddir does not tell the compiler to search for
module files in this directory; for that, one also needs to specify -I. Thus, in
order to work properly, you really need something like:

-qmoddir=includedir -Iincludedir

Additional Information: 
I'm using the IBM XL Fortran 14.1 for BlueGene/Q compiler on the Mira
supercomputer at Argonne National Laboratory.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-26 06:41 Paul Romano    New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to