[CMake] Cmake with Cray Fortran

Tim Gallagher tim.gallagher at gatech.edu
Sat Mar 5 09:36:20 EST 2011


Eric,

Excellent! Thanks!

I don't know a whole lot about CMake (yet) -- would it be possible to make older versions aware of the compiler if I were to package only the updated files rather than install my own version of CMake? In other words, was it something simple like changing the CMakeFortranCompilerId.F file and if so, could I tell another version of CMake to use my own copy of that file?

It would be a lot easier if I only had to make our users put a few extra files somewhere than have them all install their own version of CMake in their home directories on all these Cray machines. 

Thanks agian,

Tim

----- Original Message -----
From: "Eric Noulard" <eric.noulard at gmail.com>
To: gtg085x at mail.gatech.edu
Cc: "Tim Gallagher" <tim.gallagher at gatech.edu>, cmake at cmake.org
Sent: Saturday, March 5, 2011 3:23:53 AM
Subject: Re: [CMake] Cmake with Cray Fortran

2011/3/5 Tim Gallagher <tim.gallagher at gatech.edu>:
> Hi,
>
> I'm trying to use cmake with the Cray Fortran compiler. The compiler is wrapped through a script called ftn.
>
> When I have the PrgEnv-pgi (pgi compiler) or the PrgEnv-gnu modules loaded, it works with no issue.
>
> But, when I have it set to PrgEnv-cray, it doesn't work.

Hi Tim,

You should try with CMake 2.8.4.
It should include support for Cray compiler:
http://www.cmake.org/files/v2.8/CMakeChangeLog-2.8.4

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list