You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
493 B
Bash
21 lines
493 B
Bash
#!/bin/bash
|
|
|
|
export WORKSPACE=$(pwd)
|
|
rm -r ~/.cache/pip
|
|
|
|
# gfortran
|
|
|
|
sudo apt install build-essential
|
|
sudo apt install gfortran
|
|
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
|
|
|
|
pip3 install --user numpy scipy matplotlib ipython jupyter pandas sympy nose mpi4py
|
|
|
|
# install open mpi latest version
|
|
|
|
sudo apt install openmpi-bin
|
|
|
|
# setup petsc4py
|
|
|
|
export PETSC_CONFIGURE_OPTIONS="--download-fblaslapack --download-chaco --download-hdf5"
|
|
pip3 install petsc petsc4py |