[petsc-users] --with-hypre-dir did not work for petsc configure in Win-7
Qin Lu
lu_qin_2000 at yahoo.com
Wed Nov 6 18:10:45 CST 2013
Satis,
1. hypre-2.9 did not build in Win-7 for some reason, so I still use hypre-2.8.0b.
2. I used CXXFLAGS="-O2 -MT" for hypre configure.
3. Tried --with-hypre-include and --with-hypre-lib but still got error:
=============================================================================== TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) *******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
--with-hypre-lib=['/cygdrive/c/Lib/hypre-2.8.0b-win64-release/lib'] and
--with-hypre-include=['/cygdrive/c/Lib/hypre-2.8.0b-win64-release/include'] did not work
*******************************************************************************
4. Content of hypre installation:
$ ls -R /cygdrive/c/Lib/hypre-2.8.0b-win64-release
/cygdrive/c/Lib/hypre-2.8.0b-win64-release:
include lib
/cygdrive/c/Lib/hypre-2.8.0b-win64-release/include:
Data.h HYPRE_krylov.h HYPRE_struct_mv.h _hypre_IJ_mv.h csr_block_matrix.h par_csr_block_matrix.h
HYPRE.h HYPRE_lobpcg.h HYPREf.h _hypre_parcsr_ls.h csr_matmultivec.h par_csr_matmultivec.h
HYPRE_DistributedMatrixPilutSolver_protos.h HYPRE_matrix_matrix_protos.h LLNL_FEI_Fei.h _hypre_parcsr_mv.h distributed_matrix.h par_csr_pmvcomm.h
HYPRE_DistributedMatrixPilutSolver_types.h HYPRE_parcsr_ls.h LLNL_FEI_Impl.h _hypre_sstruct_ls.h fei_defs.h par_multivector.h
HYPRE_FEI_includes.h HYPRE_parcsr_mv.h LLNL_FEI_LSCore.h _hypre_sstruct_mv.h hypre_cfei.h seq_multivector.h
HYPRE_IJ_mv.h HYPRE_seq_mv.h LLNL_FEI_Matrix.h _hypre_struct_ls.h interpreter.h seq_mv.h
HYPRE_LinSysCore.h HYPRE_sstruct_ls.h LLNL_FEI_Solver.h _hypre_struct_mv.h krylov.h temp_multivector.h
HYPRE_MatvecFunctions.h HYPRE_sstruct_mv.h LinearSystemCore.h cfei-hypre.h lobpcg.h
HYPRE_config.h HYPRE_struct_ls.h Lookup.h cfei_hypre.h multivector.h
/cygdrive/c/Lib/hypre-2.8.0b-win64-release/lib:
libHYPRE.a
5. I used compilation option -O3 for PETSc, but -O2 for hypre, can this be a problem?
Thanks,
Qin
On Wednesday, November 6, 2013 4:11 PM, Satish Balay <balay at mcs.anl.gov> wrote:
1. use latest hypre version - i.e
https://computation.llnl.gov/casc/hypre/download/hypre-2.9.1a.tar.gz
2. Make sure its buit with -MT compiler option
3. specify hypre with --with-hypre-include and --with-hypre-lib options
4. send us the following [so we know whats there - and why configure is not finding it]
ls -R /cygdrive/c/Lib/hypre-2.8.0b-win64-release
Satish
On Wed, 6 Nov 2013, Qin Lu wrote:
> Hello,
>
> I have built hypre-2.8.0b in Win-7 and have put the installlation under C:\Lib\hypre-2.8.0b-win64-release. Now I want to include it in my PETSc build but PETSc configure (within cygwin) gave an error message:
>
> --with-hypre-dir=/cygdrive/c/Lib/hypre-2.8.0b-win64-release did not work
>
> The configure.log is attached.
>
> Many thanks for any suggestions,
>
> Qin
More information about the petsc-users
mailing list