From 6fb112f60fce92968f27a3c75ac4e9586140c7f6 Mon Sep 17 00:00:00 2001 From: ulrikeyang Date: Mon, 25 Sep 2023 14:56:57 -0700 Subject: [PATCH 1/4] added new plots --- doc/sphinx/02_amg/amg.rst | 107 ++++++++++++++++++++++++++++++++++++++ doc/sphinx/02_amg/cpu.gp | 29 +++++++++++ 2 files changed, 136 insertions(+) diff --git a/doc/sphinx/02_amg/amg.rst b/doc/sphinx/02_amg/amg.rst index 72cd05e2..91859a01 100644 --- a/doc/sphinx/02_amg/amg.rst +++ b/doc/sphinx/02_amg/amg.rst @@ -446,8 +446,115 @@ Strong scaling results of AMG2023 for problem 2 on a grid size of 320 x 320 x 32 :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320 AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320 + +Strong Scaling on Rocinante +--------------------------- + +We present strong scaling results for varying problem sizes on Rocinante with HBM below. The code was configured and compiled using hypre v2.29.0 with MPI only and optimization -O2. + +Strong scaling results of AMG2023 for problem 1 on a grid size of 120 x 120 x 120 are provided in the following table and figure. + +.. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120, Roci + :file: roci_1_120.csv + :align: center + :widths: 10, 10, 10 + :header-rows: 1 + + +.. figure:: roci_1_120.png + :align: center + :scale: 50% + :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120, Roci + + AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120, Roci + + +Strong scaling results of AMG2023 for problem 1 on a grid size of 160 x 160 x 160 are provided in the following table and figure. + +.. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160, Roci + :file: roci_1_160.csv + :align: center + :widths: 10, 10, 10 + :header-rows: 1 + + +.. figure:: roci_1_160.png + :align: center + :scale: 50% + :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160, Roci + + AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160, Roci + + +Strong scaling results of AMG2023 for problem 1 on a grid size of 200 x 200 x 200 are provided in the following table and figure. + +.. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200, Roci + :file: roci_1_200.csv + :align: center + :widths: 10, 10, 10 + :header-rows: 1 + + +.. figure:: roci_1_200.png + :align: center + :scale: 50% + :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200, Roci + + AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200, Roci +Strong scaling results of AMG2023 for problem 2 on a grid size of 200 x 200 x 200 are provided in the following table and figure. + +.. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200, Roci + :file: roci_2_200.csv + :align: center + :widths: 10, 10, 10 + :header-rows: 1 + + +.. figure:: roci_2_200.png + :align: center + :scale: 50% + :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200, Roci + + AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200, Roci + + +Strong scaling results of AMG2023 for problem 2 on a grid size of 256 x 256 x 256 are provided in the following table and figure. + +.. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256, Roci + :file: roci_2_256.csv + :align: center + :widths: 10, 10, 10 + :header-rows: 1 + + +.. figure:: roci_2_256.png + :align: center + :scale: 50% + :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256, Roci + + AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256, Roci + + +Strong scaling results of AMG2023 for problem 2 on a grid size of 320 x 320 x 320 are provided in the following table and figure. + +.. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320, Roci + :file: roci_2_320.csv + :align: center + :widths: 10, 10, 10 + :header-rows: 1 + + +.. figure:: roci_2_320.png + :align: center + :scale: 50% + :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320, Roci + + AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320, Roci + + + V-100 ----- diff --git a/doc/sphinx/02_amg/cpu.gp b/doc/sphinx/02_amg/cpu.gp index 12e43274..6e30d879 100644 --- a/doc/sphinx/02_amg/cpu.gp +++ b/doc/sphinx/02_amg/cpu.gp @@ -20,6 +20,7 @@ set key autotitle columnheader set style line 1 linetype 6 dashtype 1 linecolor rgb "#FF0000" linewidth 2 pointtype 6 pointsize 3 set style line 2 linetype 1 dashtype 2 linecolor rgb "#FF0000" linewidth 2 +set style line 3 linetype 1 dashtype 1 linecolor rgb "#0000FF" linewidth 2 pointtype 6 pointsize 3 plot "cpu1_120.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 @@ -43,3 +44,31 @@ set output "cpu2_320.png" set title "AMG2023 Strong Scaling for Problem 2, 320 x 320 x 320" font "serif,22" plot "cpu2_320.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 +set output "roci_1_160.png" +set title "AMG2023 Strong Scaling for Problem 1, 160 x 160 x 160, Roci" font "serif,22" +plot "roci_1_120.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 + +set output "roci_1_160.png" +set title "AMG2023 Strong Scaling for Problem 1, 160 x 160 x 160, Roci" font "serif,22" +plot "roci_1_160.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 + +set output "roci_1_200.png" +set title "AMG2023 Strong Scaling for Problem 1, 200 x 200 x 200, Roci" font "serif,22" +plot "roci_1_200.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 + +set output "roci_2_200.png" +set title "AMG2023 Strong Scaling for Problem 2, 200 x 200 x 200, Roci" font "serif,22" +plot "roci_2_200.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 + +set output "roci_2_256.png" +set title "AMG2023 Strong Scaling for Problem 2, 256 x 256 x 256, Roci" font "serif,22" +plot "roci_2_256.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 + +set output "roci_2_320.png" +set title "AMG2023 Strong Scaling for Problem 2, 320 x 320 x 320, Roci" font "serif,22" +plot "roci_2_320.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 + +set output "roci_mem.png" +set title "AMG2023 FOM at varying memory usage, Problem 1 and 2, Roci" font "serif,22" +plot "roci_mem.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 3 + From 113b77cab01ed59208fce967bc1e3b3783b5b681 Mon Sep 17 00:00:00 2001 From: ulrikeyang Date: Mon, 25 Sep 2023 15:06:55 -0700 Subject: [PATCH 2/4] added new files --- doc/sphinx/02_amg/roci_1_120.csv | 7 +++++++ doc/sphinx/02_amg/roci_1_160.csv | 7 +++++++ doc/sphinx/02_amg/roci_1_200.csv | 7 +++++++ doc/sphinx/02_amg/roci_2_200.csv | 7 +++++++ doc/sphinx/02_amg/roci_2_256.csv | 7 +++++++ doc/sphinx/02_amg/roci_2_320.csv | 7 +++++++ doc/sphinx/02_amg/roci_mem.csv | 4 ++++ 7 files changed, 46 insertions(+) create mode 100644 doc/sphinx/02_amg/roci_1_120.csv create mode 100644 doc/sphinx/02_amg/roci_1_160.csv create mode 100644 doc/sphinx/02_amg/roci_1_200.csv create mode 100644 doc/sphinx/02_amg/roci_2_200.csv create mode 100644 doc/sphinx/02_amg/roci_2_256.csv create mode 100644 doc/sphinx/02_amg/roci_2_320.csv create mode 100644 doc/sphinx/02_amg/roci_mem.csv diff --git a/doc/sphinx/02_amg/roci_1_120.csv b/doc/sphinx/02_amg/roci_1_120.csv new file mode 100644 index 00000000..06fb8a05 --- /dev/null +++ b/doc/sphinx/02_amg/roci_1_120.csv @@ -0,0 +1,7 @@ +1,1.5252E+08,1.5252E+08 +2,3.0361E+08,1.5181E+08 +4,5.4734E+08,1.3683E+08 +8,1.0658E+09,1.3323E+08 +16,2.0484E+09,1.2802E+08 +32,2.8732E+09,8.9788E+07 +64,4.4071E+09,6.8861E+07 diff --git a/doc/sphinx/02_amg/roci_1_160.csv b/doc/sphinx/02_amg/roci_1_160.csv new file mode 100644 index 00000000..f43d8890 --- /dev/null +++ b/doc/sphinx/02_amg/roci_1_160.csv @@ -0,0 +1,7 @@ +1,1.4895E+08,1.4895E+08 +2,2.9440E+08,1.4720E+08 +4,5.8065E+08,1.4516E+08 +8,1.0599E+09,1.3249E+08 +16,2.0127E+09,1.2579E+08 +32,2.7727E+09,8.6648E+07 +64,4.5317E+09,7.0807E+07 diff --git a/doc/sphinx/02_amg/roci_1_200.csv b/doc/sphinx/02_amg/roci_1_200.csv new file mode 100644 index 00000000..4c376ac3 --- /dev/null +++ b/doc/sphinx/02_amg/roci_1_200.csv @@ -0,0 +1,7 @@ +1,1.4942E+08,1.4942E+08 +2,2.9177E+08,1.4589E+08 +4,5.2627E+08,1.3157E+08 +8,1.0357E+09,1.2947E+08 +16,1.9928E+09,1.2455E+08 +32,2.6975E+09,8.4295E+07 +64,4.3845E+09,6.8508E+07 diff --git a/doc/sphinx/02_amg/roci_2_200.csv b/doc/sphinx/02_amg/roci_2_200.csv new file mode 100644 index 00000000..18d08a3c --- /dev/null +++ b/doc/sphinx/02_amg/roci_2_200.csv @@ -0,0 +1,7 @@ +1,1.1020E+08,1.1020E+08 +2,2.0493E+08,1.0247E+08 +4,3.8499E+08,9.6247E+07 +8,7.9992E+08,9.9990E+07 +16,1.2667E+09,7.9166E+07 +32,1.7586E+09,5.4957E+07 +64,2.9247E+09,4.5699E+07 diff --git a/doc/sphinx/02_amg/roci_2_256.csv b/doc/sphinx/02_amg/roci_2_256.csv new file mode 100644 index 00000000..c0aaa82f --- /dev/null +++ b/doc/sphinx/02_amg/roci_2_256.csv @@ -0,0 +1,7 @@ +1,1.0864E+08,1.0864E+08 +2,1.9807E+08,9.9037E+07 +4,3.7525E+08,9.3811E+07 +8,7.3751E+08,9.2189E+07 +16,1.3348E+09,8.3423E+07 +32,1.7869E+09,5.5841E+07 +64,2.8334E+09,4.4272E+07 diff --git a/doc/sphinx/02_amg/roci_2_320.csv b/doc/sphinx/02_amg/roci_2_320.csv new file mode 100644 index 00000000..5e79335a --- /dev/null +++ b/doc/sphinx/02_amg/roci_2_320.csv @@ -0,0 +1,7 @@ +1,1.0890E+08,1.0890E+08 +2,1.8653E+08,9.3265E+07 +4,3.6953E+08,9.2381E+07 +8,7.2172E+08,9.0215E+07 +16,1.3751E+09,8.5945E+07 +32,1.7869E+09,5.5841E+07 +64,2.8376E+09,4.4337E+07 diff --git a/doc/sphinx/02_amg/roci_mem.csv b/doc/sphinx/02_amg/roci_mem.csv new file mode 100644 index 00000000..2bb873af --- /dev/null +++ b/doc/sphinx/02_amg/roci_mem.csv @@ -0,0 +1,4 @@ +10,1.5369E+08,1.0889E+08 +20,1.5131E+08,1.0946E+08 +30,1.5042E+08,1.0966E+08 +40,1.4981E+08,1.0937E+08 From a69bdf365bd49ccd06749f47d4903f1030661fa8 Mon Sep 17 00:00:00 2001 From: ulrikeyang Date: Wed, 27 Sep 2023 16:37:16 -0700 Subject: [PATCH 3/4] revised text and added data --- doc/sphinx/02_amg/amg.rst | 263 +++---------------------------- doc/sphinx/02_amg/cpu.gp | 43 +---- doc/sphinx/02_amg/cpu1_120.csv | 8 - doc/sphinx/02_amg/cpu1_160.csv | 8 - doc/sphinx/02_amg/cpu1_200.csv | 8 - doc/sphinx/02_amg/cpu2_200.csv | 8 - doc/sphinx/02_amg/cpu2_256.csv | 8 - doc/sphinx/02_amg/cpu2_320.csv | 8 - doc/sphinx/02_amg/roci_1_120.csv | 13 +- doc/sphinx/02_amg/roci_1_160.csv | 13 +- doc/sphinx/02_amg/roci_1_200.csv | 13 +- doc/sphinx/02_amg/roci_2_200.csv | 13 +- doc/sphinx/02_amg/roci_2_256.csv | 13 +- doc/sphinx/02_amg/roci_2_320.csv | 13 +- doc/sphinx/02_amg/roci_mem.csv | 1 + 15 files changed, 71 insertions(+), 362 deletions(-) delete mode 100644 doc/sphinx/02_amg/cpu1_120.csv delete mode 100644 doc/sphinx/02_amg/cpu1_160.csv delete mode 100644 doc/sphinx/02_amg/cpu1_200.csv delete mode 100644 doc/sphinx/02_amg/cpu2_200.csv delete mode 100644 doc/sphinx/02_amg/cpu2_256.csv delete mode 100644 doc/sphinx/02_amg/cpu2_320.csv diff --git a/doc/sphinx/02_amg/amg.rst b/doc/sphinx/02_amg/amg.rst index 91859a01..a96b74ed 100644 --- a/doc/sphinx/02_amg/amg.rst +++ b/doc/sphinx/02_amg/amg.rst @@ -208,154 +208,22 @@ The second figure provides memory use on 1 node of CTS-1 (Quartz) using 4 MPI ta Approximate memory use for Problems 1 and 2 on CTS-1 -Suggested Test Runs -=================== -We present several strong scaling runs for CPUs that were performed on RZWhippet. - -For Problem 1, we chose a total grid size of 160 x 160 x 160. We generated the results in the first four columns of the table below using an MPI-only configuration of hypre v2.27.0 via - -``srun -n amg -P

-n -problem 1`` - -The results in the last three columns were achieved using an MPI/OpenMP configuration of hypre v2.27.0 via - -``configure --with-openmp --enable-hopscotch`` - -The actual run was performed with varying numbers of OpenMP threads: - -``srun -n 1 amg -P 1 1 1 -n 160 160 160 -problem 1``. - -.. table:: Strong scaling on RZWhippet for Problem 1 - - +-----------+--------------+------------+------------+---------+------------+------------+ - | P x Q x R | nx x ny x nz | setup time | solve time | threads | setup time | solve time | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 1 x 1 x 1 | 160x160x160 | 14.92 | 13.85 | 1 | 15.29 | 13.35 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 2 x 1 x 1 | 80x160x160 | 10.83 | 6.96 | 2 | 8.21 | 7.08 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 2 x 2 x 1 | 80x 80x160 | 5.48 | 3.45 | 4 | 4.33 | 3.72 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 2 x 2 x 2 | 80x 80x 80 | 2.61 | 1.73 | 8 | 2.36 | 2.05 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 4 x 2 x 2 | 40x 80x 80 | 1.35 | 0.95 | 16 | 1.44 | 1.30 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 4 x 4 x 2 | 40x 40x 80 | 0.70 | 0.56 | 32 | 1.02 | 0.97 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 4 x 4 x 4 | 40x 40x 40 | 0.38 | 0.41 | 64 | 0.89 | 0.85 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | | | | | 128 | 1.13 | 0.91 | - +-----------+--------------+------------+------------+---------+------------+------------+ - - -The following table contains the FOMs for the runs above: - -.. table:: Total FOMs for Problem 1 with a total grid size of 160 x 160 x 160 on RZWhippet - - +---------+-----------------------------------+-----------------------------------+ - | | MPI | OpenMP | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | np/nthr | FOM | FOM_setup | FOM_solve | FOM | FOM_setup | FOM_solve | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 1 | 1.548E+08 | 1.512E+07 | 3.095E+08 | 1.605E+08 | 1.475E+07 | 3.210E+08 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 2 | 3.080E+08 | 2.084E+07 | 6.160E+08 | 3.026E+08 | 2.746E+07 | 6.052E+08 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 4 | 6.215E+08 | 4.117E+07 | 1.243E+09 | 5.754E+08 | 5.213E+07 | 1.151E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 8 | 1.236E+09 | 8.630E+07 | 2.472E+09 | 1.044E+09 | 9.574E+07 | 2.088E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 16 | 2.263E+09 | 1.665E+08 | 4.526E+09 | 1.654E+09 | 1.562E+08 | 3.307E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 32 | 3.850E+09 | 3.241E+08 | 7.699E+09 | 2.203E+09 | 2.222E+08 | 4.406E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 64 | 5.253E+09 | 5.992E+09 | 1.051E+10 | 2.531E+09 | 2.545E+08 | 5.061E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 128 | | | | 2.348E+09 | 1.994E+08 | 4.696E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - - -.. figure:: plots/CPU-FOM-1.png - :alt: Total FOMs for Problem 1 on RZWhippet using MPI or OpenMP. - :align: center - - Total FOMs for Problem 1 on RZWhippet using MPI or OpenMP. - -We performed a similar test for Problem 2 using a total grid size of 256 x 256 x 256. - -.. table:: Strong scaling on RZWhippet for Problem 2 - - +-----------+--------------+------------+------------+---------+------------+------------+ - | P x Q x R | nx x ny x nz | setup time | solve time | threads | setup time | solve time | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 1 x 1 x 1 | 256x256x256 | 18.67 | 29.72 | 1 | 19.80 | 30.26 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 2 x 1 x 1 | 128x256x256 | 12.11 | 17.51 | 2 | 11.21 | 18.00 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 2 x 2 x 1 | 128x128x256 | 6.26 | 8.68 | 4 | 6.59 | 9.49 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 2 x 2 x 2 | 128x128x128 | 3.00 | 3.92 | 8 | 4.20 | 5.93 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 4 x 2 x 2 | 64x128x128 | 1.54 | 2.14 | 16 | 3.26 | 4.41 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 4 x 4 x 2 | 64x 64x128 | 0.78 | 1.35 | 32 | 3.12 | 3.88 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | 4 x 4 x 4 | 64x 64x 64 | 0.43 | 1.04 | 64 | 3.84 | 3.66 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | | | | | 96 | 4.69 | 3.59 | - +-----------+--------------+------------+------------+---------+------------+------------+ - | | | | | 120 | 5.68 | 4.18 | - +-----------+--------------+------------+------------+---------+------------+------------+ - - -.. table:: Total FOMs for Problem 2 with a total grid size of 256 x 256 x 256 on RZWhippet - - +---------+-----------------------------------+-----------------------------------+ - | | MPI | OpenMP | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | np/nthr | FOM | FOM_setup | FOM_solve | FOM | FOM_setup | FOM_solve | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 1 | 1.114E+08 | 9.968E+06 | 2.129E+08 | 1.093E+08 | 9.400E+06 | 2.091E+08 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 2 | 1.884E+08 | 1.537E+07 | 3.614E+08 | 1.841E+08 | 1.660E+07 | 3.516E+08 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 4 | 3.793E+08 | 2.973E+07 | 7.289E+08 | 3.477E+08 | 2.826E+07 | 6.671E+08 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 8 | 8.382E+08 | 6.197E+07 | 1.614E+09 | 5.553E+08 | 4.430E+07 | 1.066E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 16 | 1.537E+09 | 1.206E+08 | 2.954E+09 | 7.466E+08 | 5.712E+07 | 1.436E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 32 | 2.468E+09 | 2.396E+08 | 4.696E+09 | 8.457E+08 | 5.971E+07 | 1.632E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 64 | 3.268E+09 | 4.321E+08 | 6.105E+09 | 8.881E+08 | 4.842E+07 | 1.728E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 96 | | | | 9.003E+08 | 3.965E+07 | 1.761E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - | 120 | | | | 7.733E+08 | 3.280E+07 | 1.514E+09 | - +---------+-----------+-----------+-----------+-----------+-----------+-----------+ - -.. figure:: plots/CPU-FOM-2.png - :alt: FOMs for Problem 2 on RZWhippet using MPI or OpenMP. - :align: center - - FOMs for Problem 2 on RZWhippet using MPI or OpenMP. - - -Strong Scaling on RZWhippet +Strong Scaling on Crossroads --------------------------- -We present strong scaling results for varying problem sizes on RZWhippet below. The code was configured and compiled using MPI only with optimization -O2. +We present strong scaling results for varying problem sizes on Crossroads with HBM below. The code was configured and compiled using hypre v2.29.0 with MPI only and optimization -O2. Strong scaling results of AMG2023 for problem 1 on a grid size of 120 x 120 x 120 are provided in the following table and figure. .. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120 - :file: cpu1_120.csv + :file: roci_1_120.csv :align: center :widths: 10, 10, 10 :header-rows: 1 -.. figure:: cpu1_120.png +.. figure:: roci_1_120.png :align: center :scale: 50% :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120 @@ -366,13 +234,13 @@ Strong scaling results of AMG2023 for problem 1 on a grid size of 120 x 120 x 12 Strong scaling results of AMG2023 for problem 1 on a grid size of 160 x 160 x 160 are provided in the following table and figure. .. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160 - :file: cpu1_160.csv + :file: roci_1_160.csv :align: center :widths: 10, 10, 10 :header-rows: 1 -.. figure:: cpu1_160.png +.. figure:: roci_1_160.png :align: center :scale: 50% :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160 @@ -383,13 +251,13 @@ Strong scaling results of AMG2023 for problem 1 on a grid size of 160 x 160 x 16 Strong scaling results of AMG2023 for problem 1 on a grid size of 200 x 200 x 200 are provided in the following table and figure. .. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200 - :file: cpu1_200.csv + :file: roci_1_200.csv :align: center :widths: 10, 10, 10 :header-rows: 1 -.. figure:: cpu1_200.png +.. figure:: roci_1_200.png :align: center :scale: 50% :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200 @@ -400,13 +268,13 @@ Strong scaling results of AMG2023 for problem 1 on a grid size of 200 x 200 x 20 Strong scaling results of AMG2023 for problem 2 on a grid size of 200 x 200 x 200 are provided in the following table and figure. .. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200 - :file: cpu2_200.csv + :file: roci_2_200.csv :align: center :widths: 10, 10, 10 :header-rows: 1 -.. figure:: cpu2_200.png +.. figure:: roci_2_200.png :align: center :scale: 50% :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200 @@ -417,13 +285,13 @@ Strong scaling results of AMG2023 for problem 2 on a grid size of 200 x 200 x 20 Strong scaling results of AMG2023 for problem 2 on a grid size of 256 x 256 x 256 are provided in the following table and figure. .. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256 - :file: cpu2_256.csv + :file: roci_2_256.csv :align: center :widths: 10, 10, 10 :header-rows: 1 -.. figure:: cpu2_256.png +.. figure:: roci_2_256.png :align: center :scale: 50% :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256 @@ -434,124 +302,34 @@ Strong scaling results of AMG2023 for problem 2 on a grid size of 256 x 256 x 25 Strong scaling results of AMG2023 for problem 2 on a grid size of 320 x 320 x 320 are provided in the following table and figure. .. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320 - :file: cpu2_320.csv + :file: roci_2_320.csv :align: center :widths: 10, 10, 10 :header-rows: 1 -.. figure:: cpu2_320.png +.. figure:: roci_2_320.png :align: center :scale: 50% :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320 AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320 -Strong Scaling on Rocinante ---------------------------- - -We present strong scaling results for varying problem sizes on Rocinante with HBM below. The code was configured and compiled using hypre v2.29.0 with MPI only and optimization -O2. - -Strong scaling results of AMG2023 for problem 1 on a grid size of 120 x 120 x 120 are provided in the following table and figure. - -.. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120, Roci - :file: roci_1_120.csv - :align: center - :widths: 10, 10, 10 - :header-rows: 1 - - -.. figure:: roci_1_120.png - :align: center - :scale: 50% - :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120, Roci - - AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 120 x 120 x 120, Roci - - -Strong scaling results of AMG2023 for problem 1 on a grid size of 160 x 160 x 160 are provided in the following table and figure. - -.. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160, Roci - :file: roci_1_160.csv - :align: center - :widths: 10, 10, 10 - :header-rows: 1 - - -.. figure:: roci_1_160.png - :align: center - :scale: 50% - :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160, Roci - - AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 160 x 160 x 160, Roci - - -Strong scaling results of AMG2023 for problem 1 on a grid size of 200 x 200 x 200 are provided in the following table and figure. - -.. csv-table:: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200, Roci - :file: roci_1_200.csv - :align: center - :widths: 10, 10, 10 - :header-rows: 1 - - -.. figure:: roci_1_200.png - :align: center - :scale: 50% - :alt: AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200, Roci - - AMG2023 Strong Scaling for Problem 1 (27-pt, AMG-GMRES) on a grid of size 200 x 200 x 200, Roci - - -Strong scaling results of AMG2023 for problem 2 on a grid size of 200 x 200 x 200 are provided in the following table and figure. - -.. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200, Roci - :file: roci_2_200.csv - :align: center - :widths: 10, 10, 10 - :header-rows: 1 - - -.. figure:: roci_2_200.png - :align: center - :scale: 50% - :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200, Roci - - AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 200 x 200 x 200, Roci - +Approximate results of the FOM for varying memory usages on Crossroads are provided in the following table and figure. Note that the actual size in GB is only an estimate. -Strong scaling results of AMG2023 for problem 2 on a grid size of 256 x 256 x 256 are provided in the following table and figure. - -.. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256, Roci - :file: roci_2_256.csv +.. csv-table:: Varying memory usage for Problem 1 and 2 + :file: roci_mem.csv :align: center :widths: 10, 10, 10 :header-rows: 1 -.. figure:: roci_2_256.png +.. figure:: roci_mem.png :align: center :scale: 50% - :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256, Roci - - AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 256 x 256 x 256, Roci + :alt: Varying memory usage (estimate) for Problem 1 and 2 - -Strong scaling results of AMG2023 for problem 2 on a grid size of 320 x 320 x 320 are provided in the following table and figure. - -.. csv-table:: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320, Roci - :file: roci_2_320.csv - :align: center - :widths: 10, 10, 10 - :header-rows: 1 - - -.. figure:: roci_2_320.png - :align: center - :scale: 50% - :alt: AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320, Roci - - AMG2023 Strong Scaling for Problem 2 (7-pt, AMG-PCG) on a grid of size 320 x 320 x 320, Roci + Varying memory usage (estimated) for Problem 1 and 2 @@ -716,3 +494,4 @@ Rui Peng Li, Bjorn Sjogreen, Ulrike Yang, "A New Class of AMG Interpolation Meth Rob Falgout, Rui Peng Li, Bjorn Sjogreen, Lu Wang, Ulrike Yang, "Porting hypre to Heterogeneous Computer Architectures: Strategies and Experiences", Parallel Computing, 108, (2021), a. 102840 + diff --git a/doc/sphinx/02_amg/cpu.gp b/doc/sphinx/02_amg/cpu.gp index 1fcce2b6..ae0aa1df 100644 --- a/doc/sphinx/02_amg/cpu.gp +++ b/doc/sphinx/02_amg/cpu.gp @@ -1,8 +1,8 @@ #!/usr/bin/gnuplot set terminal pngcairo enhanced size 1024, 768 dashed font 'Helvetica,18' -set output "cpu1_120.png" +set output "roci_1_120.png" -#set title "AMG2023 Strong Scaling for Problem 1, 120 x 120 x 120" font "serif,22" +set title "AMG2023 Strong Scaling for Problem 1, 120 x 120 x 120" font "serif,22" set xlabel "n" set ylabel "FOM" @@ -20,55 +20,26 @@ set key autotitle columnheader set style line 1 linetype 6 dashtype 1 linecolor rgb "#FF0000" linewidth 2 pointtype 6 pointsize 3 set style line 2 linetype 1 dashtype 2 linecolor rgb "#FF0000" linewidth 2 -set style line 3 linetype 1 dashtype 1 linecolor rgb "#0000FF" linewidth 2 pointtype 6 pointsize 3 -plot "cpu1_120.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 - -set output "cpu1_160.png" -set title "AMG2023 Strong Scaling for Problem 1, 160 x 160 x 160" font "serif,22" -plot "cpu1_160.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 - -set output "cpu1_200.png" -set title "AMG2023 Strong Scaling for Problem 1, 200 x 200 x 200" font "serif,22" -plot "cpu1_200.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 - -set output "cpu2_200.png" -set title "AMG2023 Strong Scaling for Problem 2, 200 x 200 x 200" font "serif,22" -plot "cpu2_200.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 - -set output "cpu2_256.png" -set title "AMG2023 Strong Scaling for Problem 2, 256 x 256 x 256" font "serif,22" -plot "cpu2_256.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 - -set output "cpu2_320.png" -set title "AMG2023 Strong Scaling for Problem 2, 320 x 320 x 320" font "serif,22" -plot "cpu2_320.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 - -set output "roci_1_160.png" -set title "AMG2023 Strong Scaling for Problem 1, 160 x 160 x 160, Roci" font "serif,22" plot "roci_1_120.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 set output "roci_1_160.png" -set title "AMG2023 Strong Scaling for Problem 1, 160 x 160 x 160, Roci" font "serif,22" +set title "AMG2023 Strong Scaling for Problem 1, 160 x 160 x 160" font "serif,22" plot "roci_1_160.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 set output "roci_1_200.png" -set title "AMG2023 Strong Scaling for Problem 1, 200 x 200 x 200, Roci" font "serif,22" +set title "AMG2023 Strong Scaling for Problem 1, 200 x 200 x 200" font "serif,22" plot "roci_1_200.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 set output "roci_2_200.png" -set title "AMG2023 Strong Scaling for Problem 2, 200 x 200 x 200, Roci" font "serif,22" +set title "AMG2023 Strong Scaling for Problem 2, 200 x 200 x 200" font "serif,22" plot "roci_2_200.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 set output "roci_2_256.png" -set title "AMG2023 Strong Scaling for Problem 2, 256 x 256 x 256, Roci" font "serif,22" +set title "AMG2023 Strong Scaling for Problem 2, 256 x 256 x 256" font "serif,22" plot "roci_2_256.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 set output "roci_2_320.png" -set title "AMG2023 Strong Scaling for Problem 2, 320 x 320 x 320, Roci" font "serif,22" +set title "AMG2023 Strong Scaling for Problem 2, 320 x 320 x 320" font "serif,22" plot "roci_2_320.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 2 -set output "roci_mem.png" -set title "AMG2023 FOM at varying memory usage, Problem 1 and 2, Roci" font "serif,22" -plot "roci_mem.csv" using 1:2 with linespoints linestyle 1, "" using 1:3 with line linestyle 3 - diff --git a/doc/sphinx/02_amg/cpu1_120.csv b/doc/sphinx/02_amg/cpu1_120.csv deleted file mode 100644 index eae8d240..00000000 --- a/doc/sphinx/02_amg/cpu1_120.csv +++ /dev/null @@ -1,8 +0,0 @@ -No. Cores,Actual,Ideal -1,1.5764E+08,1.5764E+08 -2,3.2136E+08,3.1528E+08 -4,6.2737E+08,6.4271E+08 -8,1.2594E+09,1.2547E+09 -16,2.4238E+09,2.5187E+09 -32,3.9883E+09,4.8476E+09 -64,5.2592E+09,7.9766E+09 diff --git a/doc/sphinx/02_amg/cpu1_160.csv b/doc/sphinx/02_amg/cpu1_160.csv deleted file mode 100644 index eae8d240..00000000 --- a/doc/sphinx/02_amg/cpu1_160.csv +++ /dev/null @@ -1,8 +0,0 @@ -No. Cores,Actual,Ideal -1,1.5764E+08,1.5764E+08 -2,3.2136E+08,3.1528E+08 -4,6.2737E+08,6.4271E+08 -8,1.2594E+09,1.2547E+09 -16,2.4238E+09,2.5187E+09 -32,3.9883E+09,4.8476E+09 -64,5.2592E+09,7.9766E+09 diff --git a/doc/sphinx/02_amg/cpu1_200.csv b/doc/sphinx/02_amg/cpu1_200.csv deleted file mode 100644 index cb000c38..00000000 --- a/doc/sphinx/02_amg/cpu1_200.csv +++ /dev/null @@ -1,8 +0,0 @@ -No. Cores,Actual,Ideal -1,1.5439E+08,1.5439E+08 -2,3.0928E+08,3.0878E+08 -4,6.1186E+08,6.1856E+08 -8,1.2332E+09,1.2237E+09 -16,2.2558E+09,2.4664E+09 -32,3.8587E+09,4.5116E+09 -64,5.2102E+09,7.7173E+09 diff --git a/doc/sphinx/02_amg/cpu2_200.csv b/doc/sphinx/02_amg/cpu2_200.csv deleted file mode 100644 index 07fdd82c..00000000 --- a/doc/sphinx/02_amg/cpu2_200.csv +++ /dev/null @@ -1,8 +0,0 @@ -No. Cores,Actual,Ideal -1,1.1229E+08,1.1229E+08 -2,2.0458E+08,2.2458E+08 -4,4.3591E+08,4.0917E+08 -8,9.1165E+08,8.7182E+08 -16,1.6374E+09,1.8233E+09 -32,2.7721E+09,3.2748E+09 -64,3.7537E+09,5.5442E+09 diff --git a/doc/sphinx/02_amg/cpu2_256.csv b/doc/sphinx/02_amg/cpu2_256.csv deleted file mode 100644 index 82bd2cf1..00000000 --- a/doc/sphinx/02_amg/cpu2_256.csv +++ /dev/null @@ -1,8 +0,0 @@ -No. Cores,Actual,Ideal -1,1.1144E+08,1.1144E+08 -2,1.9767E+08,2.2289E+08 -4,4.0378E+08,3.9533E+08 -8,8.3823E+08,8.0755E+08 -16,1.5375E+09,1.6765E+09 -32,2.4677E+09,3.0749E+09 -64,3.2685E+09,4.9354E+09 diff --git a/doc/sphinx/02_amg/cpu2_320.csv b/doc/sphinx/02_amg/cpu2_320.csv deleted file mode 100644 index 359f7ee0..00000000 --- a/doc/sphinx/02_amg/cpu2_320.csv +++ /dev/null @@ -1,8 +0,0 @@ -No. Cores,Actual,Ideal -1,1.1023E+08,1.1023E+08 -2,1.9868E+08,2.2046E+08 -4,3.9730E+08,3.9735E+08 -8,8.2027E+08,7.9461E+08 -16,1.4852E+09,1.6405E+09 -32,2.3581E+09,2.9703E+09 -64,3.0068E+09,4.7162E+09 diff --git a/doc/sphinx/02_amg/roci_1_120.csv b/doc/sphinx/02_amg/roci_1_120.csv index 06fb8a05..cacc080b 100644 --- a/doc/sphinx/02_amg/roci_1_120.csv +++ b/doc/sphinx/02_amg/roci_1_120.csv @@ -1,7 +1,8 @@ +No. cores,Actual,Ideal 1,1.5252E+08,1.5252E+08 -2,3.0361E+08,1.5181E+08 -4,5.4734E+08,1.3683E+08 -8,1.0658E+09,1.3323E+08 -16,2.0484E+09,1.2802E+08 -32,2.8732E+09,8.9788E+07 -64,4.4071E+09,6.8861E+07 +2,3.0361E+08,3.0504E+08 +4,5.4734E+08,6.1008E+08 +8,1.0658E+09,1.2202E+09 +16,2.0484E+09,2.4403E+09 +32,2.8732E+09,4.8806E+09 +64,4.4071E+09,9.7613E+09 diff --git a/doc/sphinx/02_amg/roci_1_160.csv b/doc/sphinx/02_amg/roci_1_160.csv index f43d8890..1f94706e 100644 --- a/doc/sphinx/02_amg/roci_1_160.csv +++ b/doc/sphinx/02_amg/roci_1_160.csv @@ -1,7 +1,8 @@ +No. cores,Actual,Ideal 1,1.4895E+08,1.4895E+08 -2,2.9440E+08,1.4720E+08 -4,5.8065E+08,1.4516E+08 -8,1.0599E+09,1.3249E+08 -16,2.0127E+09,1.2579E+08 -32,2.7727E+09,8.6648E+07 -64,4.5317E+09,7.0807E+07 +2,2.9440E+08,2.9790E+08 +4,5.8065E+08,5.9580E+08 +8,1.0599E+09,1.1916E+09 +16,2.0127E+09,2.3832E+09 +32,2.7727E+09,4.7664E+09 +64,4.5317E+09,9.5328E+09 diff --git a/doc/sphinx/02_amg/roci_1_200.csv b/doc/sphinx/02_amg/roci_1_200.csv index 4c376ac3..6e0a9737 100644 --- a/doc/sphinx/02_amg/roci_1_200.csv +++ b/doc/sphinx/02_amg/roci_1_200.csv @@ -1,7 +1,8 @@ +No. cores,Actual,Ideal 1,1.4942E+08,1.4942E+08 -2,2.9177E+08,1.4589E+08 -4,5.2627E+08,1.3157E+08 -8,1.0357E+09,1.2947E+08 -16,1.9928E+09,1.2455E+08 -32,2.6975E+09,8.4295E+07 -64,4.3845E+09,6.8508E+07 +2,2.9177E+08,2.9884E+08 +4,5.2627E+08,5.9768E+08 +8,1.0357E+09,1.1954E+09 +16,1.9928E+09,2.3907E+09 +32,2.6975E+09,4.7814E+09 +64,4.3845E+09,9.5629E+09 diff --git a/doc/sphinx/02_amg/roci_2_200.csv b/doc/sphinx/02_amg/roci_2_200.csv index 18d08a3c..580df8f3 100644 --- a/doc/sphinx/02_amg/roci_2_200.csv +++ b/doc/sphinx/02_amg/roci_2_200.csv @@ -1,7 +1,8 @@ +No. cores,Actual,Ideal 1,1.1020E+08,1.1020E+08 -2,2.0493E+08,1.0247E+08 -4,3.8499E+08,9.6247E+07 -8,7.9992E+08,9.9990E+07 -16,1.2667E+09,7.9166E+07 -32,1.7586E+09,5.4957E+07 -64,2.9247E+09,4.5699E+07 +2,2.0493E+08,2.2040E+08 +4,3.8499E+08,4.4080E+08 +8,7.9992E+08,8.8160E+08 +16,1.2667E+09,1.7632E+09 +32,1.7586E+09,3.5264E+09 +64,2.9247E+09,7.0528E+09 diff --git a/doc/sphinx/02_amg/roci_2_256.csv b/doc/sphinx/02_amg/roci_2_256.csv index c0aaa82f..16a84e25 100644 --- a/doc/sphinx/02_amg/roci_2_256.csv +++ b/doc/sphinx/02_amg/roci_2_256.csv @@ -1,7 +1,8 @@ +No. cores,Actual,Ideal 1,1.0864E+08,1.0864E+08 -2,1.9807E+08,9.9037E+07 -4,3.7525E+08,9.3811E+07 -8,7.3751E+08,9.2189E+07 -16,1.3348E+09,8.3423E+07 -32,1.7869E+09,5.5841E+07 -64,2.8334E+09,4.4272E+07 +2,1.9807E+08,2.1728E+08 +4,3.7525E+08,4.3456E+08 +8,7.3751E+08,8.6912E+08 +16,1.3348E+09,1.7382E+09 +32,1.7869E+09,3.4765E+09 +64,2.8334E+09,6.9530E+09 diff --git a/doc/sphinx/02_amg/roci_2_320.csv b/doc/sphinx/02_amg/roci_2_320.csv index 5e79335a..18cb7a26 100644 --- a/doc/sphinx/02_amg/roci_2_320.csv +++ b/doc/sphinx/02_amg/roci_2_320.csv @@ -1,7 +1,8 @@ +No. cores,Actual,Ideal 1,1.0890E+08,1.0890E+08 -2,1.8653E+08,9.3265E+07 -4,3.6953E+08,9.2381E+07 -8,7.2172E+08,9.0215E+07 -16,1.3751E+09,8.5945E+07 -32,1.7869E+09,5.5841E+07 -64,2.8376E+09,4.4337E+07 +2,1.8653E+08,2.1780E+08 +4,3.6953E+08,4.3560E+08 +8,7.2172E+08,8.7120E+08 +16,1.3751E+09,1.7424E+09 +32,1.7869E+09,3.4848E+09 +64,2.8376E+09,6.9696E+09 diff --git a/doc/sphinx/02_amg/roci_mem.csv b/doc/sphinx/02_amg/roci_mem.csv index 2bb873af..3f71d9f6 100644 --- a/doc/sphinx/02_amg/roci_mem.csv +++ b/doc/sphinx/02_amg/roci_mem.csv @@ -1,3 +1,4 @@ +GB,Problem 1,Problem 2 10,1.5369E+08,1.0889E+08 20,1.5131E+08,1.0946E+08 30,1.5042E+08,1.0966E+08 From b7187f94259c39e9ee89c4b661799d3af3a1e091 Mon Sep 17 00:00:00 2001 From: ulrikeyang Date: Wed, 27 Sep 2023 16:40:31 -0700 Subject: [PATCH 4/4] gnuplot file` --- doc/sphinx/02_amg/mem.gp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/sphinx/02_amg/mem.gp diff --git a/doc/sphinx/02_amg/mem.gp b/doc/sphinx/02_amg/mem.gp new file mode 100644 index 00000000..41d016a4 --- /dev/null +++ b/doc/sphinx/02_amg/mem.gp @@ -0,0 +1,22 @@ +#!/usr/bin/gnuplot +set terminal pngcairo enhanced size 1024, 768 dashed font 'Helvetica,18' +set output "roci_mem.png" + +set title "AMG2023 FOM at varying memory usage, Problem 1 and 2" font "serif,22" +set xlabel "GB" +set ylabel "FOM" + +set xrange [10:40] +set key left top + +set yrange [1.05e+8: 1.75e+8] +set grid +show grid + +set datafile separator comma +set key autotitle columnheader + +set style line 1 linetype 6 dashtype 1 linecolor rgb "#FF0000" linewidth 2 pointtype 6 pointsize 3 +set style line 2 linetype 6 dashtype 1 linecolor rgb "#0000FF" linewidth 2 pointtype 6 pointsize 3 + +plot "roci_mem.csv" using 1:2 with linespoints linestyle 1, "roci_mem.csv" using 1:3 with linespoints linestyle 2