[petsc-users] Building Linux 32-bit PETSc lib
Satish Balay
balay at mcs.anl.gov
Fri Jan 10 09:55:24 CST 2014
On Fri, 10 Jan 2014, Qin Lu wrote:
> Hello,
>
> Since my Linux workstation does not have internet access, I downloaded hypre-2.9.1a.tar.gz and used --download-hypre=/d/dev01/qlu/Lib/hypre-2.9.1a.tar.gz instead. The configure gave the following error:
>
> *******************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
> -------------------------------------------------------------------------------
> Error running make on HYPRE: Could not execute "cd /d/dev01/qlu/Lib/petsc-3.4.2-32bit/externalpackages/hypre-2.9.1a/src && make install":
> Runaway process exceeded time limit of 2500s
> *******************************************************************************
>
> I confirmed that I can cd to /d/dev01/qlu/Lib/petsc-3.4.2-32bit/externalpackages/hypre-2.9.1a/src. The error message mentioned the time limit of 2500s, my workstation is very slow for some reason and it may take several hours to configure/build PETSc/Hypre, I am not sure this can be the problem.
>
> Please see the attached PETSc and Hypre configure log files for details.
Hm - you can try using --useThreads=0 - and see if the timeout gets disabled.
Alternative is to increase the timeouts for all comands by doing something like the following:
Satish
------
diff --git a/config/BuildSystem/script.py b/config/BuildSystem/script.py
index 4208522..a2f65bb 100644
--- a/config/BuildSystem/script.py
+++ b/config/BuildSystem/script.py
@@ -244,7 +244,7 @@ class Script(logger.Logger):
(self.output, self.error, self.status) = Script.runShellCommand(command, log, cwd)
thread = InShell()
thread.start()
- thread.join(timeout)
+ thread.join(timeout*3)
if thread.isAlive():
error = 'Runaway process exceeded time limit of '+str(timeout)+'s\n'
log.write(error)
balay at asterix /home/balay/petsc (master)
More information about the petsc-users
mailing list