[petsc-users] Petsc 3.3.p5 with HYPRE 2.9.0b

Dominik Szczerba dominik at itis.ethz.ch
Fri Jan 11 09:44:50 CST 2013


> I'm using Visual Studio 2010, which contains Microsoft (R) C/C++ Optimizing
> Compiler Version 16.00.40219.01 for x64.  I had to make some modifications
> to get the distributed tarball to produce a .lib instead of a .a, but I
> believe otherwise I haven't made any changes.  Here's what PETSc's configure
> produces when it configures hypre:
>
> ./configure --prefix=/tmp/petsc-3.3-p3/arch-mswin-c-opt
> --libdir=/tmp/petsc-3.3-p3/arch-mswin-c-opt/lib CC="win32fe cl" CFLAGS=" -MD
> -wd4996 -O2 -DWIN32" CXX="win32fe cl  -MD -GR -EHsc -O2 -Zm200  -TP  "
> F77="win32fe ifort  -MD -O3 -QxW -fpp "
> --with-MPI-include="/usr/local/mpi-platform/include/64"
> --with-MPI-lib-dirs="/usr/local/mpi-platform/lib"
> --with-MPI-libs="pcmpi64.l" HYPRE_LIBSUFFIX=.lib RANLIB="/usr/bin/true"
> AR="/tmp/petsc-3.3-p3/bin/win32fe/win32fe lib -a" --with-blas-libs=
> --with-blas-lib-dir= --with-lapack-libs= --with-lapack-lib-dir=
> --with-blas=yes --with-lapack=yes --with-fmangle-blas=caps-no-underscores
> --with-fmangle-lapack=caps-no-underscores --without-babel --without-mli
> --without-fei --without-superlu
>
> Note that it is configuring --without-mli, which would explain why I don't
> encounter the problem you experience below.
>
> John


Yes indeed I usually had to make tweeks to get a Windows library at the end.
Thanks for the tip about mli, I will look into it. But first, since
2.9.0b built just fine with no tricks I will first test if it works
fine.

Many thanks again for your mail,
Dominik


More information about the petsc-users mailing list