<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello Justin,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The f90makedepend pull request by Ivana Escobar was closed without being merged to the main branch of MITgcm. The reason was that there is no need to modify f90makedepend if one first removes all carriage returns from the files before passing
them to f90makedepend.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As Ivana commented, some warning, but not error, message may still appear:<o:p></o:p></p>
<p class="MsoNormal"><code><span style="font-size:10.0pt">WARNING: f90mkdepend: for netcdf.h no source file found for this</span></code> <o:p></o:p></p>
<p class="MsoNormal">This is because some multi-line comments in the netCDF header file has the phrase “use this …” and f90makedepend assumes the word “this” is a module name.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you want to get rid of this warning message, attached please find a modified f90mkdepend that would probably work.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal">Ou Wang<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">ecco-support <ecco-support-bounces@mit.edu> on behalf of Justin Campbell <campbelljustin989@gmail.com><br>
<b>Date: </b>Monday, April 24, 2023 at 6:03 PM<br>
<b>To: </b>ecco-support@mit.edu <ecco-support@mit.edu><br>
<b>Subject: </b>[EXTERNAL] Re: [ecco-support] ecco-support Digest, Vol 85, Issue 4<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Hello Ou, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you for the feedback and for your quick response. I was able to successfully reproduce all steps needed to build and run the verification experiment by following your recommendation of not specifying an opt file and instead, letting
genmake2 recursively iterate through parent directories to find the location of the compatible fortran compiler and dependencies. However, I would like to be able to use opt files specific to a local computing cluster at some point as I work on a docker project
where I will be tailoring containers to specific host machines and their architecture. I have begun communicating with Ivana Escobar who submitted a pull request to merge an update that supposedly addresses a very similar error message with carriage return
parsing in f90mkdepend shown in the attached link. However, I'm unsure as to whether this or a similar update was ever adopted in the main branch of MITgcm? Do I need to revert to a certain checkpoint of MITgcm to make use of this change? <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks again, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://urldefense.us/v3/__https:/github.com/MITgcm/MITgcm/pull/646__;!!PvBDto6Hs4WbVuu7!MZNUlomQ7Rd8q86kFXtnRzvBwinQeDABIAyCjGtRPf_kvEX2gyrzhSoPamHd2HD2wqVH9arCrRDTDnBK9NCj5HOctC00t9Q$">f90mkdepend pull request</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Justin Campbell<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Sat, Apr 22, 2023 at 11:00 AM <<a href="mailto:ecco-support-request@mit.edu">ecco-support-request@mit.edu</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Send ecco-support mailing list submissions to<br>
<a href="mailto:ecco-support@mit.edu" target="_blank">ecco-support@mit.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://urldefense.us/v3/__https:/mailman.mit.edu/mailman/listinfo/ecco-support__;!!PvBDto6Hs4WbVuu7!MZNUlomQ7Rd8q86kFXtnRzvBwinQeDABIAyCjGtRPf_kvEX2gyrzhSoPamHd2HD2wqVH9arCrRDTDnBK9NCj5HOckHz2nQY$" target="_blank">
https://mailman.mit.edu/mailman/listinfo/ecco-support</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:ecco-support-request@mit.edu" target="_blank">ecco-support-request@mit.edu</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:ecco-support-owner@mit.edu" target="_blank">ecco-support-owner@mit.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ecco-support digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: [EXTERNAL] Makefile unable to generate dependencies for<br>
Fortran90 File (Wang, Ou (US 329B))<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 22 Apr 2023 03:06:06 +0000<br>
From: "Wang, Ou (US 329B)" <<a href="mailto:ou.wang@jpl.nasa.gov" target="_blank">ou.wang@jpl.nasa.gov</a>><br>
To: "ECCO support list, wider membership" <<a href="mailto:ecco-support@mit.edu" target="_blank">ecco-support@mit.edu</a>><br>
Subject: Re: [ecco-support] [EXTERNAL] Makefile unable to generate<br>
dependencies for Fortran90 File<br>
Message-ID:<br>
<<a href="mailto:BLAPR09MB6179AA55800C332905DD1FCBC4619@BLAPR09MB6179.namprd09.prod.outlook.com" target="_blank">BLAPR09MB6179AA55800C332905DD1FCBC4619@BLAPR09MB6179.namprd09.prod.outlook.com</a>><br>
<br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hello,<br>
<br>
Did you use the following commands?<br>
cd verification/exp2/build<br>
../../../tools/genmake2 -mods ../code -optfile ?/PATH/TO/OPTFILE?<br>
(You can run the genmake2 command without specifying the opt file: ../../../tools/genmake2 -mods ../code)<br>
make depend<br>
<br>
If so, please make sure the build directory is empty before issuing the ?genmake2? command.<br>
<br>
If you still get the same error messages, I suggest posting your question to <a href="mailto:mitgcm-support@mitgcm.org" target="_blank">
mitgcm-support@mitgcm.org</a><mailto:<a href="mailto:mitgcm-support@mitgcm.org" target="_blank">mitgcm-support@mitgcm.org</a>>. The question is about a MITgcm verification experiment; you may get more answers from the MITgcm support list.<br>
<br>
Best,<br>
Ou Wang<br>
<br>
<br>
From: ecco-support <<a href="mailto:ecco-support-bounces@mit.edu" target="_blank">ecco-support-bounces@mit.edu</a>> on behalf of Justin Campbell <<a href="mailto:campbelljustin989@gmail.com" target="_blank">campbelljustin989@gmail.com</a>><br>
Date: Friday, April 21, 2023 at 4:58 PM<br>
To: <a href="mailto:ecco-support@mit.edu" target="_blank">ecco-support@mit.edu</a> <<a href="mailto:ecco-support@mit.edu" target="_blank">ecco-support@mit.edu</a>><br>
Subject: [EXTERNAL] [ecco-support] Makefile unable to generate dependencies for Fortran90 File<br>
Hello all,<br>
<br>
<br>
I am currently attempting to reproduce the tutorial steps in the readthedocs for building the verification/exp2 experiment, and when I run 'make depend' to create model dependencies I receive error messages suggesting that 'f90mkdepend' could not locate the
necessary source file(s) for module 'this'. It looks like it was not able to append the 'f90mkdepend' dependency to the makefile. This is shown in the attachment below. Any recommendations on how to go about debugging this?<br>
<br>
<br>
Best Regards,<br>
<br>
<br>
<br>
Justin Campbell<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://urldefense.us/v3/__http:/mailman.mit.edu/pipermail/ecco-support/attachments/20230422/ffc554f5/attachment-0001.htm__;!!PvBDto6Hs4WbVuu7!MZNUlomQ7Rd8q86kFXtnRzvBwinQeDABIAyCjGtRPf_kvEX2gyrzhSoPamHd2HD2wqVH9arCrRDTDnBK9NCj5HOcl4t_rtQ$" target="_blank">http://mailman.mit.edu/pipermail/ecco-support/attachments/20230422/ffc554f5/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
ecco-support mailing list<br>
<a href="mailto:ecco-support@mit.edu" target="_blank">ecco-support@mit.edu</a><br>
<a href="https://urldefense.us/v3/__https:/mailman.mit.edu/mailman/listinfo/ecco-support__;!!PvBDto6Hs4WbVuu7!MZNUlomQ7Rd8q86kFXtnRzvBwinQeDABIAyCjGtRPf_kvEX2gyrzhSoPamHd2HD2wqVH9arCrRDTDnBK9NCj5HOckHz2nQY$" target="_blank">https://mailman.mit.edu/mailman/listinfo/ecco-support</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ecco-support Digest, Vol 85, Issue 4<br>
*******************************************<o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>