[cmake-developers] [CMake 0015536]: Include directories for .mod files produced with IBM XL Fortran
Mantis Bug Tracker
mantis at public.kitware.com
Sun Apr 26 06:41:48 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list