On Tue, Nov 8, 2011 at 10:10 PM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I tried to force using the - seemingly properly compiled - blas/lapack<br>
libs with:<br>
<br>
./config/configure.py PETSC_DIR=$PWD PETSC_ARCH=win64-msvc-release<br>
--with-x=0 --with-debugging=0 --with-cc='win32fe cl'<br>
--with-cxx='win32fe cl' --with-fc=0<br>
--with-mpi-dir=/cygdrive/c/mpich2-1.3.2p1-win-x86-64<br>
--with-hypre-dir=/cygdrive/c/pack/hypre-2.7.0b/src/hypre/<br>
--with-parmetis=1 --download-parmetis=1<br>
--with-blas-lib=/cygdrive/c/pack/petsc-3.2-p5/win64-msvc-release/lib/libf2cblas.lib<br>
--with-lapack-lib=/cygdrive/c/pack/petsc-3.2-p5/win64-msvc-release/lib/libf2clapack.lib<br>
<br>
I get the error:<br>
<br>
*******************************************************************************<br>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for detail<br>
s):<br>
-------------------------------------------------------------------------------<br>
You set a value for --with-blas-lib=<lib> and --with-lapack-lib=<lib>, but ['/cy<br>
gdrive/c/pack/petsc-3.2-p5/win64-msvc-release/lib/libf2cblas.lib'] and ['/cygdri<br>
ve/c/pack/petsc-3.2-p5/win64-msvc-release/lib/libf2clapack.lib'] cannot be used<br>
*******************************************************************************<br>
<br>
Excerpt from configure.log:<br>
<br>
error LNK2019: unresolved external symbol dgetrs referenced in function main<br>
<br>
I will send complete log to petsc-maint again.<br></blockquote><div><br></div><div>Send that and 'nm /cygdrive/c/pack/petsc-3.2-p5/win64-msvc-release/lib/libf2clapack.lib | grep dgetrs' </div><div><br></div><div>
If you look in configure.log, it shows you the stub source we use to check the link and the</div><div>compile line. You can easily test yourself.</div><div><br></div><div> Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Any more hints?<br>
<br>
Thanks,<br>
Dominik<br>
<br>
On Mon, Nov 7, 2011 at 3:57 PM, Dominik Szczerba <<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>> wrote:<br>
> I am configuring with:<br>
><br>
> ./config/configure.py PETSC_DIR=$PWD PETSC_ARCH=win64-msvc-release<br>
> --with-x=0 --with-debugging=0 --with-cc='win32fe cl'<br>
> --with-cxx='win32fe cl' --with-fc=0 --download-f2cblaslapack<br>
> --with-mpi-dir=/cygdrive/c/mpich2-1.3.2p1-win-x86-64<br>
> --with-hypre-dir=/cygdrive/c/pack/hypre-2.7.0b/src/hypre/<br>
> --with-parmetis=1 --download-parmetis=1<br>
><br>
> and getting an error:<br>
><br>
> *******************************************************************************<br>
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log<br>
> for details):<br>
> -------------------------------------------------------------------------------<br>
> --download-f2cblaslapack libraries cannot be used<br>
> *******************************************************************************<br>
> File "./config/configure.py", line 283, in petsc_configure<br>
> framework.configure(out = sys.stdout)<br>
> File "/cygdrive/c/pack/petsc-3.2-p5/config/BuildSystem/config/framework.py",<br>
> line 925, in configure<br>
> child.configure()<br>
> File "/cygdrive/c/pack/petsc-3.2-p5/config/BuildSystem/config/packages/BlasLapack.py",<br>
> line 538, in configure<br>
> self.executeTest(self.configureLibrary)<br>
> File "/cygdrive/c/pack/petsc-3.2-p5/config/BuildSystem/config/base.py",<br>
> line 115, in executeTest<br>
> ret = apply(test, args,kargs)<br>
> File "/cygdrive/c/pack/petsc-3.2-p5/config/BuildSystem/config/packages/BlasLapack.py",<br>
> line 444, in configureLibrary<br>
> for (name, blasLibrary, lapackLibrary, self.useCompatibilityLibs)<br>
> in self.generateGuesses():<br>
> File "/cygdrive/c/pack/petsc-3.2-p5/config/BuildSystem/config/packages/BlasLapack.py",<br>
> line 162, in generateGuesses<br>
> raise RuntimeError('--download-f2cblaslapack libraries cannot be used')<br>
><br>
> I will send the full log to petsc-maint in a second. How do I go from here?<br>
><br>
> Thanks for any hints,<br>
> Dominik<br>
><br>
</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<br>