summaryrefslogtreecommitdiffstats
path: root/external/install.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-12-13 00:05:49 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-12-13 00:05:49 +0100
commit9c3d5c48694db1018d50aa85acad434f47e5ed0b (patch)
treebee24b887c12d1abaa4d942525a6c1d304dd200d /external/install.sh
downloadbiomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.tar.gz
biomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.tar.bz2
biomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.tar.xz
biomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.zip
Initial import
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