Skip to content

Commit

Permalink
Update README and results
Browse files Browse the repository at this point in the history
  • Loading branch information
gha3mi committed Jan 7, 2024
1 parent 9a86d27 commit 5cc9657
Show file tree
Hide file tree
Showing 27 changed files with 365 additions and 365 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@ cd forbenchmark
For non-coarray benchmarking:

```shell
fpm run --example demo
fpm run --example demo --profile release
```

For coarray programs benchmarking using the Intel Fortran compiler:

```shell
fpm run --example demo --compiler ifx --flag "-coarray -coarray-num-images=4 -DUSE_COARRAY"
fpm run --example demo --profile release --compiler ifx --flag "-coarray -coarray-num-images=4 -DUSE_COARRAY"
```

```shell
fpm run --example demo --compiler ifort --flag "-coarray -coarray-num-images=4 -DUSE_COARRAY"
fpm run --example demo --profile release --compiler ifort --flag "-coarray -coarray-num-images=4 -DUSE_COARRAY"
```

After execution, the results will be displayed in the terminal and stored in the 'results' folder. See `results/demo.data`, `results/demo_im1.data` for instance.
Expand Down
20 changes: 10 additions & 10 deletions results/demo.data
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ ForBenchmark - https://github.com/gha3mi/forbenchmark
-----------------------------------------------------

Demo Benchmark
2024. 1. 7 - 13:14:11
2024. 1. 7 - 15:20:30

compiler_version: GCC version 13.2.0
compiler_options: -cpp -I build/gfortran_6E2E351FB09955DB -imultiarch x86_64-linux-gnu -mtune=generic -march=x86-64 -g -Wall -Wextra -Werror=implicit-interface -fPIC -fmax-errors=1 -fbounds-check -fcheck=array-temps -fbacktrace -fcoarray=single -fimplicit-none -ffree-form -J build/gfortran_6E2E351FB09955DB -fpre-include=/usr/include/finclude/math-vector-fortran.h
compiler_options: -cpp -I build/gfortran_E6DC3E3648A72142 -imultiarch x86_64-linux-gnu -mtune=generic -march=x86-64 -O3 -Wimplicit-interface -Werror=implicit-interface -funroll-loops -fPIC -fmax-errors=1 -fcoarray=single -fimplicit-none -ffree-form -J build/gfortran_E6DC3E3648A72142 -fpre-include=/usr/include/finclude/math-vector-fortran.h


METHOD | SPEEDUP | TIME | GFLOPS | NLOOPS | ARGI
m1 1.000000 0.25000000000000E-02 0.10800000000000E+02 2 300 300 300
m2 78.000000 0.19500000000000E+00 0.13846153846154E+00 2 300 300 300
m1 1.000000 0.50000000000000E-02 0.12800000000000E+02 2 400 400 400
m2 91.300000 0.45650000000000E+00 0.14019715224535E+00 2 400 400 400
m1 1.000000 0.10500000000000E-01 0.11904761904762E+02 2 500 500 500
m2 85.904762 0.90200000000000E+00 0.13858093126386E+00 2 500 500 500
m1 1.000000 0.23000000000000E-01 0.93913043478261E+01 2 600 600 600
m2 68.934783 0.15855000000000E+01 0.13623462630085E+00 2 600 600 600
m1 1.000000 0.22000000000000E-01 0.98181818181818E+01 2 600 600 600
m2 8.409091 0.18500000000000E+00 0.11675675675676E+01 2 600 600 600
m1 1.000000 0.35000000000000E-01 0.98000000000000E+01 2 700 700 700
m2 8.942857 0.31300000000000E+00 0.10958466453674E+01 2 700 700 700
m1 1.000000 0.43500000000000E-01 0.11770114942529E+02 2 800 800 800
m2 10.850575 0.47200000000000E+00 0.10847457627119E+01 2 800 800 800
m1 1.000000 0.61000000000000E-01 0.11950819672131E+02 2 900 900 900
m2 10.573770 0.64500000000000E+00 0.11302325581395E+01 2 900 900 900
end of benchmark
104 changes: 52 additions & 52 deletions results/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,90 +41,90 @@ <h2>Demo Benchmark</h2>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.0025</td>
<td>10.800000</td>
<td>0.0220</td>
<td>9.818182</td>
<td>2</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
</tr>
<tr>
<td>m2</td>
<td>78.000000</td>
<td>0.1950</td>
<td>0.138462</td>
<td>8.409091</td>
<td>0.1850</td>
<td>1.167568</td>
<td>2</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
</tr>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.0050</td>
<td>12.800000</td>
<td>0.0350</td>
<td>9.800000</td>
<td>2</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>700</td>
<td>700</td>
<td>700</td>
<td>700</td>
</tr>
<tr>
<td>m2</td>
<td>91.300000</td>
<td>0.4565</td>
<td>0.140197</td>
<td>8.942857</td>
<td>0.3130</td>
<td>1.095847</td>
<td>2</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>700</td>
<td>700</td>
<td>700</td>
<td>700</td>
</tr>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.0105</td>
<td>11.904762</td>
<td>0.0435</td>
<td>11.770115</td>
<td>2</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>800</td>
<td>800</td>
<td>800</td>
<td>800</td>
</tr>
<tr>
<td>m2</td>
<td>85.904762</td>
<td>0.9020</td>
<td>0.138581</td>
<td>10.850575</td>
<td>0.4720</td>
<td>1.084746</td>
<td>2</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>800</td>
<td>800</td>
<td>800</td>
<td>800</td>
</tr>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.0230</td>
<td>9.391304</td>
<td>0.0610</td>
<td>11.950820</td>
<td>2</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>900</td>
<td>900</td>
<td>900</td>
<td>900</td>
</tr>
<tr>
<td>m2</td>
<td>68.934783</td>
<td>1.5855</td>
<td>0.136235</td>
<td>10.573770</td>
<td>0.6450</td>
<td>1.130233</td>
<td>2</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>900</td>
<td>900</td>
<td>900</td>
<td>900</td>
</tr>
</tbody>
</table>
Expand Down
136 changes: 68 additions & 68 deletions results/demo_co.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,106 +43,106 @@ <h2>Demo Benchmark</h2>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.01070</td>
<td>0.01050</td>
<td>0.010575</td>
<td>10.213276</td>
<td>0.07270</td>
<td>0.06885</td>
<td>0.070163</td>
<td>12.319933</td>
<td>2</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
</tr>
<tr>
<td>m2</td>
<td>1.336449</td>
<td>0.01430</td>
<td>0.01405</td>
<td>0.014200</td>
<td>7.605965</td>
<td>3.167813</td>
<td>0.23030</td>
<td>0.22600</td>
<td>0.227988</td>
<td>3.789886</td>
<td>2</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>300</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
</tr>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.02520</td>
<td>0.02505</td>
<td>0.025112</td>
<td>10.194195</td>
<td>0.17280</td>
<td>0.14415</td>
<td>0.164087</td>
<td>8.407909</td>
<td>2</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>700</td>
<td>700</td>
<td>700</td>
<td>700</td>
</tr>
<tr>
<td>m2</td>
<td>1.694444</td>
<td>0.04270</td>
<td>0.04215</td>
<td>0.042325</td>
<td>6.048596</td>
<td>1.980903</td>
<td>0.34230</td>
<td>0.33795</td>
<td>0.340187</td>
<td>4.033219</td>
<td>2</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>400</td>
<td>700</td>
<td>700</td>
<td>700</td>
<td>700</td>
</tr>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.04860</td>
<td>0.04685</td>
<td>0.047325</td>
<td>10.567758</td>
<td>0.32075</td>
<td>0.21820</td>
<td>0.290800</td>
<td>7.224369</td>
<td>2</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>800</td>
<td>800</td>
<td>800</td>
<td>800</td>
</tr>
<tr>
<td>m2</td>
<td>1.628601</td>
<td>0.07915</td>
<td>0.07785</td>
<td>0.078200</td>
<td>6.394176</td>
<td>1.811535</td>
<td>0.58105</td>
<td>0.54515</td>
<td>0.561863</td>
<td>3.647967</td>
<td>2</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>500</td>
<td>800</td>
<td>800</td>
<td>800</td>
<td>800</td>
</tr>
<tr>
<td>m1</td>
<td>1.000000</td>
<td>0.08830</td>
<td>0.08415</td>
<td>0.085250</td>
<td>10.139130</td>
<td>0.78925</td>
<td>0.70455</td>
<td>0.762138</td>
<td>3.834213</td>
<td>2</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>900</td>
<td>900</td>
<td>900</td>
<td>900</td>
</tr>
<tr>
<td>m2</td>
<td>1.701019</td>
<td>0.15020</td>
<td>0.14645</td>
<td>0.147512</td>
<td>5.857775</td>
<td>1.021413</td>
<td>0.80615</td>
<td>0.77225</td>
<td>0.781837</td>
<td>3.730865</td>
<td>2</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>600</td>
<td>900</td>
<td>900</td>
<td>900</td>
<td>900</td>
</tr>
</tbody>
</table>
Expand Down
Binary file modified results/demo_co_perf_tot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/demo_co_speedup_max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/demo_co_time_avg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/demo_co_time_max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions results/demo_im1.data
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ ForBenchmark - https://github.com/gha3mi/forbenchmark
-----------------------------------------------------

Demo Benchmark
2024. 1. 7 - 13:14:23
2024. 1. 7 - 15:20:41

compiler_version: Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.0.2 Build 20231213
compiler_options: -Ibuild/ifx_69076157971FC046 -c -fpp -coarray -coarray-num-images=4 -DUSE_COARRAY -free -module build/ifx_69076157971FC046 -o build/ifx_69076157971FC046/forbenchmark/src_forbenchmark_coarray.f90.o
compiler_options: -Ibuild/ifx_E065F348A3924AA0 -c -fpp -coarray -coarray-num-images=4 -DUSE_COARRAY -fp-model precise -pc64 -align all -error-limit 1 -reentrancy threaded -nogen-interfaces -assume byterecl -standard-semantics -free -module build/ifx_E065F348A3924AA0 -o build/ifx_E065F348A3924AA0/forbenchmark/src_forbenchmark_coarray.f90.o
image: 1 of 4

METHOD | TIME(image) | GFLOPS(image) | NLOOPS | ARGI
m1 0.10550000000000E-01 0.25592417061611E+01 2 300 300 300
m2 0.14200000000000E-01 0.19014084507042E+01 2 300 300 300
m1 0.25050000000000E-01 0.25548902195609E+01 2 400 400 400
m2 0.42700000000000E-01 0.14988290398126E+01 2 400 400 400
m1 0.48600000000000E-01 0.25720164609054E+01 2 500 500 500
m2 0.79150000000000E-01 0.15792798483891E+01 2 500 500 500
m1 0.88300000000000E-01 0.24462061155153E+01 2 600 600 600
m2 0.15020000000000E+00 0.14380825565912E+01 2 600 600 600
m1 0.69150000000000E-01 0.31236442516269E+01 2 600 600 600
m2 0.23030000000000E+00 0.93790707772471E+00 2 600 600 600
m1 0.17280000000000E+00 0.19849537037037E+01 2 700 700 700
m2 0.33830000000000E+00 0.10138929943837E+01 2 700 700 700
m1 0.30695000000000E+00 0.16680241081609E+01 2 800 800 800
m2 0.54515000000000E+00 0.93919104833532E+00 2 800 800 800
m1 0.76745000000000E+00 0.94989901622256E+00 2 900 900 900
m2 0.80615000000000E+00 0.90429820752962E+00 2 900 900 900
end of benchmark
Loading

0 comments on commit 5cc9657

Please sign in to comment.