Hi Andrea,
sorry, maybe I missed something, but PETSC_ARCH is only the "path" to your
petsc library depending on your system, the folder name changed a bit, it was
"linux-gnu-c-debug" in version 3.1 and now "arch-linux2-c-debug" in version 3.2
on my linux system and if I pass the options
"--with-petsc=folders_to_petsc/petsc-3.2.-p5" and
"--with-petsc-arch=arch-linux2-c-debug" to the dealii configure script,
everything runs fine, and of course you have to export the new folder name to
LD_LIBRARY_PATH.
Does this help?
Best,
Martin
________________________________
Von: Andrea Bonito <[email protected]>
An: [email protected]
Gesendet: 16:34 Donnerstag, 15.Dezember 2011
Betreff: [deal.II] petsc_arch
All,
the new version of petsc (petsc 3.2-p5) does not require PETSC_ARCH to be
specified.
However, dealii configure script is still checking for it and I could not find
a way to by-pass this check.
I tried to provide an empty string using "--with-petsc-arch= "
but I think it confuses the configure script as you can see below:
...
---------------- configuring additional libs ----------------
checking boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
checking boost/type_traits.hpp usability... yes
checking boost/type_traits.hpp presence... yes
checking for boost/type_traits.hpp... yes
checking boost/tuple/tuple.hpp usability... yes
checking boost/tuple/tuple.hpp presence... yes
checking for boost/tuple/tuple.hpp... yes
checking for boost::shared_ptr assignment operator= template buglet... no
checking for boost::bind compiler internal error... no
checking for boost::graph compiler internal error... no
checking for PETSc library directory... /Users/bonito/opt/petsc-3.2-p5
checking for PETSc version... 3.2.0
checking for PETSc library architecture...
checking for PETSc libmpiuni library... not found
checking for consistency of PETSc and deal.II MPI settings... configure: error:
PETSc was not built for MPI, but deal.II is!
Of coarse, my petsc installation passed the test with mpi.
Any suggestion? Maybe I should simply go back to a previous version of petsc.
Thanks,
Andrea
-- Andrea Bonito
Texas A&M University
Department of Mathematics
3368 TAMU
College Station, TX 77843-3368
Office: Blocker 641F
Phone: +1 559 464 5814
Dept.Fax: +1 979 862 4190
Website: www.math.tamu.edu/~bonito
-- Andrea Bonito
Texas A&M University
Department of Mathematics
3368 TAMU
College Station, TX 77843-3368
Office: Blocker 641F
Phone: +1 559 464 5814
Dept.Fax: +1 979 862 4190
Website: www.math.tamu.edu/~bonito
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii