tpause upstart by random length of time - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 98f4e4cd830e457d554112d39569c221300ddb0a
(DIR) parent b87a5a357c89179c1397be92a291c0d7523252e5
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 7 Dec 2015 14:53:57 +0100
pause upstart by random length of time
Diffstat:
M matlab/file_scanner_mcmc_starter.m | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/matlab/file_scanner_mcmc_starter.m b/matlab/file_scanner_mcmc_starter.m
t@@ -53,6 +53,9 @@ show_figures = 'off';
%% initialization
addpath(matlab_scripts_folder);
+% make sure multiple matlab processes to not launch at the exact same time
+pause(rand()*4.0);
+
disp('Entering main loop, waiting for input from web interface...');
%% main loop