<div dir="ltr">On Sat, May 25, 2013 at 6:27 AM, Agnostic Noname <span dir="ltr"><<a href="mailto:u1028451@gmail.com" target="_blank">u1028451@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am trying to setup petsc under windows 7 x64, with VS2012 Win64. For now I left Fortran aside (I plan to do it however), so I am trying to build a fortran-free version of petsc.</div>
<div><br></div><div>First I installed the latest version of cmake: 2.8.11 to make sure VS2012 Win64 and fortran XE 2013 are supported.</div><div><br></div><div>The steps I follow are:</div><div>
* Open a "Open VS2012 x64 Native Tools Command Prompt"</div><div> * Run "c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x64</div><div> * Run cygwin: C:\Cygwin\bin\bash.exe --login</div>
<div> * cd /cygdrive/f/users/user1/petsc-3.4.0</div><div> * Configure with: ./configure --with-debugging=no --with-cc='win32fe cl -O2' --with-fc=0 --with-cxx='win32fe cl -O2' --download-f2cblaslapack=1 --download-blacs=1 --download-mups=1 --with-clanguage=cxx --with-scalar-type=complex --with-precision=double --with-mpi-dir='/cygdrive/c/Program Files/MPICH2'</div>
<div> </div><div>After these steps configuration process ends with a status number 256 and a message "falling back to legacy build". </div><div><br></div><div>Of course I tried to run make, as suggested at the end of the script "make PETSC_DIR=/cygdrive/f/users/user1/petsc-3.4.0 PETSC_ARCH=arch-mswin-cxx-opt all" but this ended up failing.</div>
<div><br></div><div>Please find attached the configure.log and the make.log files.</div><div><br></div><div>Thanks in advance. Keep up the great work!</div></div>
</blockquote></div><br>1) Please send messages with logs to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a> so everyone does not get huge attachments</div><div class="gmail_extra"><br></div><div class="gmail_extra">
2) You have a buggy compiler</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">libfast in: /cygdrive/f/users/user1/petsc-3.4.0/src/mat/impls/baij/seq</div><div class="gmail_extra">baij.c</div>
<div class="gmail_extra">baij2.c</div><div class="gmail_extra">baijfact.c</div><div class="gmail_extra">baijfact2.c</div><div class="gmail_extra">f:\users\user1\petsc-3.4.0\src\mat\impls\baij\seq\baijfact2.c(2941) : fatal error C1001: An internal error has occurred in the compiler.</div>
<div class="gmail_extra">(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 211)</div><div class="gmail_extra"> To work around this problem, try simplifying or changing the program near the locations listed above.</div>
<div class="gmail_extra">Please choose the Technical Support command on the Visual C++ </div><div class="gmail_extra"> Help menu, or open the Technical Support help file for more information</div><div class="gmail_extra">
INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\cl.exe'</div><div class="gmail_extra"> Please choose the Technical Support command on the Visual C++</div><div class="gmail_extra">
Help menu, or open the Technical Support help file for more information</div><div class="gmail_extra">Microsoft (R) Library Manager Version 11.00.50727.1</div><div class="gmail_extra">Copyright (C) Microsoft Corporation. All rights reserved.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">baijfact2.o : fatal error LNK1136: invalid or corrupt file</div><div class="gmail_extra"><br></div><div class="gmail_extra" style>I recommend either upgrading to the latest version, or if that does not work, backing off the</div>
<div class="gmail_extra" style>optimization (you have -O2).</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style> Thanks,</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
Matt</div><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
</div></div>