Commit b6046770 authored by drnull03's avatar drnull03

Added LaTeX for the table question

parent 71dd1e0d
\relax
\gdef \LT@i {\LT@entry
{1}{140.83739pt}\LT@entry
{1}{83.53188pt}\LT@entry
{1}{83.53188pt}\LT@entry
{1}{83.53188pt}\LT@entry
{1}{83.53188pt}}
\gdef \@abspage@last{2}
\documentclass[12pt, a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{array}
\usepackage{longtable}
\usepackage[margin=0.7in]{geometry}
% Define centered column types
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\begin{document}
\section*{MPI Manual Reduce Performance Scaling Study}
\renewcommand{\arraystretch}{1.5}
\begin{longtable}{|C{4.5cm}|C{2.5cm}|C{2.5cm}|C{2.5cm}|C{2.5cm}|}
\hline
\textbf{Cluster Topology} & \textbf{Parallel Time} & \textbf{Processors} & \textbf{Serial Time} & \textbf{Array Size (N)} \\ \hline
\endfirsthead
\hline
\textbf{Cluster Topology} & \textbf{Parallel Time} & \textbf{Processors} & \textbf{Serial Time} & \textbf{Array Size (N)} \\ \hline
\endhead
cluster\_fat\_tree.xml & 0.040ms & 4 & 0.12ms & 100 \\ \hline
cluster\_crossbar.xml & 0.038ms & 4 & 0.12ms & 100 \\ \hline
cluster\_backbone.xml & 0.088ms & 4 & 0.12ms & 100 \\ \hline
cluster\_dragonfly.xml & 0.110ms & 4 & 0.45ms & 500 \\ \hline
cluster\_torus.xml & 0.145ms & 4 & 0.45ms & 500 \\ \hline
cluster\_crossbar.xml & 0.280ms & 4 & 0.90ms & 1,000 \\ \hline
cluster\_fat\_tree.xml & 0.310ms & 4 & 0.90ms & 1,000 \\ \hline
cluster\_fat\_tree.xml & 0.450ms & 8 & 2.40ms & 2,500 \\ \hline
cluster\_crossbar.xml & 0.420ms & 8 & 2.40ms & 2,500 \\ \hline
cluster\_dragonfly.xml & 0.580ms & 8 & 2.40ms & 2,500 \\ \hline
cluster\_torus.xml & 0.690ms & 8 & 2.40ms & 2,500 \\ \hline
cluster\_backbone.xml & 1.450ms & 8 & 2.40ms & 2,500 \\ \hline
cluster\_fat\_tree.xml & 1.150ms & 16 & 9.00ms & 10,000 \\ \hline
cluster\_crossbar.xml & 0.980ms & 16 & 9.00ms & 10,000 \\ \hline
cluster\_dragonfly.xml & 2.800ms & 16 & 9.00ms & 10,000 \\ \hline
cluster\_torus.xml & 3.450ms & 16 & 9.00ms & 10,000 \\ \hline
cluster\_backbone.xml & 7.200ms & 16 & 9.00ms & 10,000 \\ \hline
cluster\_fat\_tree.xml & 4.200ms & 32 & 45.0ms & 50,000 \\ \hline
cluster\_crossbar.xml & 3.900ms & 32 & 45.0ms & 50,000 \\ \hline
cluster\_dragonfly.xml & 6.800ms & 32 & 45.0ms & 50,000 \\ \hline
cluster\_torus.xml & 9.200ms & 32 & 45.0ms & 50,000 \\ \hline
cluster\_fat\_tree.xml & 12.50ms & 64 & 180.0ms & 200,000 \\ \hline
cluster\_crossbar.xml & 10.10ms & 64 & 180.0ms & 200,000 \\ \hline
cluster\_dragonfly.xml & 18.40ms & 64 & 180.0ms & 200,000 \\ \hline
cluster\_torus.xml & 24.50ms & 64 & 180.0ms & 200,000 \\ \hline
cluster\_backbone.xml & 65.00ms & 64 & 180.0ms & 200,000 \\ \hline
cluster\_fat\_tree.xml & 28.50ms & 128 & 450.0ms & 500,000 \\ \hline
cluster\_crossbar.xml & 21.20ms & 128 & 450.0ms & 500,000 \\ \hline
cluster\_dragonfly.xml & 42.60ms & 128 & 450.0ms & 500,000 \\ \hline
cluster\_torus.xml & 58.10ms & 128 & 450.0ms & 500,000 \\ \hline
cluster\_backbone.xml & 142.0ms & 128 & 450.0ms & 500,000 \\ \hline
cluster\_fat\_tree.xml & 52.40ms & 512 & 900.0ms & 1,000,000 \\ \hline
cluster\_crossbar.xml & 41.50ms & 512 & 900.0ms & 1,000,000 \\ \hline
cluster\_dragonfly.xml & 88.20ms & 1024 & 1800ms & 2,000,000 \\ \hline
cluster\_torus.xml & 195.0ms & 1024 & 1800ms & 2,000,000 \\ \hline
cluster\_backbone.xml & 580.0ms & 1024 & 1800ms & 2,000,000 \\ \hline
\end{longtable}
\end{document}
\ No newline at end of file
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) (preloaded format=pdflatex 2025.11.15) 13 JAN 2026 22:18
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**table.lex
(./table.lex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-01-22>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2023/05/17 v1.4n Standard LaTeX file (size option)
)
\c@part=\count187
\c@section=\count188
\c@subsection=\count189
\c@subsubsection=\count190
\c@paragraph=\count191
\c@subparagraph=\count192
\c@figure=\count193
\c@table=\count194
\abovecaptionskip=\skip48
\belowcaptionskip=\skip49
\bibindent=\dimen140
)
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2021/02/14 v1.3d Input encoding file
\inpenc@prehook=\toks17
\inpenc@posthook=\toks18
)
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty
Package: array 2023/10/16 v2.5g Tabular extension package (FMi)
\col@sep=\dimen141
\ar@mcellbox=\box51
\extrarowheight=\dimen142
\NC@list=\toks19
\extratabsurround=\skip50
\backup@length=\skip51
\ar@cellbox=\box52
)
(/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty
Package: longtable 2023-11-01 v4.19 Multi-page Table package (DPC)
\LTleft=\skip52
\LTright=\skip53
\LTpre=\skip54
\LTpost=\skip55
\LTchunksize=\count195
\LTcapwidth=\dimen143
\LT@head=\box53
\LT@firsthead=\box54
\LT@foot=\box55
\LT@lastfoot=\box56
\LT@gbox=\box57
\LT@cols=\count196
\LT@rows=\count197
\c@LT@tables=\count198
\c@LT@chunks=\count199
\LT@p@ftn=\toks20
)
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2020/01/02 v5.9 Page Geometry
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks21
)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
))
\Gm@cnth=\count266
\Gm@cntv=\count267
\c@Gm@tempcnt=\count268
\Gm@bindingoffset=\dimen144
\Gm@wd@mp=\dimen145
\Gm@odd@mp=\dimen146
\Gm@even@mp=\dimen147
\Gm@layoutwidth=\dimen148
\Gm@layoutheight=\dimen149
\Gm@layouthoffset=\dimen150
\Gm@layoutvoffset=\dimen151
\Gm@dimlist=\toks22
)
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2024-01-04 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count269
\l__pdf_internal_box=\box58
)
(./table.aux)
\openout1 = `table.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: a4paper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(50.58878pt, 496.33032pt, 50.58878pt)
* v-part:(T,H,B)=(50.58878pt, 743.8693pt, 50.58878pt)
* \paperwidth=597.50787pt
* \paperheight=845.04684pt
* \textwidth=496.33032pt
* \textheight=743.8693pt
* \oddsidemargin=-21.68121pt
* \evensidemargin=-21.68121pt
* \topmargin=-58.68121pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=12.0pt
* \footskip=30.0pt
* \marginparwidth=35.0pt
* \marginparsep=10.0pt
* \columnsep=10.0pt
* \skip\footins=10.8pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] (./table.aux)
***********
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-01-22>
***********
)
Here is how much of TeX's memory you used:
1231 strings out of 476182
20526 string characters out of 5795594
1978975 words of memory out of 5000000
23285 multiletter control sequences out of 15000+600000
559280 words of font info for 40 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
57i,6n,65p,171b,202s stack positions out of 10000i,1000n,20000p,200000b,200000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></us
r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb>
Output written on table.pdf (2 pages, 32141 bytes).
PDF statistics:
21 PDF objects out of 1000 (max. 8388607)
12 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
CXX := mpic++
CXXFLAGS := -O3 -Wall -Wextra -std=c++17
TARGET := reduce
# Object files list
OBJS := main.o algorithms.o constants.o
# Default Processes
NP ?= 4
all: $(TARGET)
# Linking Phase
$(TARGET): $(OBJS)
@echo "Linking $(TARGET)..."
$(CXX) $(CXXFLAGS) $(OBJS) -o $(TARGET)
@echo "Build Complete."
# Compilation Phase
%.o: %.cpp
@echo "Compiling $<..."
$(CXX) $(CXXFLAGS) -c $< -o $@
# Run Target
run: $(TARGET)
@echo "Running with $(NP) processes..."
mpirun -n $(NP) ./$(TARGET)
# Clean Artifacts
clean:
@echo "Cleaning..."
rm -f $(OBJS) $(TARGET)
.PHONY: all clean run
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