run_check_haswell.sh 1.35 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
#!/bin/bash

NODES=8
PPN=12
NPROCS=$((NODES*PPN))
TARGET="/projects/visualization/ftessier/debug"
DDT="/soft/debuggers/ddt/bin/ddt --connect"

cd $HOME/install/$ARCHI/bin/

export TAPIOCA_DEVNULL=false
export TAPIOCA_COMMSPLIT=true
export TAPIOCA_STRATEGY=TOPOLOGY_AWARE
export TAPIOCA_NBAGGR=2
export TAPIOCA_BUFFERSIZE=16777216
export TAPIOCA_PIPELINING=true

export PAMID_VERBOSE=1
export AMID_COLLECTIVES_MEMORY_OPTIMIZED=1
export PAMID_COLLECTIVES=1

function outputFile ()
{
    OUTPUT="$HOME/xp_tapioca/memory_abstraction"
    OUTPUT="${OUTPUT}/HACC_HW_COOLEY_${BIN}_${NODES}_${PPN}"
    OUTPUT="${OUTPUT}_${TAPIOCA_STRATEGY}_${TAPIOCA_NBAGGR}_${TAPIOCA_BUFFERSIZE}_${PARTICLES}"
}

printenv | egrep "TAPIOCA_"

rm $TARGET/*
mpirun -f $COBALT_NODEFILE -n $NPROCS ./miniHACC-AoS 15000
# ls -l $TARGET/
# sleep 5
# mpirun -f $COBALT_NODEFILE -n $NPROCS ./miniHACC-AoS-R 15000
# sleep 5
echo
echo "---------------------------------------------"
echo
#mpirun -f $COBALT_NODEFILE -n $NPROCS ./miniHACC-AoS-R 15000

# for run in {0..9}
# do
#     for PARTICLES in 5000 15000 25000 35000 50000 100000
#     do
#         for BIN in miniHACC-AoS miniHACC-AoS-MPIIO #miniHACC-SoA miniHACC-AoS-MPIIO miniHACC-SoA-MPIIO
#         do
# 	    rm $TARGET/*
# 	    outputFile
# 	    mpirun -f $COBALT_NODEFILE -n $NPROCS ./$BIN $PARTICLES >> $OUTPUT
# 	    sleep 3
# 	done
#     done
# done