[Trilinos-Users] Error installing trilinos with DTK (Data Transfer Tool Kit)

Jayaraman, Vegnesh vjayrmn2 at illinois.edu
Fri Jun 10 02:48:05 EDT 2016


Hi

I keep getting the following error


[ 84%] Building CXX object DataTransferKit/packages/Adapters/C_API/src/CMakeFiles/dtk_c_api.dir/DTK_C_API.cpp.o
/home/vegnesh/codes/trilinos/Trilinos/DataTransferKit/packages/Adapters/C_API/src/DTK_C_API.cpp: In function ‘DTK_Map* DTK_Map_create_f(MPI_Fint, const double*, unsigned int, DTK_Data_layout, const double*, unsigned int, DTK_Data_layout, int, const char*)’:
/home/vegnesh/codes/trilinos/Trilinos/DataTransferKit/packages/Adapters/C_API/src/DTK_C_API.cpp:136:36: error: ‘MPI_Comm_f2c’ was not declared in this scope
   MPI_Comm comm = MPI_Comm_f2c(fint);
                                    ^
/home/vegnesh/codes/trilinos/Trilinos/DataTransferKit/packages/Adapters/C_API/src/DTK_C_API.cpp: In function ‘DTK_Map* DTK_Map_create(MPI_Comm, const double*, unsigned int, DTK_Data_layout, const double*, unsigned int, DTK_Data_layout, int, const char*)’:
/home/vegnesh/codes/trilinos/Trilinos/DataTransferKit/packages/Adapters/C_API/src/DTK_C_API.cpp:176:9: error: ‘createMpiComm’ is not a member of ‘Teuchos’
         Teuchos::createMpiComm<int>(Teuchos::opaqueWrapper<MPI_Comm>(comm));
         ^
/home/vegnesh/codes/trilinos/Trilinos/DataTransferKit/packages/Adapters/C_API/src/DTK_C_API.cpp:176:32: error: expected primary-expression before ‘int’
         Teuchos::createMpiComm<int>(Teuchos::opaqueWrapper<MPI_Comm>(comm));

ERRORS:

‘MPI_Comm_f2c’ was not declared in this scope

error: ‘createMpiComm’ is not a member of ‘Teuchos’



I dont know how to solve the above problem.

I have see disable MPI and tried installing with / without OPENMP and the error occurs


My Cmake command is given below cmake  -D CMAKE_BUILD_TYPE:STRING=DEBUG  -D CMAKE_VERBOSE_MAKEFILE:BOOL=OFF -D TPL_ENABLE_MPI:BOOL=OFF -DTrilinos_ENABLE_OpenMP:BOOL=ON -D TPL_ENABLE_BLAS=ON -D BLAS_LIBRARY_NAMES="blas;gfortran" -D BLAS_LIBRARY_DIRS=/home/vegnesh/codes/BLAS/BLAS-3.5.0 -D TPL_ENABLE_LAPACK=ON -D LAPACK_LIBRARY_NAMES="lapack;gfortran" -D LAPACK_LIBRARY_DIRS=/home/vegnesh/codes/LAPACK/lapack-3.5.0  -DTrilinos_ENABLE_STK=OFF -DTrilinos_ENABLE_Ifpack=ON -DTrilinos_ENABLE_Ifpack2=ON -DTrilinos_ENABLE_Teuchos=ON -DTrilinos_ENABLE_ML=ON -DTrilinos_ENABLE_NOX=ON -DTrilinos_ENABLE_AztecOO=ON -DTrilinos_ENABLE_Epetra=ON -DTrilinos_ENABLE_EpetraExt=ON -DTrilinos_ENABLE_CXX11:BOOL=ON -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF -DTrilinos_ASSERT_MISSING_PACKAGES=OFF -DTrilinos_EXTRA_REPOSITORIES="DataTransferKit" -DTrilinos_ENABLE_DataTransferKit:BOOL=ON -DDataTransferKit_ENABLE_DBC:BOOL=ON  -DTPL_ENABLE_Netcdf=OFF -DTrilinos_ENABLE_ALL_PACKAGES=ON  -DDataTransferKit_ENABLE_TESTS:BOOL=ON -DDataTransferKit_ENABLE_EXAMPLES:BOOL=ON /home/vegnesh/codes/trilinos/Trilinos
:


Kindly help me out


Thanks and Regards
Vegnesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160610/33366aaf/attachment.html>


More information about the Trilinos-Users mailing list