S I did with the following options cmake -DTPL_ENABLE_MPI=ON -DMPI_BASE_DIR=/apps/compilers/openmpi/4.1.1 -DTrilinos_ENABLE_ALL_PACKAGES=ON -DTPL_ENABLE_Boost=OFF -DBUILD_SHARED_LIBS=ON -DTPL_ENABLE_Netcdf=OFF -DCMAKE_INSTALL_PREFIX=/apps/libs/Trillions-13.2 ../
On Tuesday, March 15, 2022 at 6:05:48 PM UTC+5:30 bruno.t...@gmail.com wrote: > Hello, > > Did you configure Trilinos with MPI support? > > Best, > > Bruno > > On Tuesday, March 15, 2022 at 7:09:55 AM UTC-4 punith...@gmail.com wrote: > >> 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/ca620c45-e729-4ac4-89cb-e9532744a9abn%40googlegroups.com.