Re: [CMake] pgf90 error

2010-03-30 Thread Brad King
Verweij, Arjen wrote: > Will 2.8.x clear this flag on Linux when the compiler is pgf90? Yes, 2.8.1 has full support for PGI. Some platform info file refactoring was done to avoid setting GNU-specific flags in platform-wide files. -Brad ___ Powered by w

Re: [CMake] pgf90 error

2010-03-29 Thread Verweij, Arjen
Hi, Sorry for reviving this, but I've read it and I didn't understand. Will some version of 2.8.x clear this flag on Linux when the compiler is pgf90 or is this now a documented feature for which you need to clear the flags manually? For the record, when using pgf90 you also need to clear CMAK

Re: [CMake] pgf90 error

2009-12-01 Thread Brad King
Brad King wrote: > John Vines (CISD/CIV) wrote: >> pgf90-Error-Unknown switch: -rdynamic > > Due to some historic cruft this compiler is not supported on Linux right now. > In "Modules/Platform/Linux.cmake" comment out the line > > SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic") > > This

Re: [CMake] pgf90 error

2009-11-20 Thread Arjen Markus
On 2009-11-20 16:11, John Vines (CISD/CIV) wrote: I am trying to compile a simple fortran "Hello World!" program with the Portland Group compilers (version 8.0) and am running in to a problems. I am using with CMake (ver 2.8.0-rc5). /opt/compiler/pgi/linux86-64/8.0/bin/pgf90 CMakeFil

Re: [CMake] pgf90 error

2009-11-20 Thread Brad King
John Vines (CISD/CIV) wrote: > pgf90-Error-Unknown switch: -rdynamic Due to some historic cruft this compiler is not supported on Linux right now. In "Modules/Platform/Linux.cmake" comment out the line SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic") This is on our TODO list for 2.8.x but

[CMake] pgf90 error

2009-11-20 Thread John Vines (CISD/CIV)
I am trying to compile a simple fortran "Hello World!" program with the Portland Group compilers (version 8.0) and am running in to a problems. I am using with CMake (ver 2.8.0-rc5). My helloworld.f90 code: program HelloWorldF90 write(*,*) "Greeting, Hello World!" end program HelloWorld