From e698699345bda37ac9ba89c7c7c35647c9fd710f Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 22 Mar 2019 08:11:45 +0100 Subject: [PATCH] [EDF18485] : OMNIORB_CONFIG pointed to an invalid omniORB config file in case of overloading of working_directory -> leads to default message sizes <10MB in case of multi node computation AND working_directory set. --- bin/appliskel/runRemote.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/appliskel/runRemote.sh b/bin/appliskel/runRemote.sh index 77ea46fb8..a62326b39 100755 --- a/bin/appliskel/runRemote.sh +++ b/bin/appliskel/runRemote.sh @@ -55,10 +55,6 @@ export APPLI=$("${APPLI_HOME}/getAppliPath.py") export NSHOST=$1 export NSPORT=$2 -# Get (in bash) the configuration filename from (Python) ORBConfigFile return values -RETURN_VALUES=$("${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" python "${KERNEL_ROOT_DIR}/bin/salome/ORBConfigFile.py" "${OMNIORB_USER_PATH}" "${NSHOST}" "${NSPORT}" "with_username=${USER}") -export OMNIORB_CONFIG=$(echo "${RETURN_VALUES}" | cut -d' ' -f1) - #go to the requested working directory if any if test "x$3" == "xWORKINGDIR"; then if test "x$4" = "x\$TEMPDIR"; then @@ -87,6 +83,10 @@ else shift 2 fi +# Get (in bash) the configuration filename from (Python) ORBConfigFile return values +RETURN_VALUES=$("${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" python "${KERNEL_ROOT_DIR}/bin/salome/ORBConfigFile.py" "${OMNIORB_USER_PATH}" "${NSHOST}" "${NSPORT}" "with_username=${USER}") +export OMNIORB_CONFIG=$(echo "${RETURN_VALUES}" | cut -d' ' -f1) + # --- execute the command in the SALOME environment -- 2.39.2