Re: [CMake] Cmake with Cray Fortran

2011-03-08 Thread Brad King
On 03/07/2011 09:54 PM, Tim Gallagher wrote: How can I get it to drop the -rdynamic option? That option appears because the host system name is probably Linux on which that option is supported. You need to set up a cross-compiling toolchain file that sets the correct name of the target

Re: [CMake] Cmake with Cray Fortran

2011-03-08 Thread Tim Gallagher
: Brad King brad.k...@kitware.com To: Tim Gallagher tim.gallag...@gatech.edu Cc: gtg0...@mail.gatech.edu, cmake@cmake.org Sent: Tuesday, March 8, 2011 8:28:08 AM Subject: Re: [CMake] Cmake with Cray Fortran On 03/07/2011 09:54 PM, Tim Gallagher wrote: How can I get it to drop the -rdynamic option

Re: [CMake] Cmake with Cray Fortran

2011-03-07 Thread Tim Gallagher
eric.noul...@gmail.com Cc: gtg0...@mail.gatech.edu, cmake@cmake.org Sent: Saturday, March 5, 2011 12:03:40 PM Subject: Re: [CMake] Cmake with Cray Fortran FYI, if you want to build static on cray, Brad just checked in a fix into CMake yesterday that addresses -Bdynamic link flags showing up

Re: [CMake] Cmake with Cray Fortran

2011-03-06 Thread Eric Noulard
2011/3/5 Tim Gallagher tim.gallag...@gatech.edu: It's not an option to do a global install. These are US government owned clusters. I asked them if they could install it and they won't for awhile -- they tend to remain a few versions back on everything until they run extensive tests on new

Re: [CMake] Cmake with Cray Fortran

2011-03-05 Thread Eric Noulard
2011/3/5 Tim Gallagher tim.gallag...@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

Re: [CMake] Cmake with Cray Fortran

2011-03-05 Thread Tim Gallagher
machines. Thanks agian, Tim - Original Message - From: Eric Noulard eric.noul...@gmail.com To: gtg0...@mail.gatech.edu Cc: Tim Gallagher tim.gallag...@gatech.edu, cmake@cmake.org Sent: Saturday, March 5, 2011 3:23:53 AM Subject: Re: [CMake] Cmake with Cray Fortran 2011/3/5 Tim Gallagher

Re: [CMake] Cmake with Cray Fortran

2011-03-05 Thread Eric Noulard
2011/3/5 Tim Gallagher tim.gallag...@gatech.edu: 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

Re: [CMake] Cmake with Cray Fortran

2011-03-05 Thread David Partyka
FYI, if you want to build static on cray, Brad just checked in a fix into CMake yesterday that addresses -Bdynamic link flags showing up in the link line even though you're trying to build static, often resulting in your executable prefering to link against shared system libraries rather than

Re: [CMake] Cmake with Cray Fortran

2011-03-05 Thread Tim Gallagher
: Eric Noulard eric.noul...@gmail.com To: gtg0...@mail.gatech.edu Cc: Tim Gallagher tim.gallag...@gatech.edu, cmake@cmake.org Sent: Saturday, March 5, 2011 11:21:20 AM Subject: Re: [CMake] Cmake with Cray Fortran 2011/3/5 Tim Gallagher tim.gallag...@gatech.edu: Eric, Excellent! Thanks! I don't

[CMake] Cmake with Cray Fortran

2011-03-04 Thread Tim Gallagher
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. I manually compiled

[CMake] Cmake with Cray Fortran

2011-03-04 Thread Tim Gallagher
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. I manually compiled