<div dir="ltr">Hello Ou, <div><br></div><div>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? </div><div><br></div><div><br></div><div>Thanks again, </div><div><br></div><div><br></div><div><a href="https://github.com/MITgcm/MITgcm/pull/646">f90mkdepend pull request</a><br></div><div><br></div><div>Justin Campbell</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 22, 2023 at 11:00 AM <<a href="mailto:ecco-support-request@mit.edu">ecco-support-request@mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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://mailman.mit.edu/mailman/listinfo/ecco-support" rel="noreferrer" 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="http://mailman.mit.edu/pipermail/ecco-support/attachments/20230422/ffc554f5/attachment-0001.htm" rel="noreferrer" 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://mailman.mit.edu/mailman/listinfo/ecco-support" rel="noreferrer" 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>
*******************************************<br>
</blockquote></div>