[petsc-dev] Increasing timeout for external package builds?

Richard Tran Mills rtm at eecs.utk.edu
Wed Mar 13 14:22:22 CDT 2013


I like the timeout multiplier idea.

Perhaps we could also have a command line option to specify how expensive 
the computer is.  Then the usual timeouts can be used if it is a $500 
laptop, but if it is part of supercomputer costing millions of dollars, 
then BuildSystem will know that builds will be super slow and can multiply 
everything by a large factor. =)

--Richard

On 3/13/13 3:11 PM, Barry Smith wrote:
>    Maybe we could have a universal multiplier that is multiplied by each of the individual ones, then Richard could run with -with-timeout-multiplier=4
>
>
> On Mar 13, 2013, at 2:03 PM, Matthew Knepley <knepley at gmail.com> wrote:
>
>> On Wed, Mar 13, 2013 at 2:56 PM, Richard Tran Mills <rtm at eecs.utk.edu> wrote:
>> Hi Folks,
>>
>> I occasionally see messages like this from configure.py:
>>
>> Error running make on HDF5: Could not execute "cd /home/rmills/proj/petsc-dev/externalpackages/hdf5-1.8.6 && make clean && make && make install":
>> Runaway process exceeded time limit of 2500s
>> But the only real problem is that I am building on a machine that is a slow POS (and often is part of a O($100 million) supercomputer). 1) Is there a way to increase this timeout on the command line?, and 2) if so, could we have configure.py tell the user this option when it bails out due to this time limit?
>>
>> We don't have a uniform timeout option since we have dozens of different timeouts in the code. It is an argument
>> to executeShellCommand(). I think the best place to put an option might be in package.py for a package install.
>>
>>     Matt
>>   
>> Thanks,
>> Richard
>>
>> -- 
>> Richard Tran Mills, Ph.D.
>> Computational Earth Scientist      | Joint Assistant Professor
>> Hydrogeochemical Dynamics Team     | EECS and Earth & Planetary Sciences
>> Oak Ridge National Laboratory      | University of Tennessee, Knoxville
>> E-mail: rmills at ornl.gov  V: 865-241-3198 http://climate.ornl.gov/~rmills
>>
>>
>>
>>
>> -- 
>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
>> -- Norbert Wiener


-- 
Richard Tran Mills, Ph.D.
Computational Earth Scientist      | Joint Assistant Professor
Hydrogeochemical Dynamics Team     | EECS and Earth & Planetary Sciences
Oak Ridge National Laboratory      | University of Tennessee, Knoxville
E-mail: rmills at ornl.gov  V: 865-241-3198 http://climate.ornl.gov/~rmills




More information about the petsc-dev mailing list