Skip to content
Snippets Groups Projects
Commit 52c8d8be authored by tianyu's avatar tianyu
Browse files

add config fiels

parent 3d546cd7
No related branches found
No related tags found
No related merge requests found
add2env PATH "/opt/gmsh/bin" front
add2env LD_LIBRARY_PATH "/opt/gmsh/lib"
add2env PYTHONPATH "/opt/gmsh/lib"
#add2env INCLUDE "/opt/gmsh/include" front
#add2env LIB "/opt/gmsh/lib" front
# 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/oneapi/mkl/latest/env/vars.sh intel64
#. /opt/intel/oneapi/tbb/latest/env/vars.sh intel64
#if 2019 version:
. /opt/intel/mkl/bin/mklvars.sh intel64
. /opt/intel/tbb/bin/tbbvars.sh intel64
fi
export MKL_DEBUG_CPU_TYPE=5
# 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/oneapi/mkl/latest/env/vars.sh intel64
#. /opt/intel/oneapi/tbb/latest/env/vars.sh intel64
#if 2019 version:
. /opt/intel/mkl/bin/mklvars.sh intel64
. /opt/intel/tbb/bin/tbbvars.sh intel64
fi
fi
export MKL_DEBUG_CPU_TYPE=5
add2env LD_LIBRARY_PATH "/opt/lagamine/lib"
add2env INCLUDE "/opt/lagamine/include"
add2env LIB "/opt/lagamine/lib"
#add2env LD_LIBRARY_PATH "/opt/mumps/lib"
add2env LIB "/opt/mumps/lib"
add2env INCLUDE "/opt/mumps/include"
add2env PATH "/opt/parasolid/shared_object"
add2env INCLUDE "/opt/parasolid"
export P_SCHEMA=/opt/parasolid/schema
export SAM_ZONE=200000000
add2env PATH "/opt/samcef"
# pas besoin de definir LMS_LICENSE
# (deja defini dans "/opt/samcef/site" lors de l'install)
# -----------------------------------------------------------
# version "russe"
#add2env PATH "/opt/sfield/V8.5-01/Samcef-V151i8/lin/bin"
#export SAMTECH_LICENSE_FILE=/opt/sfield/V8.5-01/SAMTECH.lic
646574612B0A060C031B13305B706D657473666F72390C19042A061F041111052A0611080B0704DB802604657461667E726D65392025231B000C000402231B0E001A12036D726D65BC61666FE66D657463666F729B657461026F726D2474616613726D65FE61666F936D6574C7666F72E3657461786F726DFC646166
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