-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmb_on_unity.sh
executable file
·40 lines (30 loc) · 1.67 KB
/
mb_on_unity.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# make tmp directory (necessary for certain Unix commands)
mkdir $HOME/tmp
# initialize and activate new conda env (need to be on (base) environment of miniconda3)
conda create -n mb
#conda activate mb
source activate mb #ej - this didn't work for me so i changed it to 'conda activate'
conda install -c conda-forge compilers libblas liblapack arpack superlu mkl python=3.7 scipy pandas librosa r-base r-lme4 r-languageR r-optimx r-ggplot2 r-optparse tensorflow"<2.0"
conda install -c pytorch pytorch torchvision cudatoolkit=10.1 # install compilers/BLAS dependencies (for armadillo), python/scipy (for NN training)
# python >= 3.5 recommended
# NOTE: tensorflow<2.0 because of CDR
#conda install -c conda-forge compilers libblas liblapack arpack superlu mkl python scipy pandas librosa r-base r-lme4 r-languageR r-optimx r-ggplot2 r-optparse tensorflow"<2.0" pytorch-gpu torchvision cudatoolkit=10.1 -c pytorch
# install pytorch (for NN training) - Unity node 070 has cuda driver 10.1
#conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
## install r
#conda install r-base r-lme4 r-languageR r-optimx r-ggplot2 r-optparse
# install pymvpa2
#conda install -c conda-forge librosa
# pymvpa2
# install up-to-date compilers that can use c++17
conda install -c conda-forge compilers armadillo
# install program to convert xls files to csv
conda install conda-forge::xlsx2csv
## download armadillo from source
#wget http://sourceforge.net/projects/arma/files/armadillo-9.900.3.tar.xz
#tar -xJf armadillo-9.900.3.tar.xz
## install armadillo to conda env, using mkl as primary BLAS
#cd armadillo-9.900.3
#cmake -D DETECT_HDF5=false . -DCMAKE_INSTALL_PREFIX:PATH=$CONDA_PREFIX
#make
#make install