From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Thu Jul  6 21:59:20 2017
Return-Path: <owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id 21993357250; Thu,  6 Jul 2017 21:59:19 +0200 (CEST)
Delivered-To: sc22wg5@open-std.org
Received: from esa1.cray.iphmx.com (esa1.cray.iphmx.com [68.232.142.33])
	(using TLSv1 with cipher RC4-SHA (128/128 bits))
	(No client certificate requested)
	by www.open-std.org (Postfix) with ESMTP id 05280356DCA
	for <sc22wg5@open-std.org>; Thu,  6 Jul 2017 21:59:15 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
  d=cray.com; i=@cray.com; q=dns/txt; s=cray1024;
  t=1499371202; x=1530907202;
  h=from:to:cc:subject:date:message-id:references:
   in-reply-to:content-id:content-transfer-encoding:
   mime-version;
  bh=HMhyL935d20Ffi/5OjK00otzv3rp9m8ne+H6hgGfD1g=;
  b=saO3rsyV6fMc/0xK92EOCzc7K5YFsOTK+pQ1guKsNB3uq59b4U1Jv64/
   ZvbPafAZ46r2rprvG1HZygikMKCxZpNfIXc6Oz4oVF1MIGXCyRsUpRWmK
   kiX8mJLTIiNqioam3HnGFIjYS6fU2noo2B4MVFg1opEHhjGcPTmPfQzNK
   g=;
X-IronPort-AV: E=Sophos;i="5.40,318,1496098800"; 
   d="scan'208";a="13614264"
X-Cray-OBMMKR: 1433258124 13614264
Received: from cray-smtp-2.cray.com (HELO CFWEX01.americas.cray.com) ([136.162.34.11])
  by esa1.cray.iphmx.com with ESMTP/TLS/AES256-SHA; 06 Jul 2017 20:59:52 +0100
Received: from CFWEXHYBRID.americas.cray.com (172.30.88.178) by
 CFWEX01.americas.cray.com (172.30.88.25) with Microsoft SMTP Server (TLS) id
 14.3.319.2; Thu, 6 Jul 2017 14:59:13 -0500
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (216.32.180.175)
 by mail.cray.com (172.30.88.178) with Microsoft SMTP Server (TLS) id
 14.3.319.2; Thu, 6 Jul 2017 14:59:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=crayinc.onmicrosoft.com; s=selector1-cray-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=2fCK13sTthKuIsmRcoO8Dx6T5y5ZpuuqxApkYnrbKws=;
 b=V6yXJAAVVOf9MxHaTqLeif9zcjhuBoIkTCIQjHwvqEx4WwxPSTNlYoVC5rEPfOk480DmIGu1pGKT6Dq0dj9nry99Mxj48CzajQpIPIoi5M+0VmKnvUiuJdeRxK8LV1qP95m6rc0w0tBUuvBsmr5srC73AeN83IMEsDDE6gJOzbg=
Received: from DM5PR11MB1930.namprd11.prod.outlook.com (10.175.88.7) by
 DM5PR11MB1931.namprd11.prod.outlook.com (10.175.88.8) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id
 15.1.1220.11; Thu, 6 Jul 2017 19:59:10 +0000
Received: from DM5PR11MB1930.namprd11.prod.outlook.com ([10.175.88.7]) by
 DM5PR11MB1930.namprd11.prod.outlook.com ([10.175.88.7]) with mapi id
 15.01.1220.018; Thu, 6 Jul 2017 19:59:10 +0000
From: Bill Long <longb@cray.com>
To: fortran standards email list for J3 <j3@mailman.j3-fortran.org>
CC: Van Snyder <Van.Snyder@jpl.nasa.gov>, sc22wg5 <sc22wg5@open-std.org>
Subject: Re: (j3.2006) (SC22WG5.5907) 3 levels of parallelism?
Thread-Topic: (j3.2006) (SC22WG5.5907) 3 levels of parallelism?
Thread-Index: AQHS9o+b6Ibg1t9ntEictmBjiJvDUaJHN4mA
Date: Thu, 6 Jul 2017 19:59:09 +0000
Message-ID: <9D307AD1-F216-458B-9FFD-615C2F67B183@cray.com>
References: <20170705131003.C2A753587D1@www.open-std.org>
 <677196EB-62B3-448D-8AD9-6D0E36BAFD32@cray.com>
 <888EAD5C-B10E-4E55-9F63-35F1BBE2F342@nasa.gov>
 <CA+KjR2bpJiEB+PRnxzrvX6VBoiM=ifOp-rOQdY4fMFatKhiQLQ@mail.gmail.com>
 <20170705194923.55D94358633@www.open-std.org>
 <CA+KjR2azkyDuo+osGkRiooJE6Guzb2F5PjkcDmiP8u=M+0=2+Q@mail.gmail.com>
 <74223362-5937-4576-81B7-86D2A75460D3@nasa.gov>
 <31050494-69BF-4BCD-991D-069E70443B1D@cray.com>
 <20170706190037.9CF963581F6@www.open-std.org>
 <CAHSokPyY=424qua96aZMqXrFVkq3Z833kOOYJ6V9RJry1w1uDQ@mail.gmail.com>
In-Reply-To: <CAHSokPyY=424qua96aZMqXrFVkq3Z833kOOYJ6V9RJry1w1uDQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: mailman.j3-fortran.org; dkim=none (message not signed)
 header.d=none;mailman.j3-fortran.org; dmarc=none action=none
 header.from=cray.com;
x-originating-ip: [136.162.2.1]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;DM5PR11MB1931;7:clx/On+L65PryuP29Jz56bHfJMta6rudQcrql2/DEL6uB8j+t7zP7BCj4BUKOol8/qCxlwYQTbsnsVyKC3HfFCuDZO1yNxEOpn9cJg4zy+qmS6VAO1Aa6luOzwlnTPI2+eStvGTqXZp2jOw5YiRqmKppH8tUHsu59Hvo1IClO7AjJWLxJRzItY/P9J9GTD4BsWfkyyR+MurkBF4uywDcy91IE+wi17mZQvZEr6CS7GU+K2+R8SMRnxjwyiOyXaca/FGUOTPy3wZ/2a9kU/M4TgonuhqY3lR5DiRG2k4Ajibp1UEbSokR4VTFsmig50gfhZ4g7MV1bEjYIAPCr3BZ1eLPkAKcUntZSi9SwlHx7os2H09612Y3v08Nya62Y8wU9GAnyuqh+OnvVLz7esV8jz++P8TNOHnnO139tyTSZQLkll6WCSpaH7pphlPbc7yCVnElNCGVGWJg6ByKY4q+8YiB0sd2q4PvWU4flqa/axpHl46lWt1Gfd99YR85eh8whipMXyNdLLPl79CEvxndNts1VDboiGcY3QqnTC5oIawwW1oHt6x/O0odHlagZxRuGF2GJLSmTw+Jf45/3MrTSxOylKZf378XbyuBoiWlYaoZGUBwz1ClUlBqr8uJGcxIPSbJQZNUXoMumzuEiEnYD17r+NoMN48S6WYMSv78pYdjUj95zylyN8EaFtsGtDhumGsh79QDqWxtTivV6CM7jy/uL+P657q8jB5eTxIaKLMegh3TnF/S2t9eYidk5MBeUOgfunlX5wu+3QKc72b0ixcRdqNKcOirqcLEr6WObnE=
x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10019020)(6009001)(39400400002)(39410400002)(39450400003)(39840400002)(377454003)(24454002)(377424004)(7736002)(966005)(229853002)(189998001)(110136004)(14454004)(33656002)(50986999)(6306002)(99286003)(54356999)(6436002)(93886004)(6512007)(86362001)(76176999)(3660700001)(81166006)(54906002)(3846002)(5660300001)(6116002)(25786009)(1720100001)(53936002)(3280700002)(102836003)(82746002)(8676002)(2906002)(66066001)(53546010)(478600001)(4326008)(6916009)(305945005)(83716003)(6486002)(6506006)(77096006)(38730400002)(2950100002)(2900100001)(8936002)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR11MB1931;H:DM5PR11MB1930.namprd11.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en;
x-ms-office365-filtering-correlation-id: 540002b3-7041-4b48-d9e9-08d4c4a9779c
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DM5PR11MB1931;
x-ms-traffictypediagnostic: DM5PR11MB1931:
x-microsoft-antispam-prvs: <DM5PR11MB193141960431AEB5C35CB0C0D4D50@DM5PR11MB1931.namprd11.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(133145235818549)(236129657087228)(148574349560750)(247924648384137);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6041248)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR11MB1931;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR11MB1931;
x-forefront-prvs: 03607C04F0
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4087F00A6FFAF64BA90A1C7511D8FDFE@namprd11.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2017 19:59:09.9024
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: e7b8488a-c0cd-4614-aae1-996bfabec247
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1931
X-OriginatorOrg: cray.com
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

Indeed, this has already been patly done with a Fortran interface to OpenGL=
.  Of course, using OpenGL would entail updating the code that is used to I=
DL.=20

http://www-stone.ch.cam.ac.uk/programs/f03gl.html


Alternatively, I had thought one of the purposes of support for unformatted=
 STREAM files was to facilitate output to devices like graphics displays.  =
Although these days, probably some sort of XML file would work, and could u=
se existing libraries for shapes, etc.=20

Cheers,
Bill


> On Jul 6, 2017, at 2:38 PM, Keith Bierman <khbkhb@gmail.com> wrote:
>=20
> In terms of Standard(s) compliant ways to doing things ... wouldn't mmap =
(posix) along with C interop be the "right" way to go for new/revised stuff=
?
>=20
> Still lower level than one would like, but it's hard to be all things to =
all languages and go fast.
>=20
> Keith Bierman
> khbkhb@gmail.com
> 303 997 2749
>=20
> On Thu, Jul 6, 2017 at 1:00 PM, Van Snyder <Van.Snyder@jpl.nasa.gov> wrot=
e:
> On Thu, 2017-07-06 at 17:52 +0000, Bill Long wrote:
> > Intentionally. The SPMD model, used by both Fortran and MPI, has
> > proved to provide the best scaling and performance in real
> > distributed-memory applications.
>=20
> MPMD is also useful.  Interactive graphics are not Fortran's strong
> suit.  We use PVM (for historical reasons) to communicate between our
> separately-launched Fortran code instances, and between Fortran and IDL
> for interactive graphics.
>=20
> I don't see a way to use coarrays for MPMD, but using PVM (and MPI) are
> kind of like programming in assembler.
>=20
>=20
> _______________________________________________
> J3 mailing list
> J3@mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3
>=20
> _______________________________________________
> J3 mailing list
> J3@mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3

Bill Long                                                                  =
     longb@cray.com
Principal Engineer, Fortran Technical Support &   voice:  651-605-9024
Bioinformatics Software Development                      fax:  651-605-9143
Cray Inc./ 2131 Lindau Lane/  Suite 1000/  Bloomington, MN  55425


