Hello, the problem with the "infinite" loop seems to be CMAKE related. Sorry to bother. Maybe the minimum required version of CMake should be changed from 2.6 to something higher. <a href="http://www.mail-archive.com/cmake@cmake.org/msg25107.html">Here</a> people discuss the same problem, where somebody suggest the problem of infinite looping is fixed in <a href="http://www.cmake.org/files/v2.6/CMakeChangeLog-2.6.2">version 2.6.2</a><br>
<br>regards<br><br><br><br><div class="gmail_quote">2010/8/23 Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is not output from our configure. Are you running something else in the PETSc directory?<div>Send configure.log</div><div><br></div><div>   Matt<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Aug 23, 2010 at 11:45 AM, Leo van Kampenhout <span dir="ltr"><<a href="mailto:lvankampenhout@gmail.com" target="_blank">lvankampenhout@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Aron, <br><br>I try now to configure the Mercurial version of Petsc-dev. However, the script gets stuck in some kind of "infinite" loop, producing this text over and over again. What should I do now?<br>

<br><span style="font-family: courier new,monospace;">-- The C compiler identification is GNU</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-- Check for working C compiler: /opt/local/bin/mpicc</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-- Check for working C compiler: /opt/local/bin/mpicc -- works</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">-- Detecting C compiler ABI info</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-- Detecting C compiler ABI info - done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">-- The Fortran compiler identification is GNU</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-- Check for working Fortran compiler: mpif90</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">-- Check for working Fortran compiler: mpif90 -- works</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-- Checking whether mpif90 supports Fortran 90</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">-- Checking whether mpif90 supports Fortran 90 -- yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-- Configuring done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">You have changed variables that require your cache to be deleted.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Configure will be re-run and you may have to reset some variables.</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">The following variables have changed:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CMAKE_Fortran_COMPILER= mpif90</span><div>

<div></div><div><br>
<br><br>Leo<br><br><br><div class="gmail_quote">2010/8/23 Aron Ahmadia <span dir="ltr"><<a href="mailto:aron@ahmadia.net" target="_blank">aron@ahmadia.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div dir="ltr">Hi Leo,<div><br>Yes.</div><div><br></div><font color="#888888"><div>A</div></font><div><div></div><div><div><br><div class="gmail_quote">On Mon, Aug 23, 2010 at 2:19 PM, Leo van Kampenhout <span dir="ltr"><<a href="mailto:lvankampenhout@gmail.com" target="_blank">lvankampenhout@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Aron,<br><br>I'm using the nightly tarball. Do you propose using mercurial? I can try that.<br>


<br>Leo<br><br><br>
<br><div class="gmail_quote">2010/8/23 Aron Ahmadia <span dir="ltr"><<a href="mailto:aron@ahmadia.net" target="_blank">aron@ahmadia.net</a>></span><div><div></div><div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi Leo,<div><br></div><div>Did you perform an "hg pull; hg update" in petsc-dev/config/BuildSystem?</div>




<div><br></div><font color="#888888"><div>A</div></font><div><div></div><div><div><br><div class="gmail_quote">On Mon, Aug 23, 2010 at 2:14 PM, Leo van Kampenhout <span dir="ltr"><<a href="mailto:lvankampenhout@gmail.com" target="_blank">lvankampenhout@gmail.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all, <br><br>I'm trying to install PETSc-dev on my desktop machine. This is what goes wrong. I suspect the line <br>





 import cmakegen [line 409]<br>in the configure.py is the cause. The version of Cmake installed on my system is 2.6<br>
Best regards,<br><br>Leo van Kampenhout<br><br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">csg4035@wingtip70:~/install/petsc-dev$ ./configure</span><br style="font-family: courier new,monospace;">






<span style="font-family: courier new,monospace;">===============================================================================</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">             Configuring PETSc to compile on your system                       </span><br style="font-family: courier new,monospace;">






<span style="font-family: courier new,monospace;">===============================================================================</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">TESTING: configureFortranFlush from PETSc.Configure(/net/users/csg/csg4035/download/petsc-dev/config/PETSc/Configure.py:652*******************************************************************************</span><br style="font-family: courier new,monospace;">






<span style="font-family: courier new,monospace;">                     UNABLE to FIND MODULE for ./configure </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-------------------------------------------------------------------------------</span><br style="font-family: courier new,monospace;">






<span style="font-family: courier new,monospace;">No module named cmakegen</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">*******************************************************************************</span><br>






<br><br><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div></div></div><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br></div></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>
</div>
</blockquote></div><br>