Commit 0d88635f authored by Francois Tessier's avatar Francois Tessier

Bug fix in miniHACC SoA - Add missing TAPIOCA_finalize

parent ddc1891d
...@@ -181,6 +181,8 @@ int main (int argc, char * argv[]) ...@@ -181,6 +181,8 @@ int main (int argc, char * argv[])
MPI_Barrier (MPI_COMM_WORLD); MPI_Barrier (MPI_COMM_WORLD);
tp.Finalize ();
/*****************/ /*****************/
/* READ */ /* READ */
/*****************/ /*****************/
......
#!/bin/bash #!/bin/bash
NODES=64 NODES=1024
PPN=16 PPN=16
NPROCS=$((NODES*PPN)) NPROCS=$((NODES*PPN))
TARGET="/projects/visualization/ftessier/debug" TARGET="/projects/visualization/ftessier/debug"
...@@ -10,7 +10,7 @@ cd $HOME/TAPIOCA/examples/HACC-IO ...@@ -10,7 +10,7 @@ cd $HOME/TAPIOCA/examples/HACC-IO
export TAPIOCA_DEVNULL=false export TAPIOCA_DEVNULL=false
export TAPIOCA_COMMSPLIT=true export TAPIOCA_COMMSPLIT=true
export TAPIOCA_STRATEGY=TOPOLOGY_AWARE export TAPIOCA_STRATEGY=TOPOLOGY_AWARE
export TAPIOCA_NBAGGR=8 export TAPIOCA_NBAGGR=16
export TAPIOCA_BUFFERSIZE=16777216 export TAPIOCA_BUFFERSIZE=16777216
export TAPIOCA_PIPELINING=true export TAPIOCA_PIPELINING=true
...@@ -31,23 +31,28 @@ function updateSettings() ...@@ -31,23 +31,28 @@ function updateSettings()
SETTINGS="$SETTINGS BGLOCKLESSMPIO_F_TYPE=0x47504653" SETTINGS="$SETTINGS BGLOCKLESSMPIO_F_TYPE=0x47504653"
} }
for run in 0
function outputFile ()
{
OUTPUT="$HOME/PUB-IPDPS18/dat/hacc_rw"
OUTPUT="${OUTPUT}/HACC_BGQ_${BIN}_${NODES}_${PPN}"
OUTPUT="${OUTPUT}_${TAPIOCA_STRATEGY}_${TAPIOCA_NBAGGR}_${TAPIOCA_BUFFERSIZE}_${PARTICLES}"
}
updateSettings
for run in {0..4}
do do
rm $TARGET/* for PARTICLES in 100000
updateSettings do
runjob --block $COBALT_PARTNAME --envs $SETTINGS -p $PPN --np $NPROCS : ./miniHACC-AoS 25000 for BIN in miniHACC-AoS miniHACC-SoA miniHACC-AoS-MPIIO miniHACC-SoA-MPIIO
do
rm $TARGET/* rm $TARGET/*
updateSettings outputFile
runjob --block $COBALT_PARTNAME --envs $SETTINGS -p $PPN --np $NPROCS : ./miniHACC-AoS-MPIIO 25000 runjob --block $COBALT_PARTNAME --envs $SETTINGS -p $PPN --np $NPROCS : ./$BIN $PARTICLES >> $OUTPUT
sleep 5
rm $TARGET/* done
updateSettings done
runjob --block $COBALT_PARTNAME --envs $SETTINGS -p $PPN --np $NPROCS : ./miniHACC-SoA 25000
rm $TARGET/*
updateSettings
runjob --block $COBALT_PARTNAME --envs $SETTINGS -p $PPN --np $NPROCS : ./miniHACC-SoA-MPIIO 25000
done done
# ######################### # #########################
......
...@@ -41,7 +41,7 @@ function updateSettings() ...@@ -41,7 +41,7 @@ function updateSettings()
SETTINGS="$SETTINGS -e MPICH_RMA_OVER_DMAPP=1" SETTINGS="$SETTINGS -e MPICH_RMA_OVER_DMAPP=1"
} }
for PARTICLES in 5000 15000 25000 35000 50000 for PARTICLES in 5000 15000 25000 35000 50000 100000
do do
updateSettings updateSettings
setLustreFS setLustreFS
......
Markdown is supported
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