[Trilinos-Users] MPI

Alireza Nejadmalayeri Alireza.Nejadmalayeri at Colorado.EDU
Thu Sep 23 19:56:38 MDT 2010


Hello,

Without MPI support I can make successfully using the attached cmake configure script though after setting TPL_ENABLE_MPI:BOOL=ON, the mpi.h cannot be found:

# make
/usr/local/bin/cmake -H/root/The_Trilions_Project/trilinos-10.4.1-Source -B/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/CMakeFiles /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02'
make -f packages/teuchos/src/CMakeFiles/teuchos.dir/build.make packages/teuchos/src/CMakeFiles/teuchos.dir/depend
make[2]: Entering directory `/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02'
cd /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02 && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /root/The_Trilions_Project/trilinos-10.4.1-Source /root/The_Trilions_Project/trilinos-10.4.1-Source/packages/teuchos/src /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02 /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/packages/teuchos/src /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/packages/teuchos/src/CMakeFiles/teuchos.dir/DependInfo.cmake --color=
Scanning dependencies of target teuchos
make[2]: Leaving directory `/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02'
make -f packages/teuchos/src/CMakeFiles/teuchos.dir/build.make packages/teuchos/src/CMakeFiles/teuchos.dir/build
make[2]: Entering directory `/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02'
/usr/local/bin/cmake -E cmake_progress_report /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/CMakeFiles
[  0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_BLAS.cpp.o
cd /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/packages/teuchos/src && /opt/intel/Compiler/11.0/074/bin/intel64/icpc   -DTEUCHOS_LIB_EXPORTS_MODE -g -I/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02 -I/root/The_Trilions_Project/trilinos-10.4.1-Source -I/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/packages/teuchos/src -I/root/The_Trilions_Project/trilinos-10.4.1-Source/packages/teuchos/src   -o CMakeFiles/teuchos.dir/Teuchos_BLAS.cpp.o -c /root/The_Trilions_Project/trilinos-10.4.1-Source/packages/teuchos/src/Teuchos_BLAS.cpp
/usr/local/bin/cmake -E cmake_progress_report /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/CMakeFiles
[  0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o
cd /root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/packages/teuchos/src && /opt/intel/Compiler/11.0/074/bin/intel64/icpc   -DTEUCHOS_LIB_EXPORTS_MODE -g -I/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02 -I/root/The_Trilions_Project/trilinos-10.4.1-Source -I/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02/packages/teuchos/src -I/root/The_Trilions_Project/trilinos-10.4.1-Source/packages/teuchos/src   -o CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o -c /root/The_Trilions_Project/trilinos-10.4.1-Source/packages/teuchos/src/Teuchos_CTimeMonitor.cpp
/root/The_Trilions_Project/trilinos-10.4.1-Source/packages/teuchos/src/Teuchos_MPIComm.hpp(41): catastrophic error: could not open source file "mpi.h"
  #include "mpi.h"
                  ^

compilation aborted for /root/The_Trilions_Project/trilinos-10.4.1-Source/packages/teuchos/src/Teuchos_CTimeMonitor.cpp (code 4)
make[2]: *** [packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o] Error 4
make[2]: Leaving directory `/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02'
make[1]: *** [packages/teuchos/src/CMakeFiles/teuchos.dir/all] Error 2
make[1]: Leaving directory `/root/The_Trilions_Project/trilinos-10.4.1__Install_mpi_02'
make: *** [all] Error 2




Any help would be appreciated.

Thank you,
alireza
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: blast_linux-ifort-11.0_mpi_cmake
Url: https://software.sandia.gov/pipermail/trilinos-users/attachments/20100923/4b88f838/attachment.pl 


More information about the Trilinos-Users mailing list