<commit_before>#!/bin/bash

root=/projects/CompBIO/Projects/automated-tests
repository=git://github.com/sebhtml/biosal.git
branch=master

__APP__=latency_probe
__JOB__=$__APP__-$(date +%Y-%m-%d-%H-%M-%S)

if ! test -e $root
then
    mkdir -p $root
fi

cd $root

if ! test -e biosal
then
    git clone $repository
fi

cd biosal
git checkout $branch
git pull origin $branch

__COMMIT__=$(git log | head -n1 | awk '{print $2}')

scripts/IBM_Blue_Gene_Q/build-xl.sh

cd ..
cp biosal/performance/latency_probe/latency_probe $__JOB__.$__APP__

cp biosal/tests/Mira_IBM_Blue_Gene_Q/Template.$__APP__.sh $__JOB__.sh

template="s/__JOB__/$__JOB__/g"
sed -i "$template" $__JOB__.sh

template="s/__APP__/$__APP__/g"
sed -i "$template" $__JOB__.sh

template="s/__COMMIT__/$__COMMIT__/g"
sed -i "$template" $__JOB__.sh

./$__JOB__.sh > $__JOB__.job

echo "Submitted build $__JOB__ ($__COMMIT__)"
cat $__JOB__.job<commit_msg>tests: use job framework for latency_probe on Mira<commit_after>#!/bin/bash

center=alcf
system=mira
nodes=512
threads=16

build_script=scripts/IBM_Blue_Gene_Q/build-xl.sh
app_path=performance/latency_probe/latency_probe
job_template=tests/Mira_IBM_Blue_Gene_Q/Template.latency_probe.sh

root=/projects/CompBIO/Projects/automated-tests-mira
dataset=/gpfs/mira-fs1/projects/CompBIO/Datasets/JGI/Great_Prairie_Soil_Metagenome_Grand_Challenge/Datasets/Iowa_Native_Prairie_Soil

submit_command=bash

source tests/submit-actor-job-to-scheduler.sh

{'fraction_non_alphanumeric': 0.1293874741913283, 'fraction_numerical': 0.0055058499655884375, 'mean_word_length': 5.54954954954955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '6535024', 'n_tokens_mistral': 620, 'n_tokens_neox': 583, 'n_words': 94}