Commit 9ebff1e5 authored by POLCHER Jan's avatar POLCHER Jan 🚴🏾
Browse files

Made the script a little more general ! Should also launch...

Made the script a little more general ! Should also launch install_Environment.bash when appropriate !
parent 37bee8aa
......@@ -2,13 +2,19 @@
#
# Set the right Python 3 Anaconda environment
#
source ~/anaconda3/bin/activate
conda activate Rviewer
if [ -f ~/anaconda3/bin/activate ] ; then
echo "Loading Anaconda"
source ~/anaconda3/bin/activate
conda activate Rviewer
fi
#
# Run on YYY procs
#
#cd ${PBS_O_WORKDIR}
#
pwd
python ./lib/main.py
if [ -e /usr/bin/python3 ] ; then
python3 ./lib/main.py
else
python ./lib/main.py
fi
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