[J3] [EXTERNAL] [BULK] Re: Description of MOLD in an allocate statement.
Clune, Thomas L. (GSFC-6101)
thomas.l.clune at nasa.gov
Tue Dec 16 16:18:16 UTC 2025
Yes - thank you Bob and Steve.
Cheers,
*
Tom
[cid:image001.png at 01DB793A.BCC25CC0]<https://www.nasa.gov/>
Thomas Clune
Lead, Software Infrastructure
Global Modeling and Assimilation Office
NASA Goddard Space Flight Center
MS 610.1
8800 Greenbelt RD, Greenbelt, MD 20771
Thomas.L.Clune at nasa.gov<mailto:Thomas.L.Clune at nasa.gov>
From: J3 <j3-bounces at mailman.j3-fortran.org> on behalf of Steve Lionel via J3 <j3 at mailman.j3-fortran.org>
Date: Tuesday, December 16, 2025 at 11:06 AM
To: j3 at mailman.j3-fortran.org <j3 at mailman.j3-fortran.org>
Cc: Steve Lionel <steve at stevelionel.com>
Subject: [EXTERNAL] [BULK] Re: [J3] Description of MOLD in an allocate statement.
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
Tom,
I understand your confusion; it took me a bit too. The key is that the BNF for both SOURCE= and MOLD= is source-expr. You can then find what happens when source-expr appears in p5. Further, C949 prohibits both SOURCE= and MOLD= from appearing.
Steve
On 12/16/2025 9:47 AM, Clune, Thomas L. (GSFC-6101) via J3 wrote:
Perhaps my PDF search is failing me, but as far as I can tell the only description of the functionality of MOLD= in the standard is the following on p160 of 25-007r1:
If MOLD= appears and source-expr is a variable, its value need not be defined.
Hopefully I’m just not finding it. Otherwise, surely we can provide just a bit of normative text describing the intent here?
*
Tom
[cid:part1.d00yeORi.kSgKshI7 at stevelionel.com]<https://www.nasa.gov/>
Thomas Clune
Lead, Software Infrastructure
Global Modeling and Assimilation Office
NASA Goddard Space Flight Center
MS 610.1
8800 Greenbelt RD, Greenbelt, MD 20771
Thomas.L.Clune at nasa.gov<mailto:Thomas.L.Clune at nasa.gov>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/bd7c3e89/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 25178 bytes
Desc: image001.png
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/bd7c3e89/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 274 bytes
Desc: image002.png
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/bd7c3e89/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 25178 bytes
Desc: image001.png
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/bd7c3e89/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 274 bytes
Desc: image002.png
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251216/bd7c3e89/attachment-0007.png>
More information about the J3
mailing list