Typical .bashrc for ESTEL
Jump to navigation
Jump to search
The code
##################
# TELEMAC SYSTEM #
##################
PATH=/path/to/systel90/bin:$PATH
PATH=./:$PATH
# The TELEMAC perl scripts needs ./ in $PATH
# This is _very_ bad practice but hey ... I did not write them!!
export PATH
# Location of config directory (defaults to v5p8)
# Can be overridden with the functions v5p6() and v5p7(), see below
SYSTELCFG=/path/to/systel90/configv5p8
export SYSTELCFG
TOE2D=/path/to/systel90/estel2d/estel2d_v5p8/
TOE3D=/path/to/systel90/estel3d/estel3d_v5p8/
TOBIEF=/path/to/systel90/bief/bief_v5p8/sources/
TOT2D=/path/to/systel90/telemac2d/tel2d_v5p8
TOPARALLEL=/path/to/systel90/parallel/parallel_v5p8/
function v5p6 ()
{
eval `change_systel_version -v v5p6`
}
function v5p7 ()
{
eval `change_systel_version -v v5p7`
}
function v5p8 ()
{
eval `change_systel_version -v v5p8`
}
function e3d ()
# Takes you to the estel3d directory
{
cd $TOE3D
}
function e2d ()
# Takes you to the estel2d directory
{
cd $TOE2D
}
function t2d ()
# Takes you to the telemac2d directory
{
cd $TOT2D
}
function bief ()
# Takes you to the bief directory
{
cd $TOBIEF
}
function parallel ()
# Takes you to the bief directory
{
cd $TOPARALLEL
}