Commit a8edcbc0 authored by iker_martin's avatar iker_martin
Browse files

Pequenyos cambios sobre los scripts de pruebas

parent 4f344a7b
......@@ -11,7 +11,8 @@ name_dir=$1
i=$2
procs_parents=$3
procs_sons=$4
percs_array=(0 25 50 75 100)
#percs_array=(0 25 50 75 100)
percs_array=(0)
aux=$(($i + 1))
echo "START TEST init=$aux"
......@@ -21,7 +22,7 @@ do
for phy_dist in cpu node
do
for ibarrier_use in 0 #TODO Simplificar
for ibarrier_use in 3 #TODO Simplificar
do
i=$(($i + 1))
cd $name_dir/Run$i
......@@ -32,7 +33,7 @@ do
for index in 1 2 3
do
numP=$(bash $dir$codeDir/recordMachinefile.sh $config_file) # Crea el fichero hostfile
mpirun -f hostfile.o$SLURM_JOB_ID -np $numP $dir$codeDir/bench.out $config_file $i
mpirun -f hostfile.o$SLURM_JOB_ID $dir$codeDir/bench.out $config_file $i
rm hostfile.o$SLURM_JOB_ID
done
done
......
......@@ -37,8 +37,9 @@ else
fi
max_procs=$(($node_qty * 20))
procs_array=(2 10)
percs_array=(0 25 50 75 100)
at_array=(0)
#percs_array=(0 25 50 75 100)
percs_array=(0)
at_array=(3)
#Obtener cantidades de procesos posibles a ejecutar
i=0
......@@ -93,7 +94,7 @@ do
done
done
done
start_i=$(($j * 10 * ${#at_array[@]})) #TODO modficar utlimo valor cuando se use ibarrier
start_i=$(($j * ${#percs_array[@]} * ${#at_array[@]} * 2)) #TODO modficar utlimo valor conforme cambie phy_dist
# LANZAR SCRIPT
echo $aux
sbatch -N $node_qty $dir$execDir./arrayRun.sh $dir$ResultsDir$name_res $start_i $procs_parents $procs_sons
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment