From: vsr Date: Tue, 6 Oct 2020 17:12:26 +0000 (+0300) Subject: bos #20157 Patch for job manager X-Git-Tag: V9_6_0a2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4b01d5499f9c2a25e9c0b859288ef127162b6c08;p=modules%2Fkernel.git bos #20157 Patch for job manager --- diff --git a/src/Launcher/Launcher_Job_SALOME.cxx b/src/Launcher/Launcher_Job_SALOME.cxx index 47ec6f19a..e28753855 100644 --- a/src/Launcher/Launcher_Job_SALOME.cxx +++ b/src/Launcher/Launcher_Job_SALOME.cxx @@ -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";