From: Anthony Geay Date: Fri, 22 Mar 2019 07:11:45 +0000 (+0100) Subject: [EDF18485] : OMNIORB_CONFIG pointed to an invalid omniORB config file in case of... X-Git-Tag: V9_3_0b2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e698699345bda37ac9ba89c7c7c35647c9fd710f;p=modules%2Fkernel.git [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. --- 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