Cmake-MPI

604 views
Skip to first unread message

fea...@gmail.com

unread,
Dec 4, 2017, 2:47:00 AM12/4/17
to deal.II User Group
Deal Deal.II Team,

I would ask, when I install OPEN-MPI, then I make install for dealii again, I get the following error:

[ 77%] Linking CXX executable ../bin/step-8.release
../lib/libdeal_II.so.9.0.0-pre: error: undefined reference to 'Epetra_MpiComm::Epetra_MpiComm(int)'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/step-8.release.dir/build.make:247: recipe for target 'bin/step-8.release' failed
make[2]: *** [bin/step-8.release] Error 1
CMakeFiles/Makefile2:3758: recipe for target 'examples/CMakeFiles/step-8.release.dir/all' failed
make[1]: *** [examples/CMakeFiles/step-8.release.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

How can solve this problem?

Kind Regards,
Yaakov

Bruno Turcksin

unread,
Dec 4, 2017, 8:40:36 AM12/4/17
to deal.II User Group
Yaakov,


On Monday, December 4, 2017 at 2:47:00 AM UTC-5, fea...@gmail.com wrote:
[ 77%] Linking CXX executable ../bin/step-8.release
../lib/libdeal_II.so.9.0.0-pre: error: undefined reference to 'Epetra_MpiComm::Epetra_MpiComm(int)'
There is a problem with Trilinos. deal.II can't link against it. Did you move Trilinos or change the configuration? Also if you have installed a new version of openmpi, I would strongly recommend that you reinstall all the libraries using MPI from scratch. Don't simply run make but delete the libraries and reconfigure and reinstall them. Otherwise the libraries may use different version of openmpi/mpich and it leads to weird bugs.

Best,

Bruno

fea...@gmail.com

unread,
Dec 4, 2017, 8:13:38 PM12/4/17
to deal.II User Group
Bruno,

Many thanks for your help.

Now I reinstall used packets, and I got another Bug:

[ 16%] Building CXX object source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o
In file included from /usr/include/petsc/petscbag.h:4:0,
                 from /usr/include/petsc/petsc.h:5,
                 from /home/feapman/dealii/include/deal.II/fe/fe_values.h:48,
                 from /home/feapman/dealii/include/deal.II/hp/fe_values.h:24,
                 from /home/feapman/dealii/include/deal.II/numerics/data_out_dof_data.h:30,
                 from /home/feapman/dealii/include/deal.II/numerics/data_out.h:22,
                 from /home/feapman/dealii/source/numerics/data_out.cc:17:
/usr/include/petsc/petscsys.h:165:6: error: #error "PETSc was configured with OpenMPI but now appears to be compiling using a non-OpenMPI mpi.h"
 #    error "PETSc was configured with OpenMPI but now appears to be compiling using a non-OpenMPI mpi.h"
      ^~~~~
source/numerics/CMakeFiles/obj_numerics_release.dir/build.make:62: recipe for target 'source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o' failed
make[2]: *** [source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o] Error 1
CMakeFiles/Makefile2:2989: recipe for target 'source/numerics/CMakeFiles/obj_numerics_release.dir/all' failed
make[1]: *** [source/numerics/CMakeFiles/obj_numerics_release.dir/all] Error 2

Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

I think, I don't use Petsc  Option for Deal.II ...

would you let know how can I solve this new bug?

Warm regards,
Yaakov

Wolfgang Bangerth

unread,
Dec 4, 2017, 8:20:56 PM12/4/17
to dea...@googlegroups.com
On 12/04/2017 06:13 PM, fea...@gmail.com wrote:
>
> /usr/include/petsc/petscsys.h:165:6: error: #error "PETSc was configured
> with OpenMPI but now appears to be compiling using a non-OpenMPI mpi.h"
>  #    error "PETSc was configured with OpenMPI but now appears to be
> compiling using a non-OpenMPI mpi.h"
>       ^~~~~
> source/numerics/CMakeFiles/obj_numerics_release.dir/build.make:62:
> recipe for target
> 'source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o' failed
> make[2]: ***
> [source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o] Error 1
> CMakeFiles/Makefile2:2989: recipe for target
> 'source/numerics/CMakeFiles/obj_numerics_release.dir/all' failed
> make[1]: *** [source/numerics/CMakeFiles/obj_numerics_release.dir/all]
> Error 2
> Makefile:129: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I think, I don't use Petsc  Option for Deal.II ...
>
> would you let know how can I solve this new bug?

But clearly it is installed on your system, and using your previous
installation of MPI.

It is generally a poor idea to have multiple versions of MPI on the same
system. In your case, get rid of all of them, and then of all of the
packages you have built on top of these MPI installations. Then start
from scratch, pick one MPI package, and start rebuilding all of the
packages that need it.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

fea...@gmail.com

unread,
Dec 5, 2017, 10:05:42 AM12/5/17
to deal.II User Group
Dear Prof. Bangerth,

Many thanks for your help!

I would ask, is It possible that I can delete all openmpi in ubuntu? then install a new one?

The worst solution maybe reinstall ubuntu system as before  I have installed serveral versions of openmpi.

Kind regards,
Yaakov

Wolfgang Bangerth

unread,
Dec 5, 2017, 10:08:10 AM12/5/17
to dea...@googlegroups.com, fea...@gmail.com
On 12/05/2017 08:05 AM, fea...@gmail.com wrote:
>
> I would ask, is It possible that I can delete all openmpi in ubuntu? then
> install a new one?

That depends on how you installed them. If you used a package manager, you can
uninstall packages through the package manager.


> The worst solution maybe reinstall ubuntu system as before I have installed
> serveral versions of openmpi.

In the worst case yes. It's a pretty bad idea to have multiple versions of MPI
on a system, as has been remarked many times on the mailing list.

fea...@gmail.com

unread,
Dec 6, 2017, 12:31:31 PM12/6/17
to deal.II User Group
Dear Prof. Bangerth & Dear dealii Team,

Now I install deallii in a new ubuntu desktop (openmpi & p4est & TRILINOS)

command make install works well.

but command make test doesn't work any more.
e.g.
Test project /home/feapmann/dealii/build/tests/quick_tests
      Start  1: step.debug
 1/10 Test  #1: step.debug .......................***Failed   20.55 sec
make[7]: *** [tests/quick_tests/CMakeFiles/step.debug.run] Error 1
make[6]: *** [tests/quick_tests/CMakeFiles/step.debug.run.dir/all] Error 2
make[5]: *** [tests/quick_tests/CMakeFiles/step.debug.run.dir/rule] Error 2
make[4]: *** [step.debug.run] Error 2
Test step.debug: RUN

complete bugs see the attached text.

Many thanks for your support!

Warm regards,

Yaakov
error_report

Wolfgang Bangerth

unread,
Dec 6, 2017, 12:35:05 PM12/6/17
to dea...@googlegroups.com
On 12/06/2017 10:31 AM, fea...@gmail.com wrote:
>
> Test project /home/feapmann/dealii/build/tests/quick_tests
>       Start  1: step.debug
>  1/10 Test  #1: step.debug .......................***Failed   20.55 sec
> make[7]: *** [tests/quick_tests/CMakeFiles/step.debug.run] Error 1
> make[6]: *** [tests/quick_tests/CMakeFiles/step.debug.run.dir/all] Error 2
> make[5]: *** [tests/quick_tests/CMakeFiles/step.debug.run.dir/rule] Error 2
> make[4]: *** [step.debug.run] Error 2
> Test step.debug: RUN
>
> complete bugs see the attached text.

Something is wrong with your MPI installation:

./step.debug: symbol lookup error: /usr/lib/libmpi_mpifh.so.12:
undefined symbol: mpi_fortran_weights_empty

I have no idea how you installed it, and I also don't know why your
program is linked against the Fortran version of the MPI library, but
something must have gone wrong when you installed this version of MPI.

fea...@gmail.com

unread,
Dec 11, 2017, 11:00:32 AM12/11/17
to deal.II User Group
Dear Prof. Bangerth,

Today I install Ubuntu again.

for mpi installation. I only use command : sudo apt-get install mpich

then I compilate deallii with mpi, but It not works ...

error report:

~/Documents/PROGRAM/dealii-8.5.1/build$ cmake -DDEAL_II_WITH_MPI=ON .
-- This is CMake 3.9.1
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_external_macros.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_add_flags.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_check_compiler_setup.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_check_cxx_compiler_bug.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_check_mpi_interface.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_clear_cmake_required.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_configure_feature.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_add_definitions.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_add_library.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_add_test.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_find_file.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_find_library.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_find_path.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_insource_setup_target.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_invoke_autopilot.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_package_handle.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_pickup_tests.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_query_git_information.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_deal_ii_setup_target.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_decorate_with_stars.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_enable_if_links.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_enable_if_supported.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_enable_language_optional.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_evaluate_expression.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_expand_instantiations.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_filter_system_libraries.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_find_package.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_find_system_library.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_item_matches.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_purge_feature.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_push_cmake_required.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_register_feature.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_remove_duplicates.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_replace_flag.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_reset_cmake_required.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_set_if_empty.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_strip_flag.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_switch_library_preference.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_to_string.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_to_string_and_add_prefix.cmake
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/macros/macro_verbose_include.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_cached_variables.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_deal_ii.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_compiler_flags.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_compiler_flags_gnu.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/bundled/setup_bundled.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/checks/check_01_compiler_features.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/checks/check_01_cpu_features.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/checks/check_01_cxx_features.cmake
-- Using C++ version flag "-std=c++14"
-- Using C++ version flag "-std=c++14"
-- DEAL_II_WITH_CXX11 successfully set up
-- DEAL_II_WITH_CXX14 successfully set up
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/checks/check_02_system_features.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/checks/check_03_compiler_bugs.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/checks/check_03_generator_bugs.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_1_bzip2.cmake
-- DEAL_II_WITH_BZIP2 is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_1_lapack.cmake
-- A library with BLAS API found.
-- A library with LAPACK API found.
--   LAPACK_LIBRARIES: /usr/lib/x86_64-linux-gnu/libopenblas.so;/usr/lib/x86_64-linux-gnu/libopenblas.so;/usr/lib/x86_64-linux-gnu/libopenblas.so;gfortran;m;gcc_s;gcc;quadmath;m;gcc_s;gcc;c;gcc_s;gcc
--   LAPACK_LINKER_FLAGS:
-- Found LAPACK
-- DEAL_II_WITH_LAPACK successfully set up with external dependencies.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_1_mpi.cmake
-- Unable to determine MPI from MPI driver /usr/bin/cc
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Unable to determine MPI from MPI driver /usr/bin/c++
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Unable to determine MPI from MPI driver /usr/bin/gfortran
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
-- MPI not found but DEAL_II_WITH_MPI is set to TRUE. Try again with more aggressive search paths:
-- Found MPI_C: /usr/lib/libmpi.so 
-- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/libmpi.so 
-- Found MPI_Fortran: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempif08.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempi_ignore_tkr.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_mpifh.so;/usr/lib/libmpi.so 
-- Performing Test MPI_HAVE_MPI_SEEK_SET
-- Performing Test MPI_HAVE_MPI_SEEK_SET - Success
-- Found MPI_MPI_H
--   MPI_VERSION: 3.1
--   MPI_LIBRARIES: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/libmpi.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempif08.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempi_ignore_tkr.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_mpifh.so;/usr/lib/libmpi.so;/usr/lib/libmpi.so
--   MPI_INCLUDE_DIRS: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include
--   MPI_USER_INCLUDE_DIRS: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include
--   MPI_CXX_FLAGS:
--   MPI_LINKER_FLAGS:
-- Found MPI
-- Performing Test MPI_WORKING_COMPILER
-- Performing Test MPI_WORKING_COMPILER - Success
-- DEAL_II_WITH_MPI successfully set up with external dependencies.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_1_threads.cmake
-- TBB_LIBRARY not found! Call:
--     FIND_LIBRARY(TBB_LIBRARY NAMES tbb HINTS PATH_SUFFIXES lib lib64 lib)
-- TBB_DEBUG_LIBRARY not found! Call:
--     FIND_LIBRARY(TBB_DEBUG_LIBRARY NAMES tbb_debug HINTS PATH_SUFFIXES lib lib64 lib)
-- TBB_INCLUDE_DIR not found! Call:
--     FIND_PATH(TBB_INCLUDE_DIR tbb/tbb_stddef.h HINTS PATH_SUFFIXES include include/tbb tbb)
--   TBB_LIBRARIES: *** Required variable "TBB_LIBRARY" set to NOTFOUND ***
--   TBB_INCLUDE_DIRS: *** Required variable "TBB_INCLUDE_DIR" set to NOTFOUND ***
--   TBB_USER_INCLUDE_DIRS: *** Required variable "TBB_INCLUDE_DIR" set to NOTFOUND ***
-- Could NOT find TBB
-- DEAL_II_WITH_THREADS has unmet external dependencies.
-- DEAL_II_WITH_THREADS successfully set up with bundled packages.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_1_zlib.cmake
--   ZLIB_VERSION: 1.2.11
--   ZLIB_LIBRARIES: /usr/lib/x86_64-linux-gnu/libz.so
--   ZLIB_INCLUDE_DIRS: /usr/include
-- Found ZLIB
-- DEAL_II_WITH_ZLIB successfully set up with external dependencies.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_2_metis.cmake
-- DEAL_II_WITH_METIS is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_2_trilinos.cmake
-- DEAL_II_WITH_TRILINOS is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_2_umfpack.cmake
-- Found UMFPACK_INCLUDE_DIR
-- Found AMD_INCLUDE_DIR
-- Found SuiteSparse_config_INCLUDE_DIR
-- Found UMFPACK_LIBRARY
-- Found AMD_LIBRARY
-- Found CHOLMOD_LIBRARY
-- Found COLAMD_LIBRARY
-- Found CCOLAMD_LIBRARY
-- Found CAMD_LIBRARY
-- Found SuiteSparse_config_LIBRARY
--   UMFPACK_VERSION: 5.7.6
--   UMFPACK_LIBRARIES: /usr/lib/x86_64-linux-gnu/libumfpack.so;/usr/lib/x86_64-linux-gnu/libcholmod.so;/usr/lib/x86_64-linux-gnu/libccolamd.so;/usr/lib/x86_64-linux-gnu/libcolamd.so;/usr/lib/x86_64-linux-gnu/libcamd.so;/usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so;/usr/lib/x86_64-linux-gnu/libamd.so;/usr/lib/x86_64-linux-gnu/libopenblas.so;gfortran;quadmath;m;c;gcc_s;gcc;rt
--   UMFPACK_INCLUDE_DIRS: /usr/include/suitesparse;/usr/include/suitesparse;/usr/include/suitesparse
--   UMFPACK_USER_INCLUDE_DIRS: /usr/include/suitesparse;/usr/include/suitesparse;/usr/include/suitesparse
--   UMFPACK_LINKER_FLAGS:
-- Found UMFPACK
-- DEAL_II_WITH_UMFPACK successfully set up with external dependencies.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_3_petsc.cmake
-- DEAL_II_WITH_PETSC is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_arpack.cmake
-- Found ARPACK_LIBRARY
-- PARPACK_LIBRARY not found! Call:
--     FIND_LIBRARY(PARPACK_LIBRARY NAMES parpack HINTS /usr/lib/x86_64-linux-gnu NO_DEFAULT_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH)
--   ARPACK_LIBRARIES: /usr/lib/x86_64-linux-gnu/libarpack.so;/usr/lib/x86_64-linux-gnu/libopenblas.so;gfortran;quadmath;m;c;gcc_s;gcc;/usr/lib/libmpi.so
--   ARPACK_LINKER_FLAGS:
-- Found ARPACK
-- DEAL_II_WITH_ARPACK successfully set up with external dependencies.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_boost.cmake
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   iostreams
--   serialization
--   system
--   thread
--   regex
--   chrono
--   date_time
--   atomic
--   BOOST_VERSION: 1.62.0
--   BOOST_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_iostreams.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libpthread.so
--   BOOST_INCLUDE_DIRS: /usr/include
--   BOOST_USER_INCLUDE_DIRS: /usr/include
-- Found BOOST
-- DEAL_II_WITH_BOOST successfully set up with external dependencies.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_gsl.cmake
-- DEAL_II_WITH_GSL is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_hdf5.cmake
-- DEAL_II_WITH_HDF5 is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_muparser.cmake
-- MUPARSER_LIBRARY not found! Call:
--     FIND_LIBRARY(MUPARSER_LIBRARY NAMES muparser muparserd HINTS PATH_SUFFIXES lib lib64 lib)
-- MUPARSER_INCLUDE_DIR not found! Call:
--     FIND_PATH(MUPARSER_INCLUDE_DIR muParserDef.h HINTS PATH_SUFFIXES include)
--   MUPARSER_LIBRARIES: *** Required variable "MUPARSER_LIBRARY" set to NOTFOUND ***
--   MUPARSER_INCLUDE_DIRS: *** Required variable "MUPARSER_INCLUDE_DIR" set to NOTFOUND ***
-- Could NOT find MUPARSER
-- DEAL_II_WITH_MUPARSER has unmet external dependencies.
-- DEAL_II_WITH_MUPARSER successfully set up with bundled packages.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_netcdf.cmake
-- DEAL_II_WITH_NETCDF is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_opencascade.cmake
-- DEAL_II_WITH_OPENCASCADE is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_p4est.cmake
-- DEAL_II_WITH_P4EST is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/configure/configure_slepc.cmake
-- DEAL_II_WITH_SLEPC is set to off.
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_cpack.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_custom_targets.cmake
--
-- Include /home/dealman/Documents/PROGRAM/dealii-8.5.1/cmake/setup_finalize.cmake
-- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG
-- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG - Failed
CMake Error at cmake/setup_finalize.cmake:95 (MESSAGE):
 

    Configuration error: Cannot compile a test program with the final set of
    compiler and linker flags:
      CXX flags (DEBUG): -pedantic -fPIC -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch -Woverloaded-virtual -Wno-long-long -Wno-implicit-fallthrough -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -fopenmp-simd -std=c++14 -Wno-parentheses -Wno-unused-local-typedefs -Og -ggdb -Wa,--compress-debug-sections
      LD flags  (DEBUG): -Wl,--as-needed -rdynamic -fuse-ld=gold -pthread -ggdb
      LIBRARIES (DEBUG): /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempif08.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempi_ignore_tkr.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_mpifh.so;dl;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libumfpack.so;/usr/lib/x86_64-linux-gnu/libcholmod.so;/usr/lib/x86_64-linux-gnu/libccolamd.so;/usr/lib/x86_64-linux-gnu/libcolamd.so;/usr/lib/x86_64-linux-gnu/libcamd.so;/usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so;/usr/lib/x86_64-linux-gnu/libamd.so;rt;/usr/lib/x86_64-linux-gnu/libarpack.so;/usr/lib/x86_64-linux-gnu/libopenblas.so;gfortran;quadmath;m;c;gcc_s;gcc;/usr/lib/libmpi.so;/usr/lib/x86_64-linux-gnu/libboost_iostreams.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;pthread;
   

 

Call Stack (most recent call first):
  cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
  CMakeLists.txt:132 (VERBOSE_INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/home/dealman/Documents/PROGRAM/dealii-8.5.1/build/CMakeFiles/CMakeOutput.log".
See also "/home/dealman/Documents/PROGRAM/dealii-8.5.1/build/CMakeFiles/CMakeError.log".

many thanks for your help again!

Warm regards,
Yaakov

Bruno Turcksin

unread,
Dec 11, 2017, 11:26:50 AM12/11/17
to dea...@googlegroups.com
Yaakov,

2017-12-11 11:00 GMT-05:00 <fea...@gmail.com>:

for mpi installation. I only use command : sudo apt-get install mpich
Yet you have openmpi installed:

-- Found MPI_MPI_H
--   MPI_VERSION: 3.1
--   MPI_LIBRARIES: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/libmpi.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempif08.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempi_ignore_tkr.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_mpifh.so;/usr/lib/libmpi.so;/usr/lib/libmpi.so
--   MPI_INCLUDE_DIRS: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include
--   MPI_USER_INCLUDE_DIRS: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include;/usr/lib/x86_64-linux-gnu/openmpi/include
So either you need to reconfigure deal.II in a clean directory or don't install mpich. I know that some packages in ubuntu pull openmpi when you install them. So if you have installed one of this package and you install mpich, you have both openmpi and mpich installed.

Best,

Bruno

fea...@gmail.com

unread,
Dec 13, 2017, 5:51:10 AM12/13/17
to deal.II User Group
Bruno & Dealii team,

many thanks for your help. now I install ubuntu 16.04 (not 17.10) and try to install dealii again,
I can use mpi for dealii, but I found I can't link pe4est to dealii ...

error report:

-- Include /home/leslie/dealii/cmake/configure/configure_1_mpi.cmake
-- Found MPI_MPI_H
--   MPI_VERSION: 3.0
--   MPI_LIBRARIES: /usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;/usr/lib/openmpi/lib/libmpi_usempif08.so;/usr/lib/openmpi/lib/libmpi_usempi_ignore_tkr.so;/usr/lib/openmpi/lib/libmpi_mpifh.so;/usr/lib/openmpi/lib/libmpi.so;/usr/lib/openmpi/lib/libmpi.so
--   MPI_INCLUDE_DIRS: /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include;/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include;/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi
--   MPI_USER_INCLUDE_DIRS: /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include;/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include;/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi
--   MPI_CXX_FLAGS:
--   MPI_LINKER_FLAGS: -Wl,-rpath  -Wl,/usr/lib/openmpi/lib  -Wl,--enable-new-dtags

-- Found MPI
-- Performing Test MPI_WORKING_COMPILER
-- Performing Test MPI_WORKING_COMPILER - Failed
-- Unable to compile a simple test program. Try to drop "-fuse-ld=gold" from the linker flags.

-- Performing Test MPI_WORKING_COMPILER
-- Performing Test MPI_WORKING_COMPILER - Success
-- DEAL_II_WITH_MPI successfully set up with external dependencies.
--
-- Include /home/leslie/dealii/cmake/configure/configure_1_threads.cmake

-- TBB_LIBRARY not found! Call:
--     FIND_LIBRARY(TBB_LIBRARY NAMES tbb HINTS PATH_SUFFIXES lib lib64 lib)
-- TBB_DEBUG_LIBRARY not found! Call:
--     FIND_LIBRARY(TBB_DEBUG_LIBRARY NAMES tbb_debug HINTS PATH_SUFFIXES lib lib64 lib)
-- TBB_INCLUDE_DIR not found! Call:
--     FIND_PATH(TBB_INCLUDE_DIR tbb/tbb_stddef.h HINTS PATH_SUFFIXES include include/tbb tbb)
--   TBB_LIBRARIES: *** Required variable "TBB_LIBRARY" set to NOTFOUND ***
--   TBB_INCLUDE_DIRS: *** Required variable "TBB_INCLUDE_DIR" set to NOTFOUND ***
--   TBB_USER_INCLUDE_DIRS: *** Required variable "TBB_INCLUDE_DIR" set to NOTFOUND ***
-- Could NOT find TBB
-- DEAL_II_WITH_THREADS has unmet external dependencies.
-- DEAL_II_WITH_THREADS successfully set up with bundled packages.
--
-- Include /home/leslie/dealii/cmake/configure/configure_1_zlib.cmake
-- DEAL_II_WITH_ZLIB is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_2_metis.cmake

-- DEAL_II_WITH_METIS is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_2_trilinos.cmake

-- DEAL_II_WITH_TRILINOS is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_2_umfpack.cmake
-- DEAL_II_WITH_UMFPACK is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_3_petsc.cmake

-- DEAL_II_WITH_PETSC is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_adolc.cmake
-- DEAL_II_WITH_ADOLC is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_arpack.cmake
-- DEAL_II_WITH_ARPACK is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_assimp.cmake
-- DEAL_II_WITH_ASSIMP is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_boost.cmake
-- Could NOT find Boost
--   BOOST_LIBRARIES: *** Required variable "Boost_LIBRARIES" empty ***

--   BOOST_INCLUDE_DIRS: /usr/include
--   BOOST_USER_INCLUDE_DIRS: /usr/include
-- Could NOT find BOOST
-- DEAL_II_WITH_BOOST has unmet external dependencies.
-- DEAL_II_WITH_BOOST successfully set up with bundled packages.
--
-- Include /home/leslie/dealii/cmake/configure/configure_gmsh.cmake
-- DEAL_II_WITH_GMSH is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_gsl.cmake

-- DEAL_II_WITH_GSL is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_hdf5.cmake

-- DEAL_II_WITH_HDF5 is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_muparser.cmake

-- MUPARSER_LIBRARY not found! Call:
--     FIND_LIBRARY(MUPARSER_LIBRARY NAMES muparser muparserd HINTS PATH_SUFFIXES lib lib64 lib)
-- MUPARSER_INCLUDE_DIR not found! Call:
--     FIND_PATH(MUPARSER_INCLUDE_DIR muParserDef.h HINTS PATH_SUFFIXES include)
--   MUPARSER_LIBRARIES: *** Required variable "MUPARSER_LIBRARY" set to NOTFOUND ***
--   MUPARSER_INCLUDE_DIRS: *** Required variable "MUPARSER_INCLUDE_DIR" set to NOTFOUND ***
-- Could NOT find MUPARSER
-- DEAL_II_WITH_MUPARSER has unmet external dependencies.
-- DEAL_II_WITH_MUPARSER successfully set up with bundled packages.
--
-- Include /home/leslie/dealii/cmake/configure/configure_nanoflann.cmake
-- DEAL_II_WITH_NANOFLANN is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_netcdf.cmake

-- DEAL_II_WITH_NETCDF is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_opencascade.cmake

-- DEAL_II_WITH_OPENCASCADE is set to off.
--
-- Include /home/leslie/dealii/cmake/configure/configure_p4est.cmake
-- SC_INCLUDE_DIR not found! Call:
--     FIND_PATH(SC_INCLUDE_DIR sc.h HINTS /FAST /DEBUG /home/leslie/App/p4estone/p4est/FAST /home/leslie/App/p4estone/p4est/DEBUG /home/leslie/App/p4estone/p4est PATH_SUFFIXES sc include/p4est include src sc/src)
-- P4EST_LIBRARY_OPTIMIZED not found! Call:
--     FIND_LIBRARY(P4EST_LIBRARY_OPTIMIZED NAMES p4est HINTS /home/leslie/App/p4estone/p4est/FAST /home/leslie/App/p4estone/p4est/DEBUG /home/leslie/App/p4estone/p4est PATH_SUFFIXES lib lib64 lib src)
-- SC_LIBRARY_OPTIMIZED not found! Call:
--     FIND_LIBRARY(SC_LIBRARY_OPTIMIZED NAMES sc HINTS /FAST /DEBUG /home/leslie/App/p4estone/p4est/FAST /home/leslie/App/p4estone/p4est/DEBUG /home/leslie/App/p4estone/p4est PATH_SUFFIXES lib lib64 lib src sc/src)
-- P4EST_LIBRARY_DEBUG not found! Call:
--     FIND_LIBRARY(P4EST_LIBRARY_DEBUG NAMES p4est HINTS /home/leslie/App/p4estone/p4est/DEBUG PATH_SUFFIXES lib lib64 lib src)
-- SC_LIBRARY_DEBUG not found! Call:
--     FIND_LIBRARY(SC_LIBRARY_DEBUG NAMES sc HINTS /DEBUG /home/leslie/App/p4estone/p4est/DEBUG PATH_SUFFIXES lib lib64 lib src sc/src)
-- P4EST_INCLUDE_DIR not found! Call:
--     FIND_PATH(P4EST_INCLUDE_DIR p4est_config.h HINTS /home/leslie/App/p4estone/p4est/FAST /home/leslie/App/p4estone/p4est/DEBUG /home/leslie/App/p4estone/p4est PATH_SUFFIXES p4est include/p4est include src)
--   P4EST_LIBRARIES: *** Required variable "P4EST_LIBRARY_OPTIMIZED" set to NOTFOUND ***
--   P4EST_INCLUDE_DIRS: *** Required variable "P4EST_INCLUDE_DIR" set to NOTFOUND ***
--   P4EST_USER_INCLUDE_DIRS: *** Required variable "P4EST_INCLUDE_DIR" set to NOTFOUND ***
-- Could NOT find P4EST
-- DEAL_II_WITH_P4EST has unmet external dependencies.
CMake Error at cmake/macros/macro_configure_feature.cmake:112 (MESSAGE):
 

  Could not find the p4est library!

  Please ensure that a suitable p4est library is installed on your computer.

  If the library is not at a default location, either provide some hints for
  autodetection,

      $ P4EST_DIR="..." cmake <...>
      $ cmake -DP4EST_DIR="..." <...>

  or set the relevant variables by hand in ccmake.


Call Stack (most recent call first):
  cmake/macros/macro_configure_feature.cmake:269 (FEATURE_ERROR_MESSAGE)
  cmake/configure/configure_p4est.cmake:78 (CONFIGURE_FEATURE)
  cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
  CMakeLists.txt:124 (VERBOSE_INCLUDE)



-- Configuring incomplete, errors occurred!
See also "/home/leslie/dealii/build/CMakeFiles/CMakeOutput.log".
See also "/home/leslie/dealii/build/CMakeFiles/CMakeError.log".


Many thanks for your help again!

Best

Bruno Turcksin

unread,
Dec 13, 2017, 8:35:14 AM12/13/17
to dea...@googlegroups.com
Yaakov,

The error you get is pretty explicit, deal.II cannot find p4est. Check that the path you give in -DP4EST_DIR is correct. You can also use candi to install everything for you.

Best,

Bruno

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/cFkUlyd3Vow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fea...@gmail.com

unread,
Dec 14, 2017, 11:23:52 AM12/14/17
to deal.II User Group
Bruno,

Thanks for your help, now I have used candi, but I get the error of p4est using candi again:

error report:

Verifying p4est-2.0.tar.gz
p4est-2.0.tar.gz: OK
Unpacking p4est-2.0.tar.gz
Building p4est 2.0
CFLAGS_FAST: -O2
CFLAGS_DEBUG: -O0 -g

This script tries configure and build the p4est library.
Build FAST: /home/leslie/deal.ii-candi/tmp/build/p4est-2.0/FAST
Build DEBUG: /home/leslie/deal.ii-candi/tmp/build/p4est-2.0/DEBUG
Install FAST: /home/leslie/deal.ii-candi/p4est-2.0/FAST
Install DEBUG: /home/leslie/deal.ii-candi/p4est-2.0/DEBUG
Checking environment: CFLAGS P4EST_CFLAGS_FAST P4EST_CFLAGS_DEBUG
See output in files .../config.output and .../make.output

Build FAST version in /home/leslie/deal.ii-candi/tmp/build/p4est-2.0/FAST
configure: WARNING: Static source code checker splint not found
configure: WARNING: Static source code checker splint not found
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
FAST version installed in /home/leslie/deal.ii-candi/p4est-2.0/FAST

Build DEBUG version in /home/leslie/deal.ii-candi/tmp/build/p4est-2.0/DEBUG
configure: WARNING: Static source code checker splint not found
configure: WARNING: Static source code checker splint not found
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
Error: Error: p4est couldn't find zlib

how can I solve this problem in candi?


Many thanks for your help again!

Warm regards,
Yaakov
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.

Bruno Turcksin

unread,
Dec 14, 2017, 11:29:31 AM12/14/17
to dea...@googlegroups.com
Yaakov,

2017-12-14 11:23 GMT-05:00 <fea...@gmail.com>:
Error: Error: p4est couldn't find zlib

how can I solve this problem in candi?
sudo apt install zlib1g-dev

Best,

Bruno

Denis Davydov

unread,
Dec 15, 2017, 12:35:22 AM12/15/17
to deal.II User Group
Or use Spack which makes sure that only note instance of each dependency (such as MPI) is used to build deal.ii and all its dependencies:
https://github.com/dealii/dealii/wiki/deal.II-in-Spack


Ps. As for the multiple MPI on the system, it’s perfectly valid idea as long as you know what you are doing, namely build a single stack of software with the same MPI. That actually applies to any dependency: you can have and try/compare as many as you want, but you need to use them consistently to build the stack. Most likely it’s not your intention here, but that’s what Spack makes easy as packages are never installed into the same prefix like /use/local

Regards,
Denis

fea...@gmail.com

unread,
Dec 15, 2017, 11:16:55 AM12/15/17
to deal.II User Group
Bruno,

Many thanks for your help. p4est bug is now solved, but next installation of trilinos aborbs using candi

error report:
 
CMake Error at cmake/tribits/core/package_arch/TribitsProcessEnabledTpl.cmake:127 (MESSAGE):
  ERROR: TPL_BLAS_NOT_FOUND=TRUE, aborting!

Call Stack (most recent call first):
  cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:1614 (TRIBITS_PROCESS_ENABLED_TPL)
  cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:202 (TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/core/package_arch/TribitsProject.cmake:93 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:93 (TRIBITS_PROJECT)



-- Configuring incomplete, errors occurred!
See also "/home/leslie/deal.ii-candi/tmp/build/trilinos-release-12-10-1/CMakeFiles/CMakeOutput.log".
See also "/home/leslie/deal.ii-candi/tmp/build/trilinos-release-12-10-1/CMakeFiles/CMakeError.log".
Failure with exit status: 1
Exit message: There was a problem configuring trilinos 12-10-1.

Many thanks for your help again!

Warm regards,
Yaakov

Bruno Turcksin

unread,
Dec 15, 2017, 11:27:53 AM12/15/17
to dea...@googlegroups.com
Yaakov,

Have you seen the list of packages which is required to install deal.II?
# This build script assumes that you have several packages already
# installed via ubuntu's apt-get using the following commands:
#
# > sudo apt-get install build-essential lsb-release wget \
#   automake autoconf gfortran \
#   openmpi-bin openmpi-common libopenmpi-dev cmake subversion git \
#   libblas-dev liblapack-dev libblas3 liblapack3 \
#   libsuitesparse-dev libtool libboost-all-dev \
#   splint tcl tcl-dev environment-modules qt4-dev-tools
The error says that you don't have blas but it should have been installed when you used the command above.

Best,

Bruno

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/cFkUlyd3Vow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+unsubscribe@googlegroups.com.

fea...@gmail.com

unread,
Dec 21, 2017, 4:47:29 AM12/21/17
to deal.II User Group
Dear Bruno, Dear Prof. Bangerth and Dealii Team,

The problem is solved, now I can use dealii with p4est & trilino for the codes which are developed by Prof. Wick & Prof. Heister.

Warm regards,
Yaakov
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.

fea...@gmail.com

unread,
Dec 21, 2017, 6:42:56 PM12/21/17
to deal.II User Group
Denis,

Thanks for your help! I will use Spack method in other desktop!

Regards,
Yaakov
Reply all
Reply to author
Forward
0 new messages