blob: 08914a8631c6a24b24491c830fa80a3e31adc65f [file] [log] [blame]
Adrià Vilanova Martínez24d87012022-06-16 00:29:59 +02001#!/bin/bash
2cd data_out/dep_en_L
3LList="8 16 32 64 96"
4LFinalList=()
5
6mkdir -p tmpdata
7for L in $LList; do
8 if [ -d "$L" ]; then
9 (cd $L; cat *.res | sort -nk2 > "../tmpdata/$L.dat")
10 if [ $L -eq 32 ]; then
11 ../../out/cv_via_derivative < tmpdata/32.dat > tmpdata/32_derivada_E.dat
12 fi
13 LFinalList+=("$L")
14 else
15 echo "Folder with L=$L doesn't exist, skipping."
16 fi
17done
18
19LFinalListString="${LFinalList[@]}"
20
21cd ../../
22mkdir -p data_out/dep_en_L_graphs
23
24cd data_out/dep_en_L_graphs
25../../graphs/dependenciaEnL.gnu "$LFinalListString"
26
27cd ../../
28#rm -rf data_out/dep_en_L/tmpdata