]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
bos #20157 Patch for job manager V9_6_0a2
authorvsr <vsr@opencascade.com>
Tue, 6 Oct 2020 17:12:26 +0000 (20:12 +0300)
committervsr <vsr@opencascade.com>
Tue, 6 Oct 2020 17:12:26 +0000 (20:12 +0300)
src/Launcher/Launcher_Job_SALOME.cxx

index 47ec6f19acede6d9641b1e40bd7fd626c699cabe..e28753855040b2f676c7d9ac7e44632151222363 100644 (file)
@@ -134,8 +134,8 @@ Launcher::Job_SALOME::buildSalomeScript(Batch::Parametre params)
   }
   // Create file for ns-port-log
   if (is_launcher_file)
-      // for a salome application file, we write NS_PORT_FILE_PATH in launch_tmp_dir
-      launch_script_stream << "NS_PORT_FILE_PATH=$(mktemp " << launch_tmp_dir << "nsport_XXXXXX) &&\n";
+      // for a salome application file, we write NS_PORT_FILE_PATH in working directory
+      launch_script_stream << "NS_PORT_FILE_PATH=$(mktemp " << work_directory << "/nsport_" << _launch_date << "_XXXXXX) &&\n";
   else
       launch_script_stream << "NS_PORT_FILE_PATH=$(mktemp " << _resource_definition.AppliPath << "/USERS/nsport_XXXXXX) &&\n";