Skip to content
Snippets Groups Projects
Commit 7ddaf9f7 authored by Boman Romain's avatar Boman Romain
Browse files

cleaning all files

parent 923c488e
No related branches found
No related tags found
No related merge requests found
Showing
with 84 additions and 149 deletions
export PATH=/opt/cmake/bin:$PATH add2env PATH "/opt/cmake/bin"
# this should be done in the .profile but if the shell is dash add2env PATH "/opt/gcc/bin" front
# it does not work. add2env LD_LIBRARY_PATH "/opt/gcc/lib64" front
# => we call intel cf file in both places (bashrc & profile) \ No newline at end of file
# recompiled gcc
export PATH=/opt/gcc/bin:$PATH
export LD_LIBRARY_PATH=/opt/gcc/lib64:$LD_LIBRARY_PATH
# icc
#if [ -z "$MKLROOT" ]; then
# . /opt/intel/bin/compilervars.sh intel64
#fi
# the .profile is sometimes read by "dash" and we cannot provide add2env PATH "/opt/gcc/bin" front
# a sourced script with some parameters (it is a "bashism") add2env LD_LIBRARY_PATH "/opt/gcc/lib64" front
#
#
# recompiled gcc
export PATH=/opt/gcc/bin:$PATH
export LD_LIBRARY_PATH=/opt/gcc/lib64:$LD_LIBRARY_PATH
# icc
#if [ -n "$BASH_VERSION" ]; then
#if [ -z "$MKLROOT" ]; then # pas suffisant! (MKLROOT transmis au "at" mais pas LD_LIBRARY_PATH)
# . /opt/intel/bin/compilervars.sh intel64
#fi
#fi
PATH=$PATH:/opt/MATLAB/R2012a/bin add2env PATH "/opt/MATLAB/R2012a/bin"
# $id$ add2env LD_LIBRARY_PATH "/opt/mumps/lib"
# add2env LIB "/opt/mumps/lib"
# configuration to allow CMake to automatically find mumps add2env INCLUDE "/opt/mumps/include"
#
export LIB=$LIB:/opt/mumps/lib
export INCLUDE=$INCLUDE:/opt/mumps/include
# not necessary while cmake link with absolute path to libs
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mumps/lib
# Parasolid add2env PATH "/opt/parasolid/shared_object"
add2env INCLUDE "/opt/parasolid"
# adds pskernel.so to the PATH
if [ -d /opt/parasolid/shared_object ] ; then
if [ -z "${PATH}" ] ; then
export PATH="/opt/parasolid/shared_object"
else
export PATH="/opt/parasolid/shared_object:${PATH}"
fi
if [ -z "${LD_LIBRARY_PATH}" ] ; then
export LD_LIBRARY_PATH="/opt/parasolid/shared_object"
else
export LD_LIBRARY_PATH="/opt/parasolid/shared_object:${LD_LIBRARY_PATH}"
fi
fi
# adds parasolid INCLUDE dir
if [ -d /opt/parasolid ] ; then
if [ -z "${INCLUDE}" ] ; then
export INCLUDE="/opt/parasolid"
else
export INCLUDE="/opt/parasolid:${INCLUDE}"
fi
fi
export P_SCHEMA=/opt/parasolid/schema export P_SCHEMA=/opt/parasolid/schema
export PATH=/opt/python-2.7.10/bin:$PATH add2env PATH "/opt/python-2.7.10/bin" front
export LD_LIBRARY_PATH=/opt/python-2.7.10/lib:$LD_LIBRARY_PATH add2env LD_LIBRARY_PATH "/opt/python-2.7.10/lib" front
export PATH=/opt/qt/bin:$PATH add2env PATH "/opt/qt/bin" front
export LD_LIBRARY_PATH=/opt/qt/lib:$LD_LIBRARY_PATH add2env LD_LIBRARY_PATH "/opt/qt/bin" front
# Samcef v15.01-3
export SAM_ZONE=200000000
#PATH=$PATH:/opt/SamcefField/V8.5-01
PATH=$PATH:/opt/SamcefField/V8.5-01/Samcef-V151i8/lin/bin
export SAM_USE_FLEXLM=1
export SAMTECH_LICENSE_FILE=@pegase.ltas.ulg.ac.be
export PATH=/opt/subversion-1.8.14/bin:$PATH add2env PATH "/opt/subversion-1.8.14/bin" front
add2env LD_LIBRARY_PATH "/opt/vtk/lib/"
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/vtk/lib/ add2env PYTHON_PATH "/opt/vtk/lib/python2.7/site-packages"
export LD_LIBRARY_PATH
PYTHONPATH=$PYTHON_PATH:/opt/vtk/lib/python2.7/site-packages
export PYTHONPATH
# this should be done in the .profile but if the shell is dash # Intel compiler and/or TBB/MKL
# it does not work. #
# => we call intel cf file in both places (bashrc & profile) # EXPLANATIONS [RB]:
# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) should be done in .profile
# (it sets PATH, LD_LIBRARY_PATH, etc.)
#
# BUT, if the login shell is dash, it does not work (we cannot add an extra argument to a sourced script with dash).
# => we call the scripts in both places (.bashrc & .profile)
# => the env is cleaned in "loop.sh", removing duplicates if the .profile was actually read by bash
#
# SPECIAL CASE: "at" job
# => the environment is OK and kept, but "LD_LIBRARY_PATH" is set to nothing by "at"
# => the .profile is then rerun manually in our scripts (with bash)
# => duplicates are finally removed by loop.sh
if [ -z "$MKLROOT" ]; then if [ -z "$MKLROOT" ]; then
. /opt/intel/mkl/bin/mklvars.sh intel64 . /opt/intel/mkl/bin/mklvars.sh intel64
......
# the .profile is sometimes read by "dash" and we cannot provide # Intel compiler and/or TBB/MKL
# a sourced script with some parameters (it is a "bashism") #
# EXPLANATIONS [RB]:
# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) should be done in .profile
# (it sets PATH, LD_LIBRARY_PATH, etc.)
#
# BUT, if the login shell is dash, it does not work (we cannot add an extra argument to a sourced script with dash).
# => we call the scripts in both places (.bashrc & .profile)
# => the env is cleaned in "loop.sh", removing duplicates if the .profile was actually read by bash
#
# SPECIAL CASE: "at" job
# => the environment is OK and kept, but "LD_LIBRARY_PATH" is set to nothing by "at"
# => the .profile is then rerun manually in our scripts (with bash)
# => duplicates are finally removed by loop.sh
if [ -n "$BASH_VERSION" ]; then if [ -n "$BASH_VERSION" ]; then
#if [ -z "$MKLROOT" ]; then # pas suffisant! (MKLROOT transmis au "at" mais pas LD_LIBRARY_PATH) . /opt/intel/mkl/bin/mklvars.sh intel64
. /opt/intel/mkl/bin/mklvars.sh intel64 . /opt/intel/tbb/bin/tbbvars.sh intel64
#fi
#if [ -z "$TBBROOT" ]; then
. /opt/intel/tbb/bin/tbbvars.sh intel64
#fi
fi fi
# MUMPS + MKL-TBB
add2env LD_LIBRARY_PATH "/opt/mumps/lib" add2env LD_LIBRARY_PATH "/opt/mumps/lib"
add2env LIB "/opt/mumps/lib" add2env LIB "/opt/mumps/lib"
add2env INCLUDE "/opt/mumps/include" add2env INCLUDE "/opt/mumps/include"
# Parasolid
add2env PATH "/opt/parasolid/shared_object" add2env PATH "/opt/parasolid/shared_object"
add2env INCLUDE "/opt/parasolid" add2env INCLUDE "/opt/parasolid"
export P_SCHEMA=/opt/parasolid/schema export P_SCHEMA=/opt/parasolid/schema
# this should be done in the .profile but if the shell is dash # Intel compiler and/or TBB/MKL
# it does not work. #
# => we call intel cf file in both places (bashrc & profile) # EXPLANATIONS [RB]:
# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) should be done in .profile
# (it sets PATH, LD_LIBRARY_PATH, etc.)
#
# BUT, if the login shell is dash, it does not work (we cannot add an extra argument to a sourced script with dash).
# => we call the scripts in both places (.bashrc & .profile)
# => the env is cleaned in "loop.sh", removing duplicates if the .profile was actually read by bash
#
# SPECIAL CASE: "at" job
# => the environment is OK and kept, but "LD_LIBRARY_PATH" is set to nothing by "at"
# => the .profile is then rerun manually in our scripts (with bash)
# => duplicates are finally removed by loop.sh
if [ -z "$MKLROOT" ]; then if [ -z "$MKLROOT" ]; then
# . /opt/intel/bin/compilervars.sh intel64
. /opt/intelCommunity2017/mkl/bin/mklvars.sh intel64 . /opt/intelCommunity2017/mkl/bin/mklvars.sh intel64
fi fi
if [ -z "$TBBROOT" ]; then if [ -z "$TBBROOT" ]; then
......
# the .profile is sometimes read by "dash" and we cannot provide # Intel compiler and/or TBB/MKL
# a sourced script with some parameters (it is a "bashism") #
# EXPLANATIONS [RB]:
# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) should be done in .profile
# (it sets PATH, LD_LIBRARY_PATH, etc.)
#
# BUT, if the login shell is dash, it does not work (we cannot add an extra argument to a sourced script with dash).
# => we call the scripts in both places (.bashrc & .profile)
# => the env is cleaned in "loop.sh", removing duplicates if the .profile was actually read by bash
#
# SPECIAL CASE: "at" job
# => the environment is OK and kept, but "LD_LIBRARY_PATH" is set to nothing by "at"
# => the .profile is then rerun manually in our scripts (with bash)
# => duplicates are finally removed by loop.sh
if [ -n "$BASH_VERSION" ]; then if [ -n "$BASH_VERSION" ]; then
#if [ -z "$MKLROOT" ]; then # pas suffisant! (MKLROOT transmis au "at" mais pas LD_LIBRARY_PATH) . /opt/intelCommunity2017/mkl/bin/mklvars.sh intel64
#. /opt/intel/bin/compilervars.sh intel64 . /opt/intelCommunity2017/tbb/bin/tbbvars.sh intel64
. /opt/intelCommunity2017/mkl/bin/mklvars.sh intel64
#fi
#if [ -z "$TBBROOT" ]; then
. /opt/intelCommunity2017/tbb/bin/tbbvars.sh intel64
#fi
fi fi
PATH=$PATH:/opt/MATLAB/R2015a/bin add2env PATH "/opt/MATLAB/R2015a/bin"
# $Id$ add2env LD_LIBRARY_PATH "/opt/mumps-4.10.0-Tbb/lib"
# add2env LIB "/opt/mumps-4.10.0-Tbb/lib"
# configuration to allow CMake to automatically find mumps add2env INCLUDE "/opt/mumps-4.10.0-Tbb/include"
#
LIB=$LIB:/opt/mumps-4.10.0-Tbb/lib
export LIB
INCLUDE=$INCLUDE:/opt/mumps-4.10.0-Tbb/include
export INCLUDE
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mumps-4.10.0-Tbb/lib
export LD_LIBRARY_PATH
# Parasolid # Parasolid
# adds pskernel.so to the PATH add2env PATH "/opt/parasolid-28.1/shared_object"
add2env INCLUDE "/opt/parasolid-28.1"
if [ -d /opt/parasolid-28.1/shared_object ] ; then
if [ -z "${PATH}" ] ; then
export PATH="/opt/parasolid-28.1/shared_object"
else
export PATH="/opt/parasolid-28.1/shared_object:${PATH}"
fi
fi
# adds parasolid INCLUDE dir
if [ -d /opt/parasolid-28.1 ] ; then
if [ -z "${INCLUDE}" ] ; then
export INCLUDE="/opt/parasolid-28.1"
else
export INCLUDE="/opt/parasolid-28.1:${INCLUDE}"
fi
fi
export P_SCHEMA=/opt/parasolid-28.1/schema export P_SCHEMA=/opt/parasolid-28.1/schema
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment