hypre and PETSc's FORTRAN Interface (PLEASE IGNORE MY PREVIOUS EMAIL WITH SAME TITLE!)

Keita Teranishi keita at cray.com
Mon Aug 27 09:56:06 CDT 2007


Hi Satish,

Our environment requires cross compiling, set by --with-batch option for PETSc's configure.  However, it doesn't set the correct cross-compiling option for hypre's configure script (--host).  I am wondering if this happen only for our environment...

Thanks,

Keita

-----Original Message-----
From: owner-petsc-users at mcs.anl.gov [mailto:owner-petsc-users at mcs.anl.gov] On Behalf Of Satish Balay
Sent: Monday, August 27, 2007 10:46 PM
To: petsc-users at mcs.anl.gov
Subject: RE: hypre and PETSc's FORTRAN Interface (PLEASE IGNORE MY PREVIOUS EMAIL WITH SAME TITLE!)

If you download hypre tarball [from PETSc website] manually - its
best to install it with PETSc configure - with the option:

--download-hypre=/path-to/hypre.tar.gz

Satish

On Mon, 27 Aug 2007, Keita Teranishi wrote:

> Hi, 
> 
>  
> 
> Please ignore my previous email.  I found the error was related to hypre's configure script (not PETSc). I found PETSc configure script disables Babel for installing hypre.
> 
>  
> 
> Sorry,
> 
>  
> 
> Keita
> 
>  
> 
>  
> 
>  
> 
>  
> 
> ________________________________
> 
> From: owner-petsc-users at mcs.anl.gov [mailto:owner-petsc-users at mcs.anl.gov] On Behalf Of Keita Teranishi
> Sent: Monday, August 27, 2007 2:02 PM
> To: petsc-users at mcs.anl.gov
> Subject: hypre and PETSc's FORTRAN Interface
> 
>  
> 
> Hi,
> 
>  
> 
> I am trying to build petsc with FORTRAN interface and hypre together, but having a configure error message due to language compatibility between FORTRAN and C++.  More precisely, the configure script complains that PETSc's FORTRAN interface cannot be linked to some C++ objects of hypre.  I thought the latest version of hypre is implemented in C except some optional packages such as Babel.  If this is right, we could use FOTRAN interface to use PETSc and hypre together. 
> 
> I would like to know how PETSc accesses to hypre.
> 
>  
> 
> Thanks,
> 
>  
> 
> Keita
> 
> 




More information about the petsc-users mailing list