Skip to content

Commit

Permalink
add stat script
Browse files Browse the repository at this point in the history
  • Loading branch information
mraway committed May 3, 2013
1 parent 9eb42b1 commit 3fd7439
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/job.batchdedup
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# the title I'm giving my job
#PBS -N mpi_batchdedup
# the number of nodes, and processors per node
#PBS -l nodes=100:ppn=1
#PBS -l nodes=10:ppn=1
# the maximum time to run the job
#PBS -l walltime=0:10:00
#PBS -l walltime=0:59:00

#PBS -e err.$PBS_JOBID
#PBS -o out.$PBS_JOBID
Expand All @@ -17,4 +17,4 @@
# makes an annoying OpenMPI warning go away
export MX_RCACHE=0

mpirun -v -machinefile $PBS_NODEFILE -np 100 ~/batchdedup/src/batch_dedup 10000 2500 1 128 16 16
mpirun -v -machinefile $PBS_NODEFILE -np 10 ~/batchdedup/src/batch_dedup 10000 800 0 64 128 32
5 changes: 5 additions & 0 deletions src/stat.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
for i in 0 1 2 3 4 5 6 7 8 9 a
do
cat ../10_10000_800_"$i"_65536_131072_32768/*.log | grep $1 | awk '{print $11;}' | awk '{tot+=$1;}END{print tot/10;}'
done

0 comments on commit 3fd7439

Please sign in to comment.