-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall-kmcos-linux-user.bash
More file actions
33 lines (29 loc) · 927 Bytes
/
install-kmcos-linux-user.bash
File metadata and controls
33 lines (29 loc) · 927 Bytes
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
#!/bin/bash -eu
echo "Simple wrapping script that resolves"
echo "dependency within the APT system"
cd ~
mkdir kmcosInstallation
cd kmcosInstallation
sudo apt-get update
sudo apt-get install gfortran
sudo apt-get install git
sudo apt-get install python3
sudo apt-get install python3-pip
pip3 install wheel --user
git clone http://www.github.com/kmcos/kmcos
cd kmcos
echo "Entering the kmcos directory to install kmcos."
pip3 install -r requirements.txt --user
python3 setup.py install --user
echo "Now doing the pip3 command."
pip3 install kmcos[MINIMAL] --upgrade --user
echo "Now going to examples."
cd examples
python3 MyFirstSnapshots__build.py
cd MyFirstSnapshots_local_smart
python3 kmc_settings.py benchmark
echo "if you see a printed line showing a certain number of steps/s, ten the benchmark test worked and your kmcos installation is complete!"
cd ..
cd ..
cd ..
#rm sudo-kmcos-install-dependencies-ubuntu.bash