<commit_before>#!/bin/sh

# expected to have the UGE demo tar.gz here in vagrant directory
# if you don't have then download them from www.univa.com

# 1.) Extract UGE packages in subdirectory
if [ -d /vagrant/UGE ]; then
   rm -rf /vagrant/UGE
fi
mkdir /vagrant/UGE
cd /vagrant/UGE
tar zxvpf ../ge-8.1.5-demo-bin-lx-amd64.tar.gz
tar zxvpf ../ge-8.1.5-demo-common.tar.gz

# 2.) Perfom auto installation
echo "Starting auto-installation of Univa Grid Engine"
export TERM=xterm
./inst_sge -m -x -auto ../auto_install_template

# 2.1) Adapt the cluster (/bin/csh is not installed in box)
source UGE/common/settings.sh
# change shell to /bin/sh from /bin/csh
qconf -mattr queue shell /bin/sh all.q

# 3.) Change .bashrc of vagrant/root user in order to source UGE environment
echo "source /vagrant/UGE/default/common/settings.sh" >> /home/vagrant/.bashrc
echo "source /vagrant/UGE/default/common/settings.sh" >> /root/.bashrc

# FINISHED
echo "Installation of UGE finished"
<commit_msg>DG: Issue after installation due to source path.<commit_after>#!/bin/sh

# expected to have the UGE demo tar.gz here in vagrant directory
# if you don't have then download them from www.univa.com

# 1.) Extract UGE packages in subdirectory
if [ -d /vagrant/UGE ]; then
   rm -rf /vagrant/UGE
fi
mkdir /vagrant/UGE
cd /vagrant/UGE
tar zxvpf ../ge-8.1.5-demo-bin-lx-amd64.tar.gz
tar zxvpf ../ge-8.1.5-demo-common.tar.gz

# 2.) Perfom auto installation
echo "Starting auto-installation of Univa Grid Engine"
export TERM=xterm
./inst_sge -m -x -auto ../auto_install_template

# 2.1) Adapt the cluster (/bin/csh is not installed in box)
source /vagrant/UGE/default/common/settings.sh
# change shell to /bin/sh from /bin/csh
qconf -mattr queue shell /bin/sh all.q

# 3.) Change .bashrc of vagrant/root user in order to source UGE environment
echo "source /vagrant/UGE/default/common/settings.sh" >> /home/vagrant/.bashrc
echo "source /vagrant/UGE/default/common/settings.sh" >> /root/.bashrc

# FINISHED
echo "Installation of UGE finished"

{'fraction_non_alphanumeric': 0.12152777777777778, 'fraction_numerical': 0.012896825396825396, 'mean_word_length': 3.502232142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '864940', 'n_tokens_mistral': 779, 'n_tokens_neox': 733, 'n_words': 233}