From: Wolfgang Bangerth Date: Tue, 14 Dec 2010 06:11:30 +0000 (+0000) Subject: Multiply WALLTIME with the number of processors. Let's see if that gets the X-Git-Tag: v8.0.0~4697 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5dace852cd97afca1859373750ccca6f991ec7;p=dealii.git Multiply WALLTIME with the number of processors. Let's see if that gets the number of spurious failures back down. git-svn-id: https://svn.dealii.org/trunk@22962 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/tests.h b/tests/tests.h index c77a5d6f7f..51ff270dd3 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -137,7 +138,7 @@ struct DeadlockKiller conv >> delay; if (conv) { - sleep (delay*4); + sleep (delay*multithread_info.n_cpus); std::cerr << "Time's up: Killing job because it overran its allowed walltime" << std::endl; std::abort ();