[petsc-users] PETSc 3.5.0 build with Hypre
Matthew Knepley
knepley at gmail.com
Fri Jul 11 09:26:50 CDT 2014
On Fri, Jul 11, 2014 at 4:20 PM, Wadud Miah <w.miah at qmul.ac.uk> wrote:
> Hello,
>
>
>
> I am trying to build PETSc 3.5.0 with Hypre 2.9.0b with the following
> configure options:
>
>
>
> ./configure \
>
> --with-hypre=1 \
>
> --with-hypre-lib=/data/home/eew918/hypre-2.9.0b/lib \
>
This argument is not the directory, but an actual list of libraries. I
think you really want
--with-hypre-dir=/data/home/eew918/hypre-2.9.0b
instead of the include/dir options.
Thanks
Matt
> --with-hypre-include=/data/home/eew918/hypre-2.9.0b/include \
>
> --LDFLAGS="-L/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64
> -L/data/home/eew918/hypre-2.9.0b/lib" \
>
> --with-blas-lib="mkl_intel_lp64 mkl_sequential mkl_core" \
>
> --with-lapack-lib="mkl_intel_lp64 mkl_sequential mkl_core" \
>
> --with-fortran-interfaces=1 \
>
> --prefix=$HOME/petsc-3.5.0 \
>
> --with-shared-libraries=1 \
>
> --with-mpi=1 \
>
> --with-mpi-include=/opt/openmpi/1.6.5/intel/13.1/include \
>
> --with-mpi-lib=/opt/openmpi/1.6.5/intel/13.1/lib/libmpi.so
>
>
>
> But I keep getting the following error message during configure:
>
>
>
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
> details):
>
>
> -------------------------------------------------------------------------------
>
> --with-hypre-lib=['/data/home/eew918/hypre-2.9.0b/lib'] and
>
> --with-hypre-include=['/data/home/eew918/hypre-2.9.0b/include'] did not
> work
>
>
>
> I see the compilation command with the correct library path
> (-L/data/home/eew918/hypre-2.9.0b/lib) but no library name with the -l
> switch.
>
>
>
> Regards,
>
>
>
> -------------------------------------------
>
> Wadud Miah
>
> Research Computing Services (HPC)
>
> 020 7882 8393
>
>
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140711/e8c9cd7e/attachment.html>
More information about the petsc-users
mailing list