<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=Windows-1252">
<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:#0563C1;
        text-decoration:underline;}
.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="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Did you use the following commands? <o:p></o:p></p>
<p class="MsoNormal">cd verification/exp2/build<o:p></o:p></p>
<p class="MsoNormal">../../../tools/genmake2 -mods ../code -optfile «/PATH/TO/OPTFILE»<o:p></o:p></p>
<p class="MsoNormal">(You can run the genmake2 command without specifying the opt file: ../../../tools/genmake2 -mods ../code)<o:p></o:p></p>
<p class="MsoNormal">make depend<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If so, please make sure the build directory is empty before issuing the “genmake2” command.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If  you still get the same error messages, I suggest posting your question to
<a href="mailto:mitgcm-support@mitgcm.org">mitgcm-support@mitgcm.org</a>. The question is about a MITgcm verification experiment; you may get more answers from the MITgcm support list.<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>
<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>Friday, April 21, 2023 at 4:58 PM<br>
<b>To: </b>ecco-support@mit.edu <ecco-support@mit.edu><br>
<b>Subject: </b>[EXTERNAL] [ecco-support] Makefile unable to generate dependencies for Fortran90 File<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Hello all, </p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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? </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">Best Regards, </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"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Justin Campbell</p>
</div>
</div>
</div>
</body>
</html>