<div class="gmail_quote">On Fri, Jan 11, 2013 at 1:26 AM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Dump of file libHYPRE.lib<br>
><br>
> File Type: LIBRARY<br>
><br>
> Summary<br>
><br>
> A198 .bss<br>
> 18C .data<br>
> 11B28 .debug$S<br>
> 135E7 .drtve<br>
> CE64 .pdata<br>
> F829 .rdata<br>
> 2146A6 .text<br>
> 12720 .xdata<br>
<br>
</div>Yes, this looks correctly as a native library. So how did you bring it<br>
to compile? Which version of MSVC are you using? </blockquote><div><br>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:<br>
<br>./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<br>
<br>Note that it is configuring --without-mli, which would explain why I don't encounter the problem you experience below.<br><br>John<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I get an error during<br>
compilation:<br>
<br>
cl -MD -nologo -DWIN32 -O2 -I/mpich2-1.3.2p1-win-x86-64/include -DHAVE_CONFIG_H<br>
-DMLI_SUPERLU -DMPICH_SKIP_MPICXX -I. -I../../.. -I./.. -I./../../../utilities -<br>
I./../../../IJ_mv -I./../../../krylov -I./../../../multivector -I./../../../parc<br>
sr_mv -I./../../../parcsr_ls -I./../../../seq_mv -I./../../../distributed_matrix<br>
-I./../../../distributed_ls -I./../../../FEI_mv/fei-hypre -I./../../../FEI_mv/f<br>
emli -I./../../../FEI_mv/SuperLU -c mli_method.cxx; mv -f mli_method.obj mli_m<br>
ethod.o<br>
mli_method.cxx<br>
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(142) : e<br>
rror C2375: '_stricmp' : redefinition; different linkage<br>
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(<br>
111) : see declaration of '_stricmp'<br>
mli_method.cxx(146) : warning C4551: function call missing argument list<br>
mli_method.cxx(146) : error C3861: '_stricmp': identifier not found<br>
mli_method.cxx(150) : warning C4551: function call missing argument list<br>
mli_method.cxx(150) : error C3861: '_stricmp': identifier not found<br>
mli_method.cxx(156) : warning C4551: function call missing argument list<br>
mli_method.cxx(156) : error C3861: '_stricmp': identifier not found<br>
mli_method.cxx(164) : warning C4551: function call missing argument list<br>
mli_method.cxx(164) : error C3861: '_stricmp': identifier not found<br>
mli_method.cxx(174) : warning C4551: function call missing argument list<br>
mli_method.cxx(174) : error C3861: '_stricmp': identifier not found<br>
mli_method.cxx(178) : warning C4551: function call missing argument list<br>
mli_method.cxx(178) : error C3861: '_stricmp': identifier not found<br>
mv: cannot stat `mli_method.obj': No such file or directory<br>
../../../config/Makefile.config:54: recipe for target `mli_method.o' failed<br>
make[3]: *** [mli_method.o] Error 1<br>
make[3]: Leaving directory `/cygdrive/c/pack/hypre-2.8.0b/src/FEI_mv/femli/lib'<br>
Makefile:85: recipe for target `all' failed<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory `/cygdrive/c/pack/hypre-2.8.0b/src/FEI_mv/femli'<br>
Making fei-hypre ...<br>
make[2]: Entering directory `/cygdrive/c/pack/hypre-2.8.0b/src/FEI_mv/fei-hypre'<br>
</blockquote></div><br>