]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
- Only one log file for PBS jobs
authorribes <ribes>
Tue, 19 Feb 2008 08:06:27 +0000 (08:06 +0000)
committerribes <ribes>
Tue, 19 Feb 2008 08:06:27 +0000 (08:06 +0000)
src/Launcher/BatchLight_BatchManager_PBS.cxx

index 6a573c1b841d6cea70810b98feb7d2272cf41591..eec063a02ba05d25b7c896872a4f3614898d42fd 100644 (file)
@@ -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";