From e54a67dcb44a31605c9031b8e4cfa881b766e327 Mon Sep 17 00:00:00 2001
From: Luc Papeleux <papeleux@bonemine.ltas.ulg.ac.be>
Date: Wed, 18 Jan 2023 18:58:11 +0100
Subject: [PATCH] config bonemine

---
 cfg/bonemine/gmsh.profile      |  6 ++++++
 cfg/bonemine/lagamine.profile  |  3 +++
 cfg/bonemine/mumps.profile     |  3 +++
 cfg/bonemine/oneApi.bashrc     | 11 +++++++++++
 cfg/bonemine/oneApi.profile    | 11 +++++++++++
 cfg/bonemine/parasolid.profile |  5 +++++
 cfg/bonemine/samcef.profile    |  2 ++
 mtfLicense/bonemine.lic        |  1 +
 8 files changed, 42 insertions(+)
 create mode 100644 cfg/bonemine/gmsh.profile
 create mode 100644 cfg/bonemine/lagamine.profile
 create mode 100644 cfg/bonemine/mumps.profile
 create mode 100644 cfg/bonemine/oneApi.bashrc
 create mode 100644 cfg/bonemine/oneApi.profile
 create mode 100644 cfg/bonemine/parasolid.profile
 create mode 100644 cfg/bonemine/samcef.profile
 create mode 100644 mtfLicense/bonemine.lic

diff --git a/cfg/bonemine/gmsh.profile b/cfg/bonemine/gmsh.profile
new file mode 100644
index 0000000..4a3ec05
--- /dev/null
+++ b/cfg/bonemine/gmsh.profile
@@ -0,0 +1,6 @@
+
+add2env PATH "/opt/gmsh/bin" front
+add2env INCLUDE "/opt/gmsh/include" front
+add2env LIB "/opt/gmsh/lib" front
+add2env LD_LIBRARY_PATH "/opt/gmsh/lib" front
+add2env PYTHONPATH "/opt/gmsh/lib" front
diff --git a/cfg/bonemine/lagamine.profile b/cfg/bonemine/lagamine.profile
new file mode 100644
index 0000000..afbbf3e
--- /dev/null
+++ b/cfg/bonemine/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/bonemine/mumps.profile b/cfg/bonemine/mumps.profile
new file mode 100644
index 0000000..ad17390
--- /dev/null
+++ b/cfg/bonemine/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/bonemine/oneApi.bashrc b/cfg/bonemine/oneApi.bashrc
new file mode 100644
index 0000000..9d1ace4
--- /dev/null
+++ b/cfg/bonemine/oneApi.bashrc
@@ -0,0 +1,11 @@
+# Intel compiler and/or TBB/MKL 
+#
+# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*")
+
+if [ -d /opt/intel ] ; then
+     #. /opt/intel/oneapi/setvars.sh intel64
+     . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64
+     . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64
+     #. /opt/intel/oneapi/compiler/latest/env/vars.sh intel64
+
+fi
diff --git a/cfg/bonemine/oneApi.profile b/cfg/bonemine/oneApi.profile
new file mode 100644
index 0000000..bb7c810
--- /dev/null
+++ b/cfg/bonemine/oneApi.profile
@@ -0,0 +1,11 @@
+# Intel compiler and/or TBB/MKL 
+#
+# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*")
+
+if [ -d /opt/intel ] ; then
+     #. /opt/intel/oneapi/setvars.sh intel64
+     . /opt/intel/oneapi/tbb/latest/env/vars.sh intel64     
+     . /opt/intel/oneapi/mkl/latest/env/vars.sh intel64
+     #. /opt/intel/oneapi/compiler/latest/env/vars.sh intel64
+
+fi
diff --git a/cfg/bonemine/parasolid.profile b/cfg/bonemine/parasolid.profile
new file mode 100644
index 0000000..274a996
--- /dev/null
+++ b/cfg/bonemine/parasolid.profile
@@ -0,0 +1,5 @@
+# Parasolid
+
+add2env PATH "/opt/parasolid/shared_object"
+add2env INCLUDE "/opt/parasolid"
+export P_SCHEMA=/opt/parasolid/schema
diff --git a/cfg/bonemine/samcef.profile b/cfg/bonemine/samcef.profile
new file mode 100644
index 0000000..834343e
--- /dev/null
+++ b/cfg/bonemine/samcef.profile
@@ -0,0 +1,2 @@
+export SAM_ZONE=200000000
+add2env PATH "/opt/samcef"
diff --git a/mtfLicense/bonemine.lic b/mtfLicense/bonemine.lic
new file mode 100644
index 0000000..1518a0b
--- /dev/null
+++ b/mtfLicense/bonemine.lic
@@ -0,0 +1 @@
+646574612B0A060C031B13305B736D657470666F722024372D0F021B1900102D0F0C1703161160666F7241657461306F726DB974616625726D65BC61666F576D6574046C6F72
-- 
GitLab