<commit_before>#!/bin/bash
# This script installs and configures a Sun Grid Engine installation for use
# on a Travis instance.
#
# Written by <NAME> (<EMAIL>), September 2013

export SGE_CONFIG_DIR=$HOME/ge_install
sed -i -r "s/^(127.0.0.1\s)(localhost\.localdomain\slocalhost)/\1localhost localhost.localdomain $(hostname) /" /etc/hosts
apt-get update -qq
echo "gridengine-master shared/gridenginemaster string localhost" | debconf-set-selections
echo "gridengine-master shared/gridenginecell string default" | debconf-set-selections
echo "gridengine-master shared/gridengineconfig boolean true" | debconf-set-selections
apt-get install gridengine-common gridengine-master
# Do this in a separate step to give master time to start
apt-get install libdrmaa1.0 gridengine-client gridengine-exec
export CORES=$(grep -c '^processor' /proc/cpuinfo)
sed -i -r "s/template/$USER/" $SGE_CONFIG_DIR/user_template
qconf -Auser $SGE_CONFIG_DIR/user_template<commit_msg>ge_install/install_ge.sh: Auto yes for apt-get.<commit_after>#!/bin/bash
# This script installs and configures a Sun Grid Engine installation for use
# on a Travis instance.
#
# Written by <NAME> (<EMAIL>), September 2013

export SGE_CONFIG_DIR=$HOME/ge_install
sed -i -r "s/^(127.0.0.1\s)(localhost\.localdomain\slocalhost)/\1localhost localhost.localdomain $(hostname) /" /etc/hosts
sudo apt-get -y update -qq
echo "gridengine-master shared/gridenginemaster string localhost" | debconf-set-selections
echo "gridengine-master shared/gridenginecell string default" | debconf-set-selections
echo "gridengine-master shared/gridengineconfig boolean true" | debconf-set-selections
sudo apt-get -y install gridengine-common gridengine-master
# Do this in a separate step to give master time to start
sudo apt-get -y install libdrmaa1.0 gridengine-client gridengine-exec
export CORES=$(grep -c '^processor' /proc/cpuinfo)
sed -i -r "s/template/$USER/" $SGE_CONFIG_DIR/user_template
qconf -Auser $SGE_CONFIG_DIR/user_template
{'fraction_non_alphanumeric': 0.10717896865520728, 'fraction_numerical': 0.01314459049544995, 'mean_word_length': 5.302547770700637, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7452837', 'n_tokens_mistral': 652, 'n_tokens_neox': 618, 'n_words': 183}