We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f83b6d commit 1486a62Copy full SHA for 1486a62
hpc/arc3_leeds.sge
@@ -6,12 +6,13 @@
6
#$ -l h_rt=8:00:00
7
8
#Install miniconda if it isn't there already
9
-if [ ! -d ./miniconda/]; then
10
-wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh
11
-bash ./miniconda.sh -b -p $HOME/miniconda
+if [ ! -d ./miniconda/ ]; then
+ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ./miniconda.sh
+ bash ./miniconda.sh -b -p $PWD/miniconda
12
fi
13
#Add miniconda to the path
14
-export PATH="$CWD/miniconda/bin:$PATH"
+export PATH="$PWD/miniconda/bin:$PATH"
15
+source $PWD/miniconda/bin/activate
16
17
#Create conda environment if it doesn't already exist
18
environment_name=testing123
0 commit comments