<div class="gmail_quote">On Sun, Mar 4, 2012 at 05:43, Haren, S.W. van (Steven) <span dir="ltr"><<a href="mailto:vanharen@nrg.eu">vanharen@nrg.eu</a>></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 && make clean && make && make install<br>
Executing: cd /home/steven/C++/PETSc/petsc-3.2-p6/externalpackages/hdf5-1.8.6 && make clean && make && 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'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'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 "cd /home/steven/C++/PETSc/petsc-3.2-p6/externalpackages/hdf5-1.8.6 && make clean && make && make install":<br>
Runaway process exceeded time limit of 2500s<br>
*******************************************************************************<br>
File "./config/configure.py", line 283, in petsc_configure<br>
framework.configure(out = sys.stdout)<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 925, in configure<br>
child.configure()<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py", line 506, in configure<br>
self.executeTest(self.configureLibrary)<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/base.py", line 115, in executeTest<br>
ret = apply(test, args,kargs)<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/packages/hdf5.py", line 63, in configureLibrary<br>
config.package.Package.configureLibrary(self)<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py", line 433, in configureLibrary<br>
for location, directory, lib, incl in self.generateGuesses():<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py", line 228, in generateGuesses<br>
d = self.checkDownload(1)<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py", line 313, in checkDownload<br>
return self.getInstallDir()<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/package.py", line 183, in getInstallDir<br>
return os.path.abspath(self.Install())<br>
File "/home/steven/C++/PETSc/petsc-3.2-p6/config/BuildSystem/config/packages/hdf5.py", line 56, in Install<br>
raise RuntimeError('Error running make on HDF5: '+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'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) <<a href="mailto:vanharen@nrg.eu">vanharen@nrg.eu</a>>wrote:<br>
<br>
> Dear all,<br>
><br>
> I try to configure Petsc to use HDF5.<br>
><br>
> During the HDF5 compilation stage the memory use increases untill the<br>
> computer basically stalls and almost all memory is used. After 2500s the<br>
> compilation is stopped because of a runaway process.<br>
><br>
<br>
Check configure.log and/or attach a debugger to find out where it got<br>
stuck. At least use "top" to find out which process is taking all the time<br>
and memory.<br>
<br>
</div></div></blockquote></div><br>