forked from anstmichaels/emopt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (31 loc) · 1.01 KB
/
Makefile
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
all:
$(MAKE) -C src/
clean:
$(MAKE) -C src/ clean
centos7:
sudo yum install -y epel-release
sudo yum groupinstall -y "Development Tools"
sudo yum install -y openmpi openmpi-devel python-pip python-devel tkinter
module load mpi/openmpi-x86_64
pip install requests matplotlib numpy scipy mpi4py --user
fedora28:
sudo yum groupinstall -y "Development Tools"
sudo yum install -y gcc gcc-c++ openmpi openmpi-devel python-pip python-devel python2-tkinter
module load mpi/openmpi-x86_64
pip install requests matplotlib numpy scipy mpi4py --user
ubuntu18:
sudo apt-get install -y build-essential gfortran openmpi-bin libopenmpi-dev python python-dev python-pip git python-tk
pip install requests matplotlib numpy scipy mpi4py
venv:
python3 -m venv env
. env/bin/activate
conda2:
conda create -n py2 python=2.7
conda activate py2
install:
pip install requests
python install.py
python setup.py install --user
python2:
sudo ln -sf /usr/bin/python /usr/local/bin/pip
sudo ln -sf /usr/bin/pip /usr/local/bin/pip