summaryrefslogtreecommitdiffstats
path: root/external/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'external/install.sh')
-rw-r--r--external/install.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/external/install.sh b/external/install.sh
new file mode 100644
index 0000000..3ad20f6
--- /dev/null
+++ b/external/install.sh
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+yum install -y libtiff-devel
+yum install -y MySQL-python python-devel python2-pip python2-setuptools python2-virtualenv numpy scipy h5py python2-pyyaml python2-pydot python2-matplotlib mysql-connector-python openblas
+yum install -y openmpi openmpi-devel
+
+# upgrade pip
+pip --no-cache-dir install --upgrade pip
+
+# extra pre-requisites
+#pip --no-cache-dir install \
+# scipy decorator
+
+# conflicting packages
+rpm -e scipy pyparsing python2-pydot python-matplotlib python2-matplotlib
+
+# install dependencies from python packages
+export CC=/usr/lib64/openmpi/bin/mpicc
+
+pip --no-cache-dir install \
+ setuptools==39.1.0 numpy==1.14.5 tifffile==0.14.0 SimpleParse==2.1.1 redis==2.10.6 rq==0.12 \
+ weave scikit-image opencv-python h5py pydicom Pillow django mpi4py pycuda