From 9cdac301769d657a64424959bcee51e2a53c5878 Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 24 Jun 2016 22:15:46 +0200 Subject: [PATCH] nodes und size script --- reduce/nodes.sh | 10 ++++++++++ reduce/report/report.tex | 3 ++- reduce/size.sh | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100755 reduce/nodes.sh create mode 100755 reduce/size.sh diff --git a/reduce/nodes.sh b/reduce/nodes.sh new file mode 100755 index 0000000..9fbc5fb --- /dev/null +++ b/reduce/nodes.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +for i in $(seq 0 1 35); +do + for j in $(seq 1 1 30); + do + res="$(mpirun -node 0-$i -nnp 16 reduce -b 1000)" + echo "${i},${res}" + done +done diff --git a/reduce/report/report.tex b/reduce/report/report.tex index e3ca713..86740cc 100755 --- a/reduce/report/report.tex +++ b/reduce/report/report.tex @@ -350,13 +350,14 @@ The amount of processes used was increased from starting with only one node up t On each node all 16 processes where used in all tests. Therefore the total process count ranged from 16 to 576. For all out tests in this project we used a repetition count of 30 which allowed us to run a high number of different inputs in a reasonable amount of time. +In \prettyref{fig:nodeplot} the results of this benchmark are shown. \begin{figure} \begin{adjustbox}{center} \includegraphics[width=0.8\linewidth]{nodeplot} \end{adjustbox} \caption{Average runtimes on 1 to 36 nodes with 16 processes each.} - \label{fig:roofline} + \label{fig:nodeplot} \end{figure} \subsection{Array Size} diff --git a/reduce/size.sh b/reduce/size.sh new file mode 100755 index 0000000..07a95e6 --- /dev/null +++ b/reduce/size.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +i=1 +while [ $i -le 1000000 ]; do + for j in $(seq 1 1 30); + do + res="$(mpirun -node 0-35 -nnp 16 reduce -b $i)" + echo "${i},${res}" + done + let i*=10 +done