<commit_before>#! /bin/bash
sudo aptitude -y update
sudo aptitude -y upgrade
sudo aptitude -y install gcc gfortran git libopenmpi-dev python-pip python-dev
sudo aptitude -y install ipython python-scipy python-numpy python-nose python-pip
sudo aptitude -y install libmumps-ptscotch-4.10.0 libmumps-ptscotch-dev
sudo aptitude -y install libblas-dev liblapack-dev

sudo pip install mpi4py
sudo pip install pymumps

sudo pip install scipy --upgrade
sudo pip install numpy --upgrade
sudo pip install ipython --upgrade

git clone https://bitbucket.org/rcockett/simpeg.git
cd simpeg/SimPEG/
python setup.py
cd ~

echo export PYTHONPATH=/home/$USER/simpeg/ >> .bashrc
source .profile<commit_msg>Added matplotlib into the startup. SimPEG needs it.<commit_after>#! /bin/bash
sudo aptitude -y update
sudo aptitude -y upgrade
sudo aptitude -y install gcc gfortran git libopenmpi-dev python-pip python-dev
sudo aptitude -y install ipython python-scipy python-numpy python-nose python-pip python-matplotlib
sudo aptitude -y install libmumps-ptscotch-4.10.0 libmumps-ptscotch-dev
sudo aptitude -y install libblas-dev liblapack-dev

sudo pip install mpi4py
sudo pip install pymumps

sudo pip install scipy --upgrade
sudo pip install numpy --upgrade
sudo pip install ipython --upgrade

git clone https://bitbucket.org/rcockett/simpeg.git
cd simpeg/SimPEG/
python setup.py
cd ~

echo export PYTHONPATH=/home/$USER/simpeg/ >> .bashrc
source .profile
{'fraction_non_alphanumeric': 0.07902097902097902, 'fraction_numerical': 0.006993006993006993, 'mean_word_length': 4.379699248120301, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6480391', 'n_tokens_mistral': 515, 'n_tokens_neox': 468, 'n_words': 163}