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
CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.f.o -o cmTryCompileExec
  -rdynamic

  pgf90-Error-Unknown switch: -rdynamic

  gmake[1]: *** [cmTryCompileExec] Error 1

The cause is here: apparently pgf90 does not know the -rdynamic flag.
You should probably check the CMake module for that compiler.

Regards,

Arjen
_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to