Dear all, I am writing you concerning my one-year old message: http://www.cmake.org/pipermail/cmake/2011-November/047460.html , to which I replied, but it was bounced (see email below).
On one server I found no asisgnement of offending libcilkrts.so for static linking with Intel: content of CMakeFiles/dirac.x.dir/link.txt: /home/ilias/intel/composer_xe_2011_sp1.9.293/bin/intel64/ifort -static -Wl,-E -w -assume byterecl -DVAR_IFORT -g -traceback -static-libgcc -static-intel -i8 -O3 -ip CMakeFiles/dirac.x.dir/src/main/main.F90.o -o dirac.x -i_dynamic lib/libdirac.a lib/libxcfun.a -lstdc++ -Wl,--start-group /home/ilias/intel/mkl/lib/intel64/libmkl_lapack95_ilp64.a -Wl,--end-group -Wl,--start-group -limf /home/ilias/intel/mkl/lib/intel64/libmkl_core.a /home/ilias/intel/mkl/lib/intel64/libmkl_intel_thread.a /usr/lib64/libpthread.a /usr/lib64/libm.a /home/ilias/intel/mkl/lib/intel64/libmkl_intel_ilp64.a -openmp -Wl,--end-group while on the other machine I found wrong assignement of the dynamic-only (http://software.intel.com/en-us/forums/topic/265644) library libcilkrts : content of CMakeFiles/dirac.x.dir/link.txt: /home/ilias/intel/composer_xe_2011_sp1.9.293/bin/intel64/ifort -static -Wl,-E -w -assume byterecl -DVAR_IFORT -g -traceback -static-libgcc -static-intel -i8 -O0 CMakeFiles/dirac.x.dir/src/main/main.F90.o -o dirac.x -i_dynamic lib/libdirac.a lib/libxcfun.a -lstdc++ -Wl,--start-group /home/ilias/intel/mkl/lib/intel64/libmkl_lapack95_ilp64.a -Wl,--end-group -Wl,--start-group -limf /home/ilias/intel/mkl/lib/intel64/libmkl_core.a /home/ilias/intel/mkl/lib/intel64/libmkl_intel_thread.a /usr/lib64/libpthread.a /usr/lib64/libm.a /home/ilias/intel/mkl/lib/intel64/libmkl_intel_ilp64.a -openmp -Wl,--end-group -Wl,--no-export-dynamic -ldecimal -lcilkrts -lstdc++ -lirc -ldecimal -lcilkrts -lstdc++ -lirc By comparing "CMakeFiles/CMakeOutput.log" files I found several differences, for instance, the 'proper' one starts The system is: Linux - 2.6.18-308.13.1.el5 - x86_64 Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F90" succeeded. Compiler: /home/ilias/intel/composer_xe_2011_sp1.9.293/bin/intel64/ifort see https://docs.google.com/open?id=0B8qBHKNhZAipOWV2ZW5FZ3duRTg while the bad one, the "cilkrts-spoiled" contains: The system is: Linux - 2.6.32-279.14.1.el6.x86_64 - x86_64 Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" succeeded. Compiler: /home/ilias/intel/composer_xe_2011_sp1.9.293/bin/intel64/ifort see https://docs.google.com/open?id=0B8qBHKNhZAipbllmM09ianI0NDg Any help, please ? I would be very glad to have possibility to modify CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES .... Best, Miro ________________________________________ From: cmake-boun...@cmake.org [cmake-boun...@cmake.org] Sent: Sunday, November 13, 2011 5:33 PM To: Ilias Miroslav Subject: Your message to CMake awaits moderator approval Your mail to 'CMake' with the subject RE: ifort,icc,icpc: ld: cannot find -lcilkrts Is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 68048 bytes with a limit of 40 KB Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://www.cmake.org/mailman/confirm/cmake/8c1ef1ce750a4ee13546dd3e8d4c770f618d3b8b -- 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