<div class="gmail_quote">On Sun, Mar 4, 2012 at 05:43, Haren, S.W. van (Steven) <span dir="ltr">&lt;<a href="mailto:vanharen@nrg.eu">vanharen@nrg.eu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Jed,<br>
<br>
Thanks for your reply.<br>
<br>
These are the last lines from the configure.log:<br>
<br>
sh: cd /home/steven/C++/PETSc/petsc-3.2-p6/externalpackages/hdf5-1.8.6 &amp;&amp; make clean &amp;&amp; make &amp;&amp; make install<br>
Executing: cd /home/steven/C++/PETSc/petsc-3.2-p6/externalpackages/hdf5-1.8.6 &amp;&amp; make clean &amp;&amp; make &amp;&amp; make install<br>
Runaway process exceeded time limit of 2500s<br></blockquote><div><br></div><div>Possibilities:</div><div><br></div><div>1. System clock was changed or the machine was suspended, causing incorrect timeout. (As an aside, the Python docs are horrible. They act like time is one thing, so I have to read the source code to find out that threading.Thread.join() implements a timeout using time(2) which is neither monotone nor continuous.)</div>
<div><br></div><div>2. The compilation actually takes a long time on this machine, perhaps because it doesn&#39;t get much time to run due to other jobs. You could try increasing the timeout or running make manually from externalpackages/hdf5-1.8.6/.</div>
<div><br></div><div>3. The hdf5 build process is getting stuck somewhere, I suggest trying to complete the install manually from externalpackages/hdf5-1.8.6/.</div><div><br></div><div>If you can&#39;t get it working, send configure.log and HDF5 attempted build logs to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a>.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
sh:<br>
*******************************************************************************<br>
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>
-------------------------------------------------------------------------------<br>
Error running make on HDF5: Could not execute &quot;cd /home/steven/C++/PETSc/petsc-3.2-p6/externalpackages/hdf5-1.8.6 &amp;&amp; make clean &amp;&amp; make &amp;&amp; make install&quot;:<br>
Runaway process exceeded time limit of 2500s<br>
*******************************************************************************<br>
  File &quot;./config/configure.py&quot;, line 283, in petsc_configure<br>
    framework.configure(out = sys.stdout)<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/framework.py&quot;, line 925, in configure<br>
    child.configure()<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py&quot;, line 506, in configure<br>
    self.executeTest(self.configureLibrary)<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/base.py&quot;, line 115, in executeTest<br>
    ret = apply(test, args,kargs)<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/packages/hdf5.py&quot;, line 63, in configureLibrary<br>
    config.package.Package.configureLibrary(self)<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py&quot;, line 433, in configureLibrary<br>
    for location, directory, lib, incl in self.generateGuesses():<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py&quot;, line 228, in generateGuesses<br>
    d = self.checkDownload(1)<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py&quot;, line 313, in checkDownload<br>
    return self.getInstallDir()<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py&quot;, line 183, in getInstallDir<br>
    return os.path.abspath(self.Install())<br>
  File &quot;/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/packages/hdf5.py&quot;, line 56, in Install<br>
    raise RuntimeError(&#39;Error running make on HDF5: &#39;+str(e))<br>
<br>
Using the top command I cannot really identify a process that uses all the memory. The memory use increases untill completely full. But the maximum percentage used by any process does not go above 10 percent. Even when the compilation is stopped the memory is not freed. I don&#39;t really understand this. Could you give me a few pointers based on the configure.log output?<br>

<br>
Hoe should I attach a debugger? Any good links were I can read how to do that?<br>
<br>
Thanks in advance.<br>
<br>
Kind regards,<br>
<font color="#888888"><br>
Steven<br>
</font><div><div></div><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:petsc-users-bounces@mcs.anl.gov">petsc-users-bounces@mcs.anl.gov</a> on behalf of Jed Brown<br>
Sent: Wed 2/29/2012 10:43 PM<br>
To: PETSc users list<br>
Subject: Re: [petsc-users] HDF5 installation problems<br>
<br>
On Wed, Feb 29, 2012 at 15:35, Haren, S.W. van (Steven) &lt;<a href="mailto:vanharen@nrg.eu">vanharen@nrg.eu</a>&gt;wrote:<br>
<br>
&gt; Dear all,<br>
&gt;<br>
&gt; I try to configure Petsc to use HDF5.<br>
&gt;<br>
&gt; During the HDF5 compilation stage the memory use increases untill the<br>
&gt; computer basically stalls and almost all memory is used. After 2500s the<br>
&gt; compilation is stopped because of a runaway process.<br>
&gt;<br>
<br>
Check configure.log and/or attach a debugger to find out where it got<br>
stuck. At least use &quot;top&quot; to find out which process is taking all the time<br>
and memory.<br>
<br>
</div></div></blockquote></div><br>