From fde257636aa3a2fa04f89829176a345e15664565 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 15 Jan 2014 20:33:02 -0500 Subject: maybe better randomization to prevent port conflicts on big machines? --- training/utils/parallelize.pl | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'training/utils') diff --git a/training/utils/parallelize.pl b/training/utils/parallelize.pl index 4197e0e5..c9ab88ce 100755 --- a/training/utils/parallelize.pl +++ b/training/utils/parallelize.pl @@ -45,11 +45,22 @@ my $numnodes = 8; my $user = $ENV{"USER"}; my $pmem = "9g"; my $basep=50300; -my $randp=300; my $tryp=50; my $no_which; my $no_cd; +if (-r '/dev/urandom') { + open(RR,'/dev/null'; -- cgit v1.2.3