From: Valery P. <pi...@is...> - 2007-05-29 07:40:44
|
Hi! > >I have intel fortran 9 installed in /usr/local/intel. > >I heard that libtool does not support ifort. Also, there is linking > >problem like : > > > >/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 > > > I don't remember having tried the Intel Fortran compiler via CMake, > but this looks > like a problem in the CMake support for that compiler. This is a feature (or bug) of ifort. It appears for multi-file optimization. There is a disscussion about somewhere in the net.I don't remeber where I found it. The similar bug appeared when I tried to compile "windows_to_the_stars" with ifort. I don't know how to switch it off for cmake. > Well, it may not be of any > importance to you, but there may be others who do depend on it ;). Potentially it is important for me too. best regards V |