<commit_before>#!/bin/bash

#------------------------------ weak scaling ---------------------------------#

sdir=slurm_runs_N

n_iter=100

outfile=srl_N_x_${n_iter}_1_1_1_IO.dat
echo "Output file name : " $outfile

mkdir -p outputs

rm -f outputs/$outfile
rm -f out_*.pgm
rm -f out_*.bmp

cd ../../src 			# go there to compile
make srl
cd ../analysis/cluster	# come back here to run

### problem size doubles when number of processors doubles
### --> N multiplied by sqrt(2)

for N in 1024 1448 2048 2896 4096 5793
do
	echo "Going to run several times mandel_srl, with parameters N = $N, \
max iter = $n_iter, rows = 1, procs = 1, threads = 1)"

	sbatch -n 1 ${sdir}/run_srl_N_${N}_${n_iter}.slurm

done

#-----------------------------------------------------------------------------#
<commit_msg>Fix few missing characters at end of slurm file names<commit_after>#!/bin/bash

#------------------------------ weak scaling ---------------------------------#

sdir=slurm_runs_N

n_iter=100

outfile=srl_N_x_${n_iter}_1_1_1_IO.dat
echo "Output file name : " $outfile

mkdir -p outputs

rm -f outputs/$outfile
rm -f out_*.pgm
rm -f out_*.bmp

cd ../../src 			# go there to compile
make srl
cd ../analysis/cluster	# come back here to run

### problem size doubles when number of processors doubles
### --> N multiplied by sqrt(2)

for N in 1024 1448 2048 2896 4096 5793
do
	echo "Going to run several times mandel_srl, with parameters N = $N, \
max iter = $n_iter, rows = 1, procs = 1, threads = 1)"

	sbatch -n 1 ${sdir}/run_srl_N_${N}_${n_iter}_IO.slurm

done

#-----------------------------------------------------------------------------#

{'fraction_non_alphanumeric': 0.27211714460036607, 'fraction_numerical': 0.04270896888346553, 'mean_word_length': 1.8373702422145328, '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': '2357978', 'n_tokens_mistral': 611, 'n_tokens_neox': 539, 'n_words': 179}