[gmx-users] failed with intel compiler
Albert
mailmd2011 at gmail.com
Sun Dec 9 17:30:47 CET 2012
Hello:
I am compiling Gromacs4.6beta2 with intel cimpiler by command:
cmake .. -DGMX_MPI=ON
-DCMAKE_CXX_COMPILER=/soft/intel64/icc/bin/intel64/mpiCC
-DCMAKE_C_COMPILER=/soft/intel64/icc/bin/intel64/icc
But It fails with the following output:
Change Dir:
/home/albert/Downloads/gromacs/gromacs-4.6-beta2/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory
`/home/albert/Downloads/gromacs/gromacs-4.6-beta2/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/albert/Downloads/gromacs/gromacs-4.6-beta2/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o
/soft/intel64/icc/bin/intel64/mpiCC -o
CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c
/home/albert/Downloads/gromacs/gromacs-4.6-beta2/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
catastrophic error: Compiler configuration problem encountered. The
expected target architecture compiler is missing (11.1-intel64 !=
12.1-intel64)
(0): internal error: backend signals
compilation aborted for
/home/albert/Downloads/gromacs/gromacs-4.6-beta2/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
(code 4)
gmake[1]: Leaving directory
`/home/albert/Downloads/gromacs/gromacs-4.6-beta2/build/CMakeFiles/CMakeTmp
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o]
Error
4
gmake: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:157 (enable_language)
-- Configuring incomplete, errors occurred!
More information about the gromacs.org_gmx-users
mailing list