[CMake] Problem with support for Intel Fortran compiler?

Bill Hoffman bill.hoffman at kitware.com
Tue May 29 08:50:35 EDT 2007


Arjen Markus wrote:
> Hello,
>
> I received a message from a user of the PLplot package regarding Intel 
> Fortran 9 on
> a Linux system. Here is the output he posted:
>
> /usr/bin/cmake -P
> CMakeFiles/cmTryCompileExec.dir/cmake_clean_target.cmake 
> /usr/local/intel/bin/ifort
> -KPIC  -lm  -O2
> "CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.o"   -o
> cmTryCompileExec -i_dynamic IPO link: can not find "(" ifort: error:
> problem during multi-file optimization compilation (code 1) gmake[1]:
> *** [cmTryCompileExec] Error 1 gmake[1]: Leaving directory
> `/home/vv/RPM/BUILD/plplot-5.7.3/alt/CMakeFiles/CMakeTmp' gmake: ***
> [cmTryCompileExec/fast] Error 2
>
>
>
> Can anyone shed some light on this?
Looks like the -O2 might be causing trouble for some reason.  

-Bill




More information about the CMake mailing list