From: ribes Date: Tue, 19 Feb 2008 08:06:27 +0000 (+0000) Subject: - Only one log file for PBS jobs X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5482932dc52a403aa3412f122172d64dd8f59568;p=modules%2Fkernel.git - Only one log file for PBS jobs --- diff --git a/src/Launcher/BatchLight_BatchManager_PBS.cxx b/src/Launcher/BatchLight_BatchManager_PBS.cxx index 6a573c1b8..eec063a02 100644 --- a/src/Launcher/BatchLight_BatchManager_PBS.cxx +++ b/src/Launcher/BatchLight_BatchManager_PBS.cxx @@ -96,10 +96,11 @@ namespace BatchLight { logFile += getenv("USER"); logFile += "/batchSalome_"; - srand ( time(NULL) ); - int ir = rand(); + //srand ( time(NULL) ); + //int ir = rand(); ostringstream oss; - oss << ir; + //oss << ir; + oss << this << "_" << jobid; logFile += oss.str(); logFile += ".log";