<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Re: Petsc with hypre</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Dear Hung<BR>
<BR>
We have asked your site staff to install the Cray Petsc package on sapphire, so you also now have the option of using that. If you have problems using that package please email Keita Teranishi and myself.<BR>
<BR>
Adrian Tate<BR>
---<BR>
Math SW Group Lead<BR>
Cray Inc.<BR>
(206) 349 5868<BR>
<BR>
<BR>
----- Original Message -----<BR>
From: owner-petsc-users@mcs.anl.gov <owner-petsc-users@mcs.anl.gov><BR>
To: petsc-users@mcs.anl.gov <petsc-users@mcs.anl.gov><BR>
Cc: Keita Teranishi<BR>
Sent: Fri Aug 01 11:18:31 2008<BR>
Subject: RE: Petsc with hypre<BR>
<BR>
<BR>
I am able to install hypre, but fail to install petsc with including hypre.<BR>
<BR>
1. I have been trying to get PETSc to download and install its own version of<BR>
HYPRE -- and failed with the error<BR>
<BR>
<BR>
*****************************************************************************<BR>
****<BR>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for<BR>
details):<BR>
-----------------------------------------------------------------------------<BR>
----------<BR>
Error running configure on HYPRE: Could not execute 'cd<BR>
/work/hvnguyen/work_project/petsc-2.3.3-p3/externalpackages/hypre-2.0.0/src;m<BR>
ake distclean;./configure<BR>
--prefix=/work/hvnguyen/work_project/petsc-2.3.3-p3/externalpackages/hypre-2.<BR>
0.0/CrayXT3-O CC="cc -fPIC -fastsse -O3 -Munroll=c:4 -tp k8-64 " CXX="CC -O<BR>
-fPIC " F77="ftn -fPIC -fastsse -O3 -Munroll=c:4 -tp k8-64 "<BR>
--with-MPI-include="/opt/xt-mpt/default/mpich2-64/P2/include"<BR>
--with-MPI-lib-dirs="" --with-MPI-libs="" --with-blas-libs=<BR>
--with-blas-lib-dir= --with-lapack-libs= --with-lapack-lib-dir=<BR>
--with-blas=yes --with-lapack=yes --without-babel --without-mli --without-fei<BR>
--without-superlu':<BR>
Dist-cleaning utilities ...<BR>
make[1]: Entering directory<BR>
`/work/hvnguyen/work_project/petsc-2.3.3-p3/externalpackages/hypre-2.0.0/src/<BR>
utilities'<BR>
rm -f *.o libHYPRE* f2c.h *blas.h *lapack.h<BR>
<BR>
<BR>
2. I tried to install hypre and it works (I tested their example codes). The,<BR>
I try to install petsc with config option below, but -no success, see error<BR>
<BR>
hvnguyen:sapphire01% config/configure.py --with-batch=1 --with-mpi-shared=0<BR>
--with-memcmp-ok --sizeof_char=1 --sizeof_void_p=8 --sizeof_short=2<BR>
--sizeof_int=4 --sizeof_long=8 --sizeof_long_long=8 --sizeof_float=4<BR>
--sizeof_double=8 --bits_per_byte=8 --sizeof_MPI_Comm=4 --sizeof_MPI_Fint=4<BR>
--with-fc=ftn --with-cc=cc --with-cxx=CC -PETSC_ARCH=CrayXT3-O<BR>
--with-debugging=0 --with-error-checking=0 COPTFLAGS="-fastsse -O3<BR>
-Munroll=c:4 -tp k8-64" FOPTFLAGS="-fastsse -O3 -Munroll=c:4 -tp k8-64"<BR>
--with-x=0 --with-mpi-dir=/opt/xt-mpt/default/mpich2-64/P2 --with-shared=0<BR>
--with-hypre-include=/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/in<BR>
clude<BR>
--with-hypre-lib=[/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/lib/l<BR>
ibHYPRE.a,-lHYPRE_DistributedMatrix,-lHYPRE_DistributedMatrixPilutSolver,-lHY<BR>
PRE_Euclid,-lHYPRE_FEI,-lHYPRE_IJ_mv,-lHYPRE_LSI,-lHYPRE_MatrixMatrix,-lHYPRE<BR>
_ParaSails,-lHYPRE_ParaSails,-lHYPRE_mli,-lHYPRE_multivector,-lHYPRE_parcsr_b<BR>
lock_mv,-lHYPRE_parcsr_ls,-lHYPRE_parcsr_mv,-lHYPRE_seq_mv,-lHYPRE_sstruct_ls<BR>
,-lHYPRE_sstruct_mv,-lHYPRE_sstruct_mv,-lHYPRE_utilities<BR>
<BR>
<BR>
-- error:<BR>
TESTING: check from<BR>
config.libraries(/work/hvnguyen/work_project/petsc-2.3.3-p3/python/BuildSyste<BR>
m/config/libraries.py:108)<BR>
*****************************************************************************<BR>
****<BR>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for<BR>
details):<BR>
-----------------------------------------------------------------------------<BR>
----------<BR>
--with-hypre-lib=['[/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/lib<BR>
/libHYPRE.a,-lHYPRE_DistributedMatrix,-lHYPRE_DistributedMatrixPilutSolver,-l<BR>
HYPRE_Euclid,-lHYPRE_FEI,-lHYPRE_IJ_mv,-lHYPRE_LSI,-lHYPRE_MatrixMatrix,-lHYP<BR>
RE_ParaSails,-lHYPRE_ParaSails,-lHYPRE_mli,-lHYPRE_multivector,-lHYPRE_parcsr<BR>
_block_mv,-lHYPRE_parcsr_ls,-lHYPRE_parcsr_mv,-lHYPRE_seq_mv,-lHYPRE_sstruct_<BR>
ls,-lHYPRE_sstruct_mv,-lHYPRE_sstruct_mv,-lHYPRE_utilities'] and<BR>
--with-hypre-include=/work/hvnguyen/work_project/hypre-2.0.0/small/fastsse/in<BR>
clude did not work<BR>
*****************************************************************************<BR>
****<BR>
<BR>
<BR>
Thanks for your help.<BR>
<BR>
-Hung<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: owner-petsc-users@mcs.anl.gov [<A HREF="mailto:owner-petsc-users@mcs.anl.gov">mailto:owner-petsc-users@mcs.anl.gov</A>] On<BR>
Behalf Of Barry Smith<BR>
Sent: Wednesday, July 30, 2008 10:28 AM<BR>
To: petsc-users@mcs.anl.gov<BR>
Cc: Keita Teranishi<BR>
Subject: Re: Petsc with hypre<BR>
<BR>
<BR>
If PETSc is built from source then it, by default, does not include hypre<BR>
and other external packages. You should install PETSc yourself and include<BR>
the additional config/configure.py option --download-hypre<BR>
<BR>
Barry<BR>
<BR>
On Jul 30, 2008, at 9:18 AM, Nguyen, Hung V ERDC-ITL-MS wrote:<BR>
<BR>
><BR>
> Hello Keita,<BR>
><BR>
>> Did this error happen with Cray's PETSc?<BR>
><BR>
> I am running my code in Cray XT3 (at ERDC). Please find the current<BR>
> and available modules in the system below.<BR>
><BR>
> I think I amn't using Cray's PETSC since I am using the one from the<BR>
> location /usr/local/usp/PETtools/CE/MATH/petsc-2.3.3-p3.<BR>
><BR>
> How do I use Cray's PETSC? Which module I need to load?<BR>
><BR>
> Thanks,<BR>
><BR>
> -Hung<BR>
><BR>
> --- current module:<BR>
> hvnguyen:sapphire12% module list<BR>
> Currently Loaded Modulefiles:<BR>
> 1) modules/3.1.6 5) xt-libsci/1.5.52 9) xt-pbs/5.3.5<BR>
> 13) xt-catamount/1.5.52 17) Base-opts/1.5.52<BR>
> 2) MySQL/4.0.27 6) xt-mpt/1.5.52 10) xt-service/<BR>
> 1.5.52<BR>
> 14) xt-boot/1.5.52<BR>
> 3) acml/3.6 7) xt-pe/1.5.52 11) xt-libc/1.5.52<BR>
> 15) xt-crms/1.5.52<BR>
> 4) pgi/7.0.6 8) PrgEnv-pgi/1.5.52 12) xt-os/1.5.52<BR>
> 16) xt-lustre-ss/1.5.52<BR>
> hvnguyen:sapphire12% module avai<BR>
><BR>
> ---------------------------------------------------------------<BR>
> /opt/modulefiles<BR>
> ---------------------------------------------------------------Base-<BR>
> opts/1.4.<BR>
> 10 craypat/3.2.3 xt-catamount/1.4.43<BR>
> xt-mpt/1.4.10<BR>
> Base-opts/1.4.38 dwarf/6.10.0 xt-<BR>
> catamount/1.5.16<BR>
> xt-mpt/1.4.38<BR>
> Base-opts/1.4.43 elf/0.8.6(default) xt-<BR>
> catamount/1.5.27<BR>
> xt-mpt/1.4.43<BR>
> Base-opts/1.5.16 fftw/2.1.5(default) xt-<BR>
> catamount/1.5.39<BR>
> xt-mpt/1.5.16<BR>
> Base-opts/1.5.27 fftw/3.1.1<BR>
> xt-catamount/1.5.39.nic10 xt-mpt/1.5.27<BR>
> Base-opts/1.5.39 gcc/3.2.3 xt-<BR>
> catamount/1.5.52<BR>
> xt-mpt/1.5.39<BR>
> Base-opts/1.5.52(default) gcc/4.1.1(default)<BR>
> xt-craypat/4.0(default) xt-mpt/1.5.52<BR>
> MySQL/4.0.27 glib/2.4.2 xt-crms/<BR>
> 1.4.10<BR>
> xt-mpt-gnu/1.4.10<BR>
> PrgEnv/1.4.10 gmalloc xt-crms/<BR>
> 1.4.38<BR>
> xt-mpt-gnu/1.4.38<BR>
> PrgEnv/1.4.38 gnet/2.0.5 xt-crms/<BR>
> 1.4.43<BR>
> xt-mpt-gnu/1.4.43<BR>
> PrgEnv/1.4.43 iobuf/1.0.2 xt-crms/<BR>
> 1.5.16<BR>
> xt-mpt-gnu/1.5.16<BR>
> PrgEnv-gnu/1.4.10 iobuf/1.0.5(default) xt-crms/<BR>
> 1.5.27<BR>
> xt-mpt-gnu/1.5.27<BR>
> PrgEnv-gnu/1.4.38 iobuf/1.0.6 xt-crms/<BR>
> 1.5.39<BR>
> xt-mpt-gnu/1.5.39<BR>
> PrgEnv-gnu/1.4.43 libscifft-pgi/1.0.0(default) xt-crms/<BR>
> 1.5.52<BR>
> xt-mpt-gnu/1.5.52<BR>
> PrgEnv-gnu/1.5.16 modules/3.1.6 xt-libc/<BR>
> 1.4.10<BR>
> xt-mpt-pathscale/1.5.39<BR>
> PrgEnv-gnu/1.5.27 papi/3.2.1(default) xt-libc/<BR>
> 1.4.38<BR>
> xt-mpt-pathscale/1.5.52<BR>
> PrgEnv-gnu/1.5.39 papi/3.5.0C.1 xt-libc/<BR>
> 1.4.43<BR>
> xt-os/1.4.10<BR>
> PrgEnv-gnu/1.5.52(default) pathscale/2.5 xt-libc/<BR>
> 1.5.16<BR>
> xt-os/1.4.38<BR>
> PrgEnv-pathscale/1.5.39 pathscale/3.0(default) xt-libc/<BR>
> 1.5.27<BR>
> xt-os/1.4.43<BR>
> PrgEnv-pathscale/1.5.52 pgi/6.2.5 xt-libc/<BR>
> 1.5.39<BR>
> xt-os/1.5.16<BR>
> PrgEnv-pgi/1.4.10 pgi/7.0.2 xt-libc/<BR>
> 1.5.52<BR>
> xt-os/1.5.27<BR>
> PrgEnv-pgi/1.4.38 pgi/7.0.3 xt-libsci/<BR>
> 1.4.10<BR>
> xt-os/1.5.39<BR>
> PrgEnv-pgi/1.4.43 pgi/7.0.4 xt-libsci/<BR>
> 1.4.38<BR>
> xt-os/1.5.52<BR>
> PrgEnv-pgi/1.5.16 pgi/7.0.5 xt-libsci/<BR>
> 1.4.43<BR>
> xt-papi/3.5.99a(default)<BR>
> PrgEnv-pgi/1.5.27 pgi/7.0.6(default) xt-libsci/<BR>
> 1.5.16<BR>
> xt-pbs/5.3.5<BR>
> PrgEnv-pgi/1.5.39 pgi/7.0.7 xt-libsci/<BR>
> 1.5.27<BR>
> xt-pe/1.4.38<BR>
> PrgEnv-pgi/1.5.52(default) pgi/7.1.2 xt-libsci/<BR>
> 1.5.39<BR>
> xt-pe/1.4.43<BR>
> acml/3.0 pgi/7.1.4<BR>
> xt-libsci/1.5.52(default) xt-pe/1.5.16<BR>
> acml/3.6(default) pgi32/6.1.1 xt-libsci/<BR>
> 10.2.0<BR>
> xt-pe/1.5.27<BR>
> acml/4.0.1a pkg-config/0.15.0 xt-lsfhpc/<BR>
> 6.1<BR>
> xt-pe/1.5.39<BR>
> acml-gnu/3.0 xt-boot/1.4.10 xt-lustre-<BR>
> ss/1.4.10<BR>
> xt-pe/1.5.52<BR>
> acml-large_arrays/3.0 xt-boot/1.4.38 xt-lustre-<BR>
> ss/1.4.38<BR>
> xt-service/1.4.10<BR>
> acml-mp/3.0 xt-boot/1.4.43 xt-lustre-<BR>
> ss/1.4.43<BR>
> xt-service/1.4.38<BR>
> apprentice2/3.0.1(default) xt-boot/1.5.16 xt-lustre-<BR>
> ss/1.5.16<BR>
> xt-service/1.4.43<BR>
> apprentice2/3.2.3 xt-boot/1.5.27 xt-lustre-<BR>
> ss/1.5.27<BR>
> xt-service/1.5.16<BR>
> apprentice2/4.0 xt-boot/1.5.39 xt-lustre-<BR>
> ss/1.5.39<BR>
> xt-service/1.5.27<BR>
> craypat/3.0.1 xt-boot/1.5.52<BR>
> xt-lustre-ss/1.5.39.bogl1 xt-service/1.5.39<BR>
> craypat/3.1.1 xt-catamount/1.4.10<BR>
> xt-lustre-ss/1.5.39.nic10 xt-service/1.5.52<BR>
> craypat/3.1.2(default) xt-catamount/1.4.38 xt-lustre-<BR>
> ss/1.5.52<BR>
><BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: Keita Teranishi [<A HREF="mailto:keita@cray.com">mailto:keita@cray.com</A>]<BR>
> Sent: Wednesday, July 30, 2008 9:09 AM<BR>
> To: petsc-users@mcs.anl.gov<BR>
> Cc: Nguyen, Hung V ERDC-ITL-MS<BR>
> Subject: RE: Petsc with hypre<BR>
><BR>
> Hi Hung,<BR>
><BR>
> Did this error happen with Cray's PETSc? Our PETSc supports both<BR>
> hypre and ParMetis.<BR>
> Please let me know more details with your error (such as module<BR>
> environment).<BR>
><BR>
><BR>
> Thanks,<BR>
><BR>
> ================================<BR>
> Keita Teranishi<BR>
> Math Software Group<BR>
> Cray, Inc.<BR>
> keita@cray.com<BR>
> ================================<BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: owner-petsc-users@mcs.anl.gov<BR>
> [<A HREF="mailto:owner-petsc-users@mcs.anl.gov">mailto:owner-petsc-users@mcs.anl.gov</A><BR>
> ] On<BR>
> Behalf Of Nguyen, Hung V ERDC-ITL-MS<BR>
> Sent: Wednesday, July 30, 2008 8:57 AM<BR>
> To: petsc-users@mcs.anl.gov<BR>
> Subject: Petsc with hypre<BR>
><BR>
><BR>
> Dear,<BR>
><BR>
> I tried to run PETSC with hypre on CrayXT3 system and got the error<BR>
> message below. I didn't install PETSC so I don't know whether it was<BR>
> installed with hypre option or not. So if I need to install PETSC with<BR>
> using hypre option, then please send me the instruction for<BR>
> installation (and also using parMeTiS).<BR>
><BR>
> I appreciate your help,<BR>
><BR>
> Regards,<BR>
><BR>
> -hung<BR>
><BR>
> hvnguyen:sapphire09% yod -np 16 ./fw -ksp_type richardson -pc_type<BR>
> hypre -pc_hypre_type boomeramg -pc_hypre_boomeramg_max_iter 4<BR>
> -pc_hypre_boomeramg_tol 1.0e-15<BR>
><BR>
><BR>
> [10]PETSC ERROR: [9]PETSC ERROR: [13]PETSC ERROR: [11]PETSC ERROR: <BR>
> [3]PETSC<BR>
> ERROR: [2]PETSC ERROR: [8]PETSC ERROR: [7]PETSC ERROR: [14]PETSC <BR>
> ERROR:<BR>
> [0]PETSC ERROR: [5]PETSC ERROR: [12]PETSC ERROR: [15]PETSC ERROR: <BR>
> [6]PETSC<BR>
> ERROR: [1]PETSC ERROR: [4]PETSC ERROR: --------------------- Error <BR>
> Message<BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> --------------------- Error Message <BR>
> ------------------------------------<BR>
> [10]PETSC ERROR: [9]PETSC ERROR: [13]PETSC ERROR: [11]PETSC ERROR: <BR>
> [3]PETSC<BR>
> ERROR: [2]PETSC ERROR: [8]PETSC ERROR: [7]PETSC ERROR: [14]PETSC <BR>
> ERROR:<BR>
> [0]PETSC ERROR: [5]PETSC ERROR: [12]PETSC ERROR: [15]PETSC ERROR: <BR>
> [6]PETSC<BR>
> ERROR: [1]PETSC ERROR: [4]PETSC ERROR: Unknown type. Check for miss-<BR>
> spelling<BR>
> or missing external package needed for type!<BR>
> Unknown type. Check for miss-spelling or missing external package <BR>
> needed for<BR>
> type!<BR>
> Unknown type. Check for miss-spelling or missing external package <BR>
> needed for<BR>
> type!<BR>
><BR>
> Unknown type. Check for miss-spelling or missing external package <BR>
> needed for<BR>
> type!<BR>
> [10]PETSC ERROR: [9]PETSC ERROR: [13]PETSC ERROR: [11]PETSC ERROR: <BR>
> [3]PETSC<BR>
> ERROR: [2]PETSC ERROR: [8]PETSC ERROR: [7]PETSC ERROR: [14]PETSC <BR>
> ERROR:<BR>
> [0]PETSC ERROR: [5]PETSC ERROR: [12]PETSC ERROR: [15]PETSC ERROR: <BR>
> [6]PETSC<BR>
> ERROR: [1]PETSC ERROR: [4]PETSC ERROR: Unable to find requested PC <BR>
> type<BR>
> hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> Unable to find requested PC type hypre!<BR>
> [10]PETSC ERROR: [9]PETSC ERROR: [13]PETSC ERROR: [11]PETSC ERROR: <BR>
> [3]PETSC<BR>
> ERROR: [2]PETSC ERROR: [8]PETSC ERROR: [7]PETSC ERROR: [14]PETSC <BR>
> ERROR:<BR>
> [0]PETSC ERROR: [5]PETSC ERROR: [12]PETSC ERROR: [15]PETSC ERROR: <BR>
> [6]PETSC<BR>
> ERROR: [1]PETSC ERROR: [4]PETSC ERROR:<BR>
> ------------------------------------------------------------------------<BR>
><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>