On Fri, Jul 11, 2014 at 4:28 PM, Satish Balay <[email protected]> wrote:
> On Fri, 11 Jul 2014, Wadud Miah 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 should be: --with-hypre-lib="-L/data/home/eew918/hypre-2.9.0b/lib > -lHYPRE" > > You are probably better off using --download-hypre instead > > > --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" \ > > You can use > --with-blas-lapack-lib=/opt/intel/composer_xe_2013_sp1.2.144/mkl [instead > of the above 3 options > It should be -dir, not -lib. Matt > > --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 > > You are better off using --with-mpi-dir=/opt/openmpi/1.6.5/intel/13.1 > [instead of the above 3 options > > Satish > > > > > 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
