For your perusal when developing the new coarray code: A "mock" weather forecasting program using coarrays.
Toon Moene
toon@moene.org
Wed Sep 19 17:04:00 GMT 2018
Thomas, Nicolas,
The attached program doesn't do any physics, but it goes through the
motions of computing and communications like the real thing.
I tested it with opencoarrays, and it does a convincing run with the
following command line (i.e., an empty configuration namelist):
echo ' &config /' | cafrun -np 9 ./a.out
Hope it is useful for you.
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random-weather.f90
Type: text/x-fortran
Size: 18283 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180919/4020b2cc/attachment.bin>
More information about the Fortran
mailing list