<commit_before>module load global/cluster

qsub -sync y -j y -pe openmpi 8 -q medium.q@@com01 /home/ssg37927/Savu/mpi/dls/mpijob.sh $@ > tmp.txt

filename=`echo mpirun.sh.o`
filename=$filename`awk '{print $3}' tmp.txt`

cat $filename<commit_msg>updates to mpi launcher to make it more interactive<commit_after>module load global/cluster

qsub -sync y -j y -pe openmpi 16 -q medium.q@@com01 /home/ssg37927/Savu/mpi/dls/mpijob.sh $@ > tmp.txt

filename=`echo mpijob.sh.o`
filename=$filename`awk '{print $3}' tmp.txt`

while [ ! -f $filename ]
do
  sleep 2
done

cat $filename
{'fraction_non_alphanumeric': 0.14136125654450263, 'fraction_numerical': 0.034904013961605584, 'mean_word_length': 4.171171171171171, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '724911', 'n_tokens_mistral': 242, 'n_tokens_neox': 219, 'n_words': 60}