[Trilinos-Users] Error installing Trilinos with DTK

Jayaraman, Vegnesh vjayrmn2 at illinois.edu
Thu Jun 9 21:52:19 EDT 2016


Hi

I am trying to install DTK and Trilinos library

my configuration works and the command I used is as follows.:

cmake  -D CMAKE_BUILD_TYPE:STRING=DEBUG  -D CMAKE_VERBOSE_MAKEFILE:BOOL=OFF  -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;gcc" -D LAPACK_LIBRARY_DIRS=/home/vegnesh/codes/LAPACK/lapack-3.6.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


When I try to make the installation,

I get the following error:

error: ‘MPI_Comm_f2c’ was not declared in this scope
   MPI_Comm comm = MPI_Comm_f2c(fint);

/home/vegnesh/codes/trilinos/Trilinos/packages/epetra/src/Epetra_LAPACK.cpp:378: undefined reference to `sggsvd_

/home/vegnesh/codes/trilinos/Trilinos/packages/epetra/src/Epetra_LAPACK.cpp:369: undefined reference to `dggsvd_'

Thanks and Regards
Vegnesh

Can somebody please tell me how to avoid the errors

-D TPL_ENABLE_MPI:BOOL=OFF

But still the errors persist.



Thanks and Regards
Vegnesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160610/7cc350ea/attachment.html>


More information about the Trilinos-Users mailing list