You have to try this piece-by-piece to get a result. Certainly I am
confused as to which configurations you have tried and which work and
which don't, and if configure or linking fails...   :-)

Try as Wolfgang suggested and start with a minimal configuration. Try
this, for example,

 ./configure
 
--with-cc=/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpiicc
 
--with-cxx=/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpiicpc
 --with-x=0
 --with-c++-support=1

That may be the minimal configuration to get PETSc worable with most of
deal.II. Of course, when you try to reconfigure PETSc with something
new, remember to *remove the old configuration*, or *archive it
somewhere*!

By-the-way. Are you exporting PETSC_ARCH and PETSC_DIR every time you
configure? It is safe to put these variables in your ~/.bashrc file (or
equivalent). Something similar to,

export PETSC_DIR=/path/to/petsc ; 
export PETSC_ARCH=petsc_arch ;
export LD_LIBRARY_PATH=$PETSC_DIR/$PETSC_ARCH/lib: ${LD_LIBRARY_PATH}:

Configure and compile PETSc and see if that wors with deal.II. Then you
can extend to add Hypre and friends...

Best,
   Toby


Dnia 2016-11-25, o godz. 04:32:05
"seyedali88 via deal.II User Group" <[email protected]>
napisaƂ(a):

> The make.log is from a previous successful compilation. First PETSc 
> configures and checks, than it builds the files, so I assume make.log
> will not help in that case. Unfortunately, there is a linking issue
> with shared libraries that prevents PETSc from detecting the mpiicc
> correctly. I will try now to run deal.II on our cluster and also on
> my laptop maybe. Maybe there is a bug with Intel, but if it has the
> same issue there: I must assume that the Intel compiler is not the
> problem and merely admit that PETSc cannot find it. However, I
> already tried many configurations with PETSc, read a lot in google
> forums etc. There is a small stupid detail I oversee probably :)
> 
> Thank you Prof. Bangerth and also Bruno Turcksin.
> I will keep you updated whenever I figure out the solution ;)
> Maybe another fellow could have similar problems in future.    
> 
> Kind regards,
> S. A. Mohseni
> 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to