From 00a62df63bdf2ff97661c51113988dbe9bfebea7 Mon Sep 17 00:00:00 2001
From: Luc Papeleux <papeleux@warson.ltas.ulg.ac.be>
Date: Mon, 8 Jun 2020 18:47:02 +0200
Subject: [PATCH] config warson

---
 cfg/warson/gmsh.profile           |  3 +++
 cfg/warson/intelCommunity.bashrc  |  8 ++++++++
 cfg/warson/intelCommunity.profile | 10 ++++++++++
 cfg/warson/lagamine.profile       |  3 +++
 cfg/warson/matlab.profile         |  1 +
 cfg/warson/mumps.profile          |  3 +++
 cfg/warson/parasolid.profile      |  3 +++
 cfg/warson/samcef.profile         |  2 ++
 mtfLicense/warson.lic             |  1 +
 9 files changed, 34 insertions(+)
 create mode 100644 cfg/warson/gmsh.profile
 create mode 100644 cfg/warson/intelCommunity.bashrc
 create mode 100644 cfg/warson/intelCommunity.profile
 create mode 100644 cfg/warson/lagamine.profile
 create mode 100644 cfg/warson/matlab.profile
 create mode 100644 cfg/warson/mumps.profile
 create mode 100644 cfg/warson/parasolid.profile
 create mode 100644 cfg/warson/samcef.profile
 create mode 100644 mtfLicense/warson.lic

diff --git a/cfg/warson/gmsh.profile b/cfg/warson/gmsh.profile
new file mode 100644
index 0000000..412f3fc
--- /dev/null
+++ b/cfg/warson/gmsh.profile
@@ -0,0 +1,3 @@
+add2env PATH "/opt/gmsh/bin" front
+add2env LD_LIBRARY_PATH "/opt/gmsh/lib"
+add2env PYTHONPATH "/opt/gmsh/lib"
diff --git a/cfg/warson/intelCommunity.bashrc b/cfg/warson/intelCommunity.bashrc
new file mode 100644
index 0000000..2d14ff9
--- /dev/null
+++ b/cfg/warson/intelCommunity.bashrc
@@ -0,0 +1,8 @@
+# Intel compiler and/or TBB/MKL 
+#
+# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*")
+
+if [ -d /opt/intel ] ; then
+    . /opt/intel/mkl/bin/mklvars.sh intel64
+    . /opt/intel/tbb/bin/tbbvars.sh intel64
+fi
diff --git a/cfg/warson/intelCommunity.profile b/cfg/warson/intelCommunity.profile
new file mode 100644
index 0000000..b7ff651
--- /dev/null
+++ b/cfg/warson/intelCommunity.profile
@@ -0,0 +1,10 @@
+# Intel compiler and/or TBB/MKL 
+#
+# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*")
+
+if [ -n "$BASH_VERSION" ]; then
+    if [ -d /opt/intel ] ; then
+        . /opt/intel/mkl/bin/mklvars.sh intel64
+        . /opt/intel/tbb/bin/tbbvars.sh intel64
+    fi
+fi
\ No newline at end of file
diff --git a/cfg/warson/lagamine.profile b/cfg/warson/lagamine.profile
new file mode 100644
index 0000000..f8e4775
--- /dev/null
+++ b/cfg/warson/lagamine.profile
@@ -0,0 +1,3 @@
+add2env LD_LIBRARY_PATH "/opt/lagamine/lib"
+add2env INCLUDE "/opt/lagamine/include"
+add2env LIB "/opt/lagamine/lib"
diff --git a/cfg/warson/matlab.profile b/cfg/warson/matlab.profile
new file mode 100644
index 0000000..0ff3588
--- /dev/null
+++ b/cfg/warson/matlab.profile
@@ -0,0 +1 @@
+add2env PATH "/opt/matlab/bin"
diff --git a/cfg/warson/mumps.profile b/cfg/warson/mumps.profile
new file mode 100644
index 0000000..57e0ada
--- /dev/null
+++ b/cfg/warson/mumps.profile
@@ -0,0 +1,3 @@
+add2env LD_LIBRARY_PATH "/opt/mumps/lib"
+add2env LIB "/opt/mumps/lib"
+add2env INCLUDE "/opt/mumps/include"
diff --git a/cfg/warson/parasolid.profile b/cfg/warson/parasolid.profile
new file mode 100644
index 0000000..e24e2e8
--- /dev/null
+++ b/cfg/warson/parasolid.profile
@@ -0,0 +1,3 @@
+add2env PATH "/opt/parasolid/shared_object"
+add2env INCLUDE "/opt/parasolid"
+export P_SCHEMA=/opt/parasolid/schema
diff --git a/cfg/warson/samcef.profile b/cfg/warson/samcef.profile
new file mode 100644
index 0000000..834343e
--- /dev/null
+++ b/cfg/warson/samcef.profile
@@ -0,0 +1,2 @@
+export SAM_ZONE=200000000
+add2env PATH "/opt/samcef"
diff --git a/mtfLicense/warson.lic b/mtfLicense/warson.lic
new file mode 100644
index 0000000..824c810
--- /dev/null
+++ b/mtfLicense/warson.lic
@@ -0,0 +1 @@
+646574612B0A060C031B13305B736D657470666F722024372D0F021B1900102D0F0C1703161160666F72C5657461386F726D207461668E726D65FB61666F636D6574FD6F6F72
-- 
GitLab