Petsc with hypre

Matthew Knepley knepley at gmail.com
Fri Aug 1 11:38:55 CDT 2008


On Fri, Aug 1, 2008 at 11:18 AM, Nguyen, Hung V ERDC-ITL-MS
<Hung.V.Nguyen at usace.army.mil> wrote:
>
> I am able to install hypre, but fail to install petsc with including hypre.

If you do not send configure.log, we have no hope of determining what
went wrong. Thus
I suggest mailing petsc-maint at mcs.anl.gov with the log

  Matt

> 1. I have been trying to get PETSc to download and install its own version of
> HYPRE -- and failed with the error
>
>
> *****************************************************************************
> ****
>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
> -----------------------------------------------------------------------------
> ----------
> Error running configure on HYPRE: Could not execute 'cd
> /work/hvnguyen/work_project/petsc-2.3.3-p3/externalpackages/hypre-2.0.0/src;m
> ake distclean;./configure
> --prefix=/work/hvnguyen/work_project/petsc-2.3.3-p3/externalpackages/hypre-2.
> 0.0/CrayXT3-O CC="cc  -fPIC -fastsse -O3 -Munroll=c:4 -tp k8-64 " CXX="CC  -O
> -fPIC " F77="ftn  -fPIC -fastsse -O3 -Munroll=c:4 -tp k8-64  "
> --with-MPI-include="/opt/xt-mpt/default/mpich2-64/P2/include"
> --with-MPI-lib-dirs="" --with-MPI-libs="" --with-blas-libs=
> --with-blas-lib-dir= --with-lapack-libs= --with-lapack-lib-dir=
> --with-blas=yes --with-lapack=yes --without-babel --without-mli --without-fei
> --without-superlu':
> Dist-cleaning utilities ...
> make[1]: Entering directory
> `/work/hvnguyen/work_project/petsc-2.3.3-p3/externalpackages/hypre-2.0.0/src/
> utilities'
> rm -f *.o libHYPRE* f2c.h *blas.h *lapack.h
>
>
> 2. I tried to install hypre and it works (I tested their example codes). The,
> I try to install petsc with config option below, but -no success, see error
>
>  hvnguyen:sapphire01% config/configure.py --with-batch=1 --with-mpi-shared=0
> --with-memcmp-ok --sizeof_char=1 --sizeof_void_p=8 --sizeof_short=2
> --sizeof_int=4 --sizeof_long=8 --sizeof_long_long=8 --sizeof_float=4
> --sizeof_double=8 --bits_per_byte=8 --sizeof_MPI_Comm=4 --sizeof_MPI_Fint=4
> --with-fc=ftn --with-cc=cc --with-cxx=CC -PETSC_ARCH=CrayXT3-O
> --with-debugging=0 --with-error-checking=0 COPTFLAGS="-fastsse -O3
> -Munroll=c:4 -tp k8-64" FOPTFLAGS="-fastsse -O3 -Munroll=c:4 -tp k8-64"
> --with-x=0 --with-mpi-dir=/opt/xt-mpt/default/mpich2-64/P2 --with-shared=0
> --with-hypre-include=/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/in
> clude
> --with-hypre-lib=[/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/lib/l
> ibHYPRE.a,-lHYPRE_DistributedMatrix,-lHYPRE_DistributedMatrixPilutSolver,-lHY
> PRE_Euclid,-lHYPRE_FEI,-lHYPRE_IJ_mv,-lHYPRE_LSI,-lHYPRE_MatrixMatrix,-lHYPRE
> _ParaSails,-lHYPRE_ParaSails,-lHYPRE_mli,-lHYPRE_multivector,-lHYPRE_parcsr_b
> lock_mv,-lHYPRE_parcsr_ls,-lHYPRE_parcsr_mv,-lHYPRE_seq_mv,-lHYPRE_sstruct_ls
> ,-lHYPRE_sstruct_mv,-lHYPRE_sstruct_mv,-lHYPRE_utilities
>
>
> -- error:
> TESTING: check from
> config.libraries(/work/hvnguyen/work_project/petsc-2.3.3-p3/python/BuildSyste
> m/config/libraries.py:108)
> *****************************************************************************
> ****
>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
> -----------------------------------------------------------------------------
> ----------
> --with-hypre-lib=['[/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/lib
> /libHYPRE.a,-lHYPRE_DistributedMatrix,-lHYPRE_DistributedMatrixPilutSolver,-l
> HYPRE_Euclid,-lHYPRE_FEI,-lHYPRE_IJ_mv,-lHYPRE_LSI,-lHYPRE_MatrixMatrix,-lHYP
> RE_ParaSails,-lHYPRE_ParaSails,-lHYPRE_mli,-lHYPRE_multivector,-lHYPRE_parcsr
> _block_mv,-lHYPRE_parcsr_ls,-lHYPRE_parcsr_mv,-lHYPRE_seq_mv,-lHYPRE_sstruct_
> ls,-lHYPRE_sstruct_mv,-lHYPRE_sstruct_mv,-lHYPRE_utilities'] and
> --with-hypre-include=/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/in
> clude did not work
> *****************************************************************************
> ****
>
>
> Thanks for your help.
>
> -Hung
-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list