Commit 37f67e50 by Eric Coissac

Adds the Dahu cluster

parent 0237658f
......@@ -93,6 +93,10 @@ if [[ -z "${LECALIB_UTIL_SH}" ]]; then
[[ $(hostname) =~ ^frog ]]
}
function ondahu() {
[[ $(hostname) =~ ^dahu[0-9] ]]
}
function isinteractiveshell() {
case "$-" in
*i*) (( 1 == 1 )) ;;
......
......@@ -19,12 +19,12 @@ logdebug "Load lecaluke package"
include tempdir
if onluke; then
if onluke || ondahu ; then
logdebug "Script run on the LUKE cluster"
logdebug "Script run on the LUKE/DAHU cluster"
# Source the ciment & leca environment:
. /nfs_scratch/LECA_ENVIRONEMENT/env.bash
## Source the ciment & leca environment:
#. /bettik/LECA/ENVIRONMENT/env.bash
# Register scratch_dir as place where to create temp directory
......@@ -34,7 +34,7 @@ if onluke; then
fi
# Where is located the LECA_ENVIRONEMENT
LECA_ENVIRONEMENT=/nfs_scratch/LECA_ENVIRONEMENT
LECA_ENVIRONEMENT=/bettik/LECA/ENVIRONMENT
# Load the LECA envoronement
. ${LECA_ENVIRONEMENT}/etc/bashrc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment