[Trilinos-Users] error compiling Trilinos Sundance
Andrea Penza
pepe.aero at alice.it
Fri Feb 24 12:42:11 MST 2012
Hi all,
I'm trying compiling Sundance package for Trilinos 10.8.3 release on a system. The configuration ends with success using this "do-configure.sh" script:
EXTRA_ARGS=$@
cmake \
-D CMAKE_BUILD_TYPE:STRING=DEBUG \
-D BUILD_SHARED_LIBS:BOOL=TRUE \
-D Trilinos_ENABLE_Sundance:BOOL=ON \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D Trilinos_ENABLE_SEACAS:BOOL=ON \
-D Trilinos_ENABLE_Pamgen:BOOL=TRUE \
-D TPL_BLAS_LIBRARIES:PATH=/data/libs/blas/gnu/lib/libblas.a \
-D TPL_LAPACK_LIBRARIES:PATH=/data/libs/lapack/3.3.1/gnu/lib/liblapack.a \
-D TPL_ENABLE_MPI:BOOL=ON \
-D MPI_INCLUDE_DIRS:PATH=/data/libs/openmpi/1.4.3/gnu44/include:/data/libs/openmpi/1.4.3/gnu44/include/openmpi/ompi/mpi/cxx \
-D MPI_LIBRARY_NAMES:STRING="otf;vt;vt.fmpi;vt.mpi;vt.omp;vt.ompi" \
-D MPI_LIBRARY_DIRS:PATH=/data/libs/openmpi/1.4.3/gnu44/lib \
-D TPL_ENABLE_Netcdf:BOOL=ON \
-D Netcdf_INCLUDE_DIRS:PATH=/scratch/penza/netcdf-4.1.3/include \
-D Netcdf_LIBRARY_NAMES:STRING="netcdf;netcdf_c++;netcdff" \
-D Netcdf_LIBRARY_DIRS:PATH=/scratch/penza/netcdf-4.1.3/BUILD/lib \
$EXTRA_ARGS \
${TRILINOS_HOME}
Running the command "make" in the build directory this error occurs:
[ 0%] Built target last_lib
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o
In file included from /scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/Teuchos_GlobalMPISession.hpp:52,
from /scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/Teuchos_FancyOStream.hpp:46,
from /scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/Teuchos_Describable.hpp:46,
from /scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/Teuchos_ReductionOp.hpp:45,
from /scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/Teuchos_Comm.hpp:45,
from /scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/Teuchos_TimeMonitor.hpp:64,
from /scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/Teuchos_CTimeMonitor.cpp:43:
/scratch/penza/trilinos-10.8.3-Source/packages/teuchos/src/mpi.h:1886:41: error: openmpi/ompi/mpi/cxx/mpicxx.h: No such file or directory
make[2]: *** [packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o] Error 1
make[1]: *** [packages/teuchos/src/CMakeFiles/teuchos.dir/all] Error 2
make: *** [all] Error 2
Notice that the mpicxx.h file the system try to find is correctly located in the /data/libs/openmpi/1.4.3/gnu44/include/openmpi/ompi/mpi/cxx
Has anyone idea of how this issue could be solved?
Thanks in advance for your support.
Best regards,
Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20120224/24c2f1fe/attachment.html
More information about the Trilinos-Users
mailing list