Commit d79aefaf authored by iker_martin's avatar iker_martin
Browse files

Pequeños cambios sobre la ejecución de ficheros

parent f0c75a2c
......@@ -52,7 +52,7 @@ int main(int argc, char *argv[]) {
int numP, myId, res;
int req;
MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &req);
MPI_Init_thread(&argc, &argv, MPI_THREAD_SINGLE, &req);
MPI_Comm_size(MPI_COMM_WORLD, &numP);
MPI_Comm_rank(MPI_COMM_WORLD, &myId);
......
#!/bin/bash
#SBATCH --exclude=n[06-07]
#SBATCH --exclude=n[06-07],c01
dir="/home/martini/malleability_benchmark"
codeDir="/Codes"
......@@ -13,7 +13,8 @@ procs_parents=$3
procs_sons=$4
percs_array=(0 25 50 75 100)
echo "START TEST init=$i"
aux=$(($i + 1))
echo "START TEST init=$aux"
for adr_perc in "${percs_array[@]}"
do
......@@ -28,13 +29,11 @@ do
echo "EXEC $procs_parents -- $procs_sons -- $adr_perc -- $ibarrier_use -- $phy_dist -- RUN $i"
touch test$i
for index in 1 2 3
do
echo "a"
#numP=$(bash $dir$codeDir/recordMachinefile.sh $config_file) # Crea el fichero hostfile
#mpirun -f hostfile.o$SLURM_JOB_ID -np $numP $dir$codeDir/a.out $config_file $i
#rm hostfile.o$SLURM_JOB_ID
numP=$(bash $dir$codeDir/recordMachinefile.sh $config_file) # Crea el fichero hostfile
mpirun -f hostfile.o$SLURM_JOB_ID -np $numP $dir$codeDir/a.out $config_file $i
rm hostfile.o$SLURM_JOB_ID
done
done
done
......
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