Hello,

I tried to run step-18 and initially received the following error message:

 Error! This tutorial requires a deal.II library that was configured with
  the following options:

      DEAL_II_WITH_MPI = ON
      DEAL_II_WITH_PETSC = ON
      DEAL_II_PETSC_WITH_COMPLEX = OFF

  However, the deal.II library found at
  /home/krishanu/Google_Drive/dealii/dealii_920/library_dealii_920 was
  configured with these options

      DEAL_II_WITH_MPI = OFF
      DEAL_II_WITH_PETSC = OFF
      DEAL_II_PETSC_WITH_COMPLEX = 

  which conflict with the requirements.

So, I used the following commands (from this link: 
https://www.dealii.org/current/external-libs/petsc.html) to install PETSC:

tar xvzf petsc-x-y-z.tar.gz cd petsc-x-y-z
export PETSC_DIR=`pwd`
export PETSC_ARCH=x86_64
./config/configure.py --with-shared=1 --with-x=0 --with-mpi=1 
--download-hypre=1
make
make test

Then used the following commands to build, configure and install deal.ii

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II

But it seems that deal.ii did not auto detect PETSC and MPI as it showed 
the following among other configured features:

Configured Features (DEAL_II_ALLOW_BUNDLED = ON, 
DEAL_II_ALLOW_AUTODETECTION = ON):

#      ( DEAL_II_WITH_MPI = OFF )
#      ( DEAL_II_WITH_PETSC = OFF )

I am wondering what I might be missing here. Could anyone please help?


-- 
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/cd2d891c-b80e-4502-b496-89378acd91c0n%40googlegroups.com.

Reply via email to