From 5482932dc52a403aa3412f122172d64dd8f59568 Mon Sep 17 00:00:00 2001 From: ribes Date: Tue, 19 Feb 2008 08:06:27 +0000 Subject: [PATCH] - Only one log file for PBS jobs --- src/Launcher/BatchLight_BatchManager_PBS.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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"; -- 2.39.2