From dfaa33d580f5dbcfea8c4db02d353cec3e689928 Mon Sep 17 00:00:00 2001 From: kliegeois <kimliegeois@ymail.com> Date: Fri, 19 Oct 2018 11:30:28 +0200 Subject: [PATCH] Initial commit for treebeard --- cfg/treebeard/compilers.bashrc | 9 +++++++++ cfg/treebeard/compilers.profile | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 cfg/treebeard/compilers.bashrc create mode 100644 cfg/treebeard/compilers.profile diff --git a/cfg/treebeard/compilers.bashrc b/cfg/treebeard/compilers.bashrc new file mode 100644 index 0000000..1a1a80b --- /dev/null +++ b/cfg/treebeard/compilers.bashrc @@ -0,0 +1,9 @@ +# Intel compiler and/or TBB/MKL +# +# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") + +if [ -z "$MKLROOT" ]; then + if [ -d /opt/intel ] ; then + . /opt/intel/compilers_and_libraries_2019/linux/bin/compilervars.sh intel64 + fi +fi diff --git a/cfg/treebeard/compilers.profile b/cfg/treebeard/compilers.profile new file mode 100644 index 0000000..ca2cbae --- /dev/null +++ b/cfg/treebeard/compilers.profile @@ -0,0 +1,9 @@ +# Intel compiler and/or TBB/MKL +# +# EXPLANATIONS [RB]: (see "cfg/garfield/compilers.*") + +if [ -n "$BASH_VERSION" ]; then + if [ -d /opt/intel ] ; then + . /opt/intel/compilers_and_libraries_2019/linux/bin/compilervars.sh intel64 # mets intel mpi par defaut! + fi +fi -- GitLab