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" <
dea...@googlegroups.com>
napisał(a):