Skip to content
Snippets Groups Projects
Commit b79826e2 authored by Papeleux Luc's avatar Papeleux Luc
Browse files

Merge branch 'papeleux' of gitlab.uliege.be:am-dept/linuxbin into papeleux

parents 0f5b1f72 4992cc61
No related branches found
No related tags found
No related merge requests found
Showing
with 62 additions and 4 deletions
add2env PATH "/opt/scilab/bin" front
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
add2env PATH "/opt/Qt/bin"
add2env DYLD_LIBRARY_PATH "/usr/Qt/lib"
File moved
add2env PYTHONPATH "/opt/VTK/lib/python3.7/site-packages"
add2env DYLD_LIBRARY_PATH "/opt/VTK/lib"
add2env PATH "/opt/VTK/bin"
# Intel compiler and/or TBB/MKL
#
# EXPLANATIONS [RB]:
# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) sets PATH, LD_LIBRARY_PATH.
# If we want these variables to be set system-wide, it should be run in .profile
#
# BUT
# 1. the gnome display manager unset LD_LIBRARY_PATH
#
# 2. if the login shell is "dash", the script cannot be called
# (we cannot add an extra argument to a sourced script with dash).
# THEN
# => 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)
# should we run also .bashrc as LD_LIBRARY_PATH should be set here on systems with gnome?
# => duplicates are finally removed by loop.sh
if [ -d /opt/intel ] ; then
. /opt/intel/mkl/bin/mklvars.sh intel64
. /opt/intel/tbb/bin/tbbvars.sh intel64
fi
# Intel compiler and/or TBB/MKL
#
# EXPLANATIONS [RB]:
# In practise, the call to "compilervars.sh" or ("mklvars.sh", etc) sets PATH, LD_LIBRARY_PATH.
# If we want these variables to be set system-wide, it should be run in .profile
#
# BUT
# 1. the gnome display manager unset LD_LIBRARY_PATH
#
# 2. if the login shell is "dash", the script cannot be called
# (we cannot add an extra argument to a sourced script with dash).
# THEN
# => 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)
# should we run also .bashrc as LD_LIBRARY_PATH should be set here on systems with gnome?
# => duplicates are finally removed by loop.sh
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
alias a2ps='a2ps --pro=color --line-numbers=5 --medium=A4'
alias plotdigitizer='java -Xmx256m -jar /opt/PlotDigitizer/PlotDigitizer.jar'
alias open='xdg-open'
add2env PATH "/usr/local/qt-5.8.0/bin"
add2env DYLD_LIBRARY_PATH "/usr/local/qt-5.8.0/lib"
add2env PYTHONPATH "/usr/local/vtk-7.1.0/lib/python2.7/site-packages"
add2env DYLD_LIBRARY_PATH "/usr/local/vtk-7.1.0/lib"
add2env PATH "/opt/scilab/bin" front
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