Commit c68fdf94 authored by ulrich_y's avatar ulrich_y
Browse files

fix udocker env on merlin

parent 6fdac281
......@@ -11,6 +11,16 @@
echo "Started as $0 $@"
this=./submit.sh
if [ -f "/usr/bin/srun" ]; then
export PATH=/data/project/general/lepton-nnlo/.usr/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/project/general/lepton-nnlo/.usr/lib
export PYTHONPATH=$PYTHONPATH:/data/project/general/lepton-nnlo/.usr//lib/python2.7/site-packages/
export UDOCKER_DIR=/data/project/general/lepton-nnlo/.usr/udocker
export UDOCKER_DEFAULT_EXECUTION_MODE=P2
fi
if [ $# -gt 0 ]; then
if [[ $1 == *.conf || $1 == *.tconf ]]; then
# We are a runner
......
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