<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 11, 2014 at 4:20 PM, Wadud Miah <span dir="ltr"><<a href="mailto:w.miah@qmul.ac.uk" target="_blank">w.miah@qmul.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am trying to build PETSc 3.5.0 with Hypre 2.9.0b with the following configure options:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">./configure \<u></u><u></u></p>
<p class="MsoNormal">--with-hypre=1 \<u></u><u></u></p>
<p class="MsoNormal">--with-hypre-lib=/data/home/eew918/hypre-2.9.0b/lib \</p></div></div></blockquote><div><br></div><div>This argument is not the directory, but an actual list of libraries. I think you really want</div>
<div><br></div><div> --with-hypre-dir=/data/home/eew918/hypre-2.9.0b</div><div><br></div><div>instead of the include/dir options.</div><div><br></div><div> Thanks</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">--with-hypre-include=/data/home/eew918/hypre-2.9.0b/include \<u></u><u></u></p>
<p class="MsoNormal">--LDFLAGS="-L/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64 -L/data/home/eew918/hypre-2.9.0b/lib" \<u></u><u></u></p>
<p class="MsoNormal">--with-blas-lib="mkl_intel_lp64 mkl_sequential mkl_core" \<u></u><u></u></p>
<p class="MsoNormal">--with-lapack-lib="mkl_intel_lp64 mkl_sequential mkl_core" \<u></u><u></u></p>
<p class="MsoNormal">--with-fortran-interfaces=1 \<u></u><u></u></p>
<p class="MsoNormal">--prefix=$HOME/petsc-3.5.0 \<u></u><u></u></p>
<p class="MsoNormal">--with-shared-libraries=1 \<u></u><u></u></p>
<p class="MsoNormal">--with-mpi=1 \<u></u><u></u></p>
<p class="MsoNormal">--with-mpi-include=/opt/openmpi/1.6.5/intel/13.1/include \<u></u><u></u></p>
<p class="MsoNormal">--with-mpi-lib=/opt/openmpi/1.6.5/intel/13.1/lib/libmpi.so<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But I keep getting the following error message during configure:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<u></u><u></u></p>
<p class="MsoNormal">-------------------------------------------------------------------------------<u></u><u></u></p>
<p class="MsoNormal">--with-hypre-lib=['/data/home/eew918/hypre-2.9.0b/lib'] and<u></u><u></u></p>
<p class="MsoNormal">--with-hypre-include=['/data/home/eew918/hypre-2.9.0b/include'] did not work<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>-------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><span>Wadud Miah<u></u><u></u></span></p>
<p class="MsoNormal"><span>Research Computing Services (HPC)<u></u><u></u></span></p>
<p class="MsoNormal"><span>020 7882 8393<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>