I have made a new tarball and pushed the new name to petsc-dev. We should know whether anything<div>is messed up from nightly builds.</div><div><br></div><div>  Matt<br><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 9:14 AM, John Fettig <span dir="ltr"><<a href="mailto:john.fettig@gmail.com" target="_blank">john.fettig@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think I sent this to the wrong place, I've cc'd petsc-maint on this<br>
reply which includes the patch.  There are a couple of other things<br>
that have to be done that I couldn't include in the patch because I<br>
believe it requires modifying the files used to generate the configure<br>
script:<br>
<br>
1) On windows, petsc expects libml.lib not libml.a and so the Makefile<br>
has to be changed to build libml.lib.<br>
2) I believe you can pass AR to the configure script, but in any case,<br>
you need AR="$PETSC_DIR/bin/win32fe/win32fe lib -a" and<br>
RANLIB=/usr/bin/true in the Makefile<br>
3) You have to add "-DICL" to CFLAGS and CXXFLAGS.<br>
4) The patch I've attached, which changes sleep to Sleep and excludes<br>
unistd.h when ICL is defined.  It also removes "--verbose" from the<br>
things that configure tries, because the result isn't parsed correctly<br>
(it makes configure think that "-link" needs to be added to the link<br>
line, which is erroneous).<br>
<br>
I believe those are all the changes I made.  I hope this patch can be<br>
applied to the ml tarball so that windows users have a better shot at<br>
using ml+petsc.<br>
<font color="#888888"><br>
John<br>
</font><div><div></div><div><br>
On Wed, Jun 1, 2011 at 10:22 AM, John Fettig <<a href="mailto:john.fettig@gmail.com" target="_blank">john.fettig@gmail.com</a>> wrote:<br>
> I have been working on compiling ML on windows using the tarball that<br>
> is downloaded through configure.py from petsc 3.1 p8.  There are<br>
> several changes to the source code and to the configure/Makefile that<br>
> I found necessary to get it to compile with the intel compilers.<br>
> Would you be interested in merging these changes into your tarball?<br>
> If so, I will put together a patch.<br>
><br>
> Cheers,<br>
> John<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <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>
</div>