Salome HOME
updated scripts
[tools/simanio.git] / scripts / syrthes_env_products.sh
diff --git a/scripts/syrthes_env_products.sh b/scripts/syrthes_env_products.sh
new file mode 100755 (executable)
index 0000000..03dc55f
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/bash -noprofile
+
+if [ -z "${SALOME_ROOT_DIR}" ]; then
+    echo "You need to set the environment variable SALOME_ROOT_DIR"
+    exit 1
+fi
+
+#------ CODE_SYRTHES (TOOL) ------
+syrthesprofile=${SALOME_ROOT_DIR}/CODE_SYRTHES_SRC/arch/Linux_x86_64/bin/syrthes.profile
+if [ -f $syrthesprofile ] ; then
+  . $syrthesprofile
+fi
+
+export CODE_SYRTHES_ROOT=${SALOME_ROOT_DIR}/CODE_SYRTHES
+export PYTHONPATH=${CODE_SYRTHES_ROOT}:${PYTHONPATH}
+
+
+#------ MODULE_SYRTHES ------
+export SYRTHES_ROOT_DIR=${SALOME_ROOT_DIR}/MODULE_SYRTHES
\ No newline at end of file