This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set terminal postscript enhanced color | |
set output 'atomic_object.ps' | |
set multiplot layout 1,2 title "AtomicObject vs atomic int" font ",14" | |
set xtics rotate | |
set bmargin 5 | |
# | |
set title "Distributed Memory" | |
set logscale x 2 | |
set logscale y 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Random; | |
use Time; | |
use BlockDist; | |
// use CommDiagnostics; | |
// See: https://chapel-lang.org/docs/master/modules/standard/CommDiagnostics.html | |
/* Config variables */ | |
config const filename = "../data/test_10_10_2.chpl.txt"; | |
config const outFilename = "out.txt"; | |
config const k = 2; |