<commit_before>#!/bin/bash

set -e

if [ -f "$HOME/ompi/bin/mpicc" ]; then
  export PATH=$HOME/ompi/bin:$PATH
  export LD_LIBRARY_PATH=$HOME/ompi/lib:$LD_LIBRARY_PATH
  echo "Openmpi already installed."
  exit 0
fi

curl http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.gz | tar zx

cd openmpi-1.10.0

echo "Building OMPI..."
mkdir -p $HOME/ompi
./configure --enable-shared --prefix=$HOME/ompi > /dev/null
make -j 2 > /dev/null<commit_msg>Use wget instead of curl | tar<commit_after>#!/bin/bash

set -e

if [ -f "$HOME/ompi/bin/mpicc" ]; then
  export PATH=$HOME/ompi/bin:$PATH
  export LD_LIBRARY_PATH=$HOME/ompi/lib:$LD_LIBRARY_PATH
  echo "Openmpi already installed."
  exit 0
fi

wget http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.gz
tar xf openmpi-1.10.0.tar.gz

cd openmpi-1.10.0

echo "Building OMPI..."
mkdir -p $HOME/ompi
./configure --enable-shared --prefix=$HOME/ompi > /dev/null
make -j 2 > /dev/null
{'fraction_non_alphanumeric': 0.16926272066458983, 'fraction_numerical': 0.03115264797507788, 'mean_word_length': 3.381818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3048816', 'n_tokens_mistral': 440, 'n_tokens_neox': 398, 'n_words': 81}