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 ...@@ -11,7 +11,8 @@ name_dir=$1
i=$2 i=$2
procs_parents=$3 procs_parents=$3
procs_sons=$4 procs_sons=$4
percs_array=(0 25 50 75 100) #percs_array=(0 25 50 75 100)
percs_array=(0)
aux=$(($i + 1)) aux=$(($i + 1))
echo "START TEST init=$aux" echo "START TEST init=$aux"
...@@ -21,7 +22,7 @@ do ...@@ -21,7 +22,7 @@ do
for phy_dist in cpu node for phy_dist in cpu node
do do
for ibarrier_use in 0 #TODO Simplificar for ibarrier_use in 3 #TODO Simplificar
do do
i=$(($i + 1)) i=$(($i + 1))
cd $name_dir/Run$i cd $name_dir/Run$i
...@@ -32,7 +33,7 @@ do ...@@ -32,7 +33,7 @@ do
for index in 1 2 3 for index in 1 2 3
do do
numP=$(bash $dir$codeDir/recordMachinefile.sh $config_file) # Crea el fichero hostfile 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 rm hostfile.o$SLURM_JOB_ID
done done
done done
......
...@@ -37,8 +37,9 @@ else ...@@ -37,8 +37,9 @@ else
fi fi
max_procs=$(($node_qty * 20)) max_procs=$(($node_qty * 20))
procs_array=(2 10) procs_array=(2 10)
percs_array=(0 25 50 75 100) #percs_array=(0 25 50 75 100)
at_array=(0) percs_array=(0)
at_array=(3)
#Obtener cantidades de procesos posibles a ejecutar #Obtener cantidades de procesos posibles a ejecutar
i=0 i=0
...@@ -93,7 +94,7 @@ do ...@@ -93,7 +94,7 @@ do
done done
done 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 # LANZAR SCRIPT
echo $aux echo $aux
sbatch -N $node_qty $dir$execDir./arrayRun.sh $dir$ResultsDir$name_res $start_i $procs_parents $procs_sons 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