[Trilinos-Users] CentOS 5.5/Intel MPI build error

Dave Wade-Stein dws at txcorp.com
Fri Nov 19 15:56:17 MST 2010


I'm trying to build Trilinos 10.2.0 on a CentOS 5.5 system, using Intel MPI. Any ideas what I'm doing wrong?

...
Probing the environment ...

-- CMAKE_BUILD_TYPE='RELEASE'
-- MPI_USE_COMPILER_WRAPPERS='ON'
-- Leaving current CMAKE_C_COMPILER=mpicc since it is already set!
-- Leaving current CMAKE_CXX_COMPILER=mpicxx since it is already set!
-- Leaving current CMAKE_Fortran_COMPILER=mpif77 since it is already set!
-- MPI_EXEC='/opt/intel/impi/3.2.0.011/bin64/mpiexec'
-- MPI_EXEC='/opt/intel/impi/3.2.0.011/bin64/mpiexec'
-- CMAKE_C_COMPILER_ID='Intel'
-- The CXX compiler identification is Intel
-- Check for working CXX compiler: /opt/intel/impi/3.2.0.011/bin64/mpicxx
-- Check for working CXX compiler: /opt/intel/impi/3.2.0.011/bin64/mpicxx -- broken
CMake Error at /scratch/contrib/cmake-2.8.2-ser/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE)
:
  The C++ compiler "/opt/intel/impi/3.2.0.011/bin64/mpicxx" is not able to
  compile a simple test program.

  It fails with the following output:

   Change Dir: /scratch/xuser/extdws/vpall-4.2/builds/trilinos-10.2.0/par/CMakeFiles/CMakeTmp

My LD_LIBRARY_PATH is set to include the lib64 subdir of the Intel MPI installation, and my CMake configure line is:
  
cmake -DCMAKE_INSTALL_PREFIX:PATH=/scratch/contrib/trilinos-10.2.0-par -DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DTPL_ENABLE_MPI:BOOL=ON -DCMAKE_C_COMPILER:FILEPATH='mpicc' -DCMAKE_CXX_COMPILER:FILEPATH='mpicxx' -DCMAKE_Fortran_COMPILER:FILEPATH='mpif77' -DCMAKE_C_FLAGS:STRING='-fPIC' -DCMAKE_CXX_FLAGS:STRING='-fPIC' -DCMAKE_Fortran_FLAGS:STRING='-fPIC' -DTrilinos_ENABLE_Amesos:BOOL=ON -DTrilinos_ENABLE_ML:BOOL=ON -DTrilinos_ENABLE_AztecOO:BOOL=ON -DTrilinos_ENABLE_EpetraExt:BOOL=ON -DTrilinos_ENABLE_Epetra:BOOL=ON -DTrilinos_ENABLE_Triutils:BOOL=ON -DTrilinos_ENABLE_Teuchos:BOOL=ON -DTrilinos_ENABLE_Ifpack:BOOL=ON -DTrilinos_ENABLE_Galeri:BOOL=ON -DDART_TESTING_TIMEOUT:STRING=600  -DBUILD_SHARED_LIBS:BOOL=ON -DTrilinos_EXTRA_LINK_FLAGS:STRING='-L/usr/lib/gcc/x86_64-redhat-linux/4.1.1 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.1.1' -DLAPACK_LIBRARY_DIRS:PATH='/scratch/contrib/atlas-3.8.3-ser/lib' -DLAPACK_LIBRARY_NAMES:STRING='lapack' -DBLAS_LIBRARY_DIRS:PATH='/scratch/contrib/atlas-3.8.3-ser/lib' -DBLAS_LIBRARY_NAMES:STRING='cblas;atlas' /scratch/xuser/extdws/vpall-4.2/builds/trilinos-10.2.0  

Thanks for any help!
Dave






More information about the Trilinos-Users mailing list