Re: [deal.II] Re: Cmake-MPI

2017-12-21 Thread feapman
Denis, Thanks for your help! I will use Spack method in other desktop! Regards, Yaakov On Friday, December 15, 2017 at 6:35:22 AM UTC+1, Denis Davydov wrote: > > 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 depende

Re: [deal.II] Re: Cmake-MPI

2017-12-21 Thread feapman
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 On Friday, December 15, 2017 at 5:27:53 PM UTC+1, Bruno Turcksin wrote: > > Yaakov, > > Have

Re: [deal.II] Re: Cmake-MPI

2017-12-15 Thread Bruno Turcksin
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 gf

Re: [deal.II] Re: Cmake-MPI

2017-12-15 Thread feapman
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

Re: [deal.II] Re: Cmake-MPI

2017-12-14 Thread Denis Davydov
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

Re: [deal.II] Re: Cmake-MPI

2017-12-14 Thread Bruno Turcksin
Yaakov, 2017-12-14 11:23 GMT-05:00 : > *Error: Error: p4est couldn't find zlib* > > how can I solve this problem in candi? > sudo apt install zlib1g-dev Best, Bruno -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/for

Re: [deal.II] Re: Cmake-MPI

2017-12-14 Thread feapman
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

Re: [deal.II] Re: Cmake-MPI

2017-12-13 Thread Bruno Turcksin
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 2017-12-13 5:51 GMT-05:00 : > Bruno & Dealii team, > > many thank

Re: [deal.II] Re: Cmake-MPI

2017-12-13 Thread feapman
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

Re: [deal.II] Re: Cmake-MPI

2017-12-11 Thread Bruno Turcksin
Yaakov, 2017-12-11 11:00 GMT-05:00 : > > 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/l

Re: [deal.II] Re: Cmake-MPI

2017-12-11 Thread feapman
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 -- -- I

Re: [deal.II] Re: Cmake-MPI

2017-12-06 Thread Wolfgang Bangerth
On 12/06/2017 10:31 AM, feap...@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/

Re: [deal.II] Re: Cmake-MPI

2017-12-06 Thread feapman
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

Re: [deal.II] Re: Cmake-MPI

2017-12-05 Thread Wolfgang Bangerth
On 12/05/2017 08:05 AM, feap...@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 m

Re: [deal.II] Re: Cmake-MPI

2017-12-05 Thread feapman
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 On Tuesday, December

Re: [deal.II] Re: Cmake-MPI

2017-12-04 Thread Wolfgang Bangerth
On 12/04/2017 06:13 PM, feap...@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

[deal.II] Re: Cmake-MPI

2017-12-04 Thread feapman
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,

[deal.II] Re: Cmake-MPI

2017-12-04 Thread Bruno Turcksin
Yaakov, On Monday, December 4, 2017 at 2:47:00 AM UTC-5, feap...@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 a