<commit_before>#!/bin/sh
# This configuration file was taken originally from the mpi4py project
# <http://mpi4py.scipy.org/>, and then modified for Julia

set -e
set -x

impl="$1"
os=`uname`

case "$os" in
    Darwin)
        # TODO: Don't build -- but how? Use Homebrew? Macport seems to
        # want to build a compiler first, which takes too long.
        case "$impl" in
            mpich|mpich3)
                wget http://www.mpich.org/static/downloads/3.1.4/mpich-3.1.4.tar.gz
                tar xzf mpich-3.1.4.tar.gz
                cd mpich-3.1.4
                ./configure
                make -j2
                sudo make install
                ;; 
            openmpi)
                wget http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.bz2
                tar xjf openmpi-1.10.0.tar.bz2
                cd openmpi-1.10.0
                ./configure
                make -j2
                sudo make install
                ;;
            *)
                echo "Unknown MPI implementation: $impl"
                exit 1<commit_msg>Limit Travis log file size<commit_after>#!/bin/sh
# This configuration file was taken originally from the mpi4py project
# <http://mpi4py.scipy.org/>, and then modified for Julia

set -e
set -x

impl="$1"
os=`uname`

case "$os" in
    Darwin)
        # TODO: Don't build -- but how? Use Homebrew? Macport seems to
        # want to build a compiler first, which takes too long.
        case "$impl" in
            mpich|mpich3)
                wget http://www.mpich.org/static/downloads/3.1.4/mpich-3.1.4.tar.gz
                tar xzf mpich-3.1.4.tar.gz
                cd mpich-3.1.4
                ./configure
                # Need to limit output to avoid Travis's $ MByte log file limit
                make -j2 | pv -bl >/dev/null
                sudo make install
                ;; 
            openmpi)
                wget http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.bz2
                tar xjf openmpi-1.10.0.tar.bz2
                cd openmpi-1.10.0
                ./configure
                # Need to limit output to avoid Travis's $ MByte log file limit
                make -j2 | pv -bl >/dev/null
                sudo make install
                ;;
            *)
                echo "Unknown MPI implementation: $impl"
                exit 1
{'fraction_non_alphanumeric': 0.1011378002528445, 'fraction_numerical': 0.03034134007585335, 'mean_word_length': 1.2848893166506257, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5078575', 'n_tokens_mistral': 796, 'n_tokens_neox': 712, 'n_words': 201}