I've compiled a deal.ii using CMake with the below options 

cmake -DCMAKE_INSTALL_PREFIX=/apps/codes/deal_II/9.3.3 
-DHDF5_DIR=/apps/libs/hdf5/gcc/1.12.1 -DP4EST_DIR=/apps/libs/p4est-2.8 
-DDEAL_II_WITH_MPI=ON -DTRILINOS_DIR=/apps/libs/Trillions-13.2 ../

compile was successful
while installing using the command* make --jobs=4 install *I'm getting the 
below error

../lib/libdeal_II.so.9.3.3: error: undefined reference to 
'Epetra_MpiComm::Epetra_MpiComm(int)'
../lib/libdeal_II.so.9.3.3: error: undefined reference to 
'Teuchos::details::safeCommFree(int*)'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/step-10.release] Error 1
../lib/libdeal_II.so.9.3.3: error: undefined reference to 
'Epetra_MpiComm::Epetra_MpiComm(int)'
../lib/libdeal_II.so.9.3.3: error: undefined reference to 
'Teuchos::details::safeCommFree(int*)'
make[1]: *** [examples/CMakeFiles/step-10.release.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../lib/libdeal_II.so.9.3.3: error: undefined reference to 'collect2: error: 
ld returned 1 exit status
Epetra_MpiComm::Epetra_MpiComm(int)'
../lib/libdeal_II.so.9.3.3: error: undefined reference to 
'Teuchos::details::safeCommFree(int*)'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/step-12.release] Error 1
make[2]: *** [bin/step-11.release] Error 1
make[1]: *** [examples/CMakeFiles/step-12.release.dir/all] Error 2
make[1]: *** [examples/CMakeFiles/step-11.release.dir/all] Error 2
../lib/libdeal_II.so.9.3.3: error: undefined reference to 
'Epetra_MpiComm::Epetra_MpiComm(int)'
../lib/libdeal_II.so.9.3.3: error: undefined reference to 
'Teuchos::details::safeCommFree(int*)'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/step-1.release] Error 1
make[1]: *** [examples/CMakeFiles/step-1.release.dir/all] Error 2
make: *** [all] Error 2

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/46ce19fa-b71d-4661-81c5-a3432df0bfb9n%40googlegroups.com.

Reply via email to