<div dir="ltr">Hi Gary,<div><br></div><div>Is there anything being generated in the "Makefile.Depend" file? This should be populated by the "setup_depends script when called from the Makefile based on the "use module_name" statements in the source code setup puts together in the object directory.</div><div><br></div><div>An issue I've had in the latest versions of MacOS is that they no longer provide a "python" executable and only one for "python3". What I've done is to make a symbolic link to homebrew's "python3" called "python" that exists somewhere in your PATH. For example:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python<br></blockquote><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">*************************************************************************</div><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Adam Reyes<div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH.jpg"><br></div><div>Code Group Leader, Flash Center for Computational Science <span> </span><br></div><div>Research Scientist, Dept. of Physics and Astronomy</div><div>University of Rochester</div><div>River Campus: Bausch and Lomb Hall, 369 <span> </span><br></div><div>500 Wilson Blvd. PO Box 270171, Rochester, NY 14627</div><div dir="ltr">Email<span> </span><a href="mailto:adam.reyes@rochester.edu" target="_blank">adam.reyes@rochester.edu</a></div><div>Web<span> </span><a href="https://flash.rochester.edu/" target="_blank">https://flash.rochester.edu</a><br></div><div> (he / him / his)</div><div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH-pride-sml.png"><br></div>*************************************************************************</div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023 at 5:50 PM Gary Grim <<a href="mailto:gpgrim@gmail.com">gpgrim@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am having dependent module compilation issues after setting up the Sedov problem that I can't seem to track down. It appears the the Makefile is not running the Makefile.Depend target to precompile all dependent modules needed. As a result I observe compilation message similar to the following:<br></div><div> :<br></div><div>/opt/homebrew/bin/mpif90 -ggdb -c -cpp -MD
-O2 -fdefault-real-8 -fdefault-double-8 -Wuninitialized
-DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2
Deleptonize_getBounce.F90<br></div>/opt/homebrew/bin/mpif90
-ggdb -c -cpp -MD -O2 -fdefault-real-8 -fdefault-double-8
-Wuninitialized -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2
Deleptonize_init.F90<div>Deleptonize_init.F90:26:7:<br> 26 | use RuntimeParameters_interface, ONLY : RuntimeParameters_get<br> | 1<br>Fatal Error: Cannot open module file 'runtimeparameters_interface.mod' for reading at (1): No such file or directory<br>compilation terminated.<br>make: *** [Deleptonize_init.o] Error 1<br></div><div><br></div><div>If I compile by hand the module RunTimeParameters_get, and continue the make, the build continues to the next antecedent who's dependent module hasn't been precompiled. It appears the setup_depends script, below is not being activated and I'm not sure what in my environment or Makefile.h I need to change to fix this. Any suggestions would be appreciated. <br></div><div><br></div><div># Make the Makefile.Depend <br>Makefile.Depend:<br> @$(ECHO) Calculating dependencies<br> ./setup_depends.py $(FFLAGS) $(F90FLAG<br></div><div><br></div><div>FWIW, I'm building on an Apple Powerbook with an M2 chip, OS X Ventura and running Python 3.3. I've installed the gnu compilers and mpich using homebrew. Attached are the resultant Makefile and Makfile.h that are being used.</div><div><br></div><div>TIA,</div><div>Gary</div><div><br></div><div><span><a id="m_4020711340241367870gmail-:13e" role="link" href="https://mail.google.com/mail/u/0?ui=2&ik=a962f33875&attid=0.2&permmsgid=msg-a:r6760791572810100590&th=18824c980cda0c5e&view=att&disp=safe&realattid=f_lhqblrbu1" target="_blank"><span id="m_4020711340241367870gmail-:13m">Preview attachment Makefile</span><div aria-hidden="true"><div></div><div><div></div></div><div><img id="m_4020711340241367870gmail-:13f" style="display: none;"><div id="m_4020711340241367870gmail-:13h"><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div><div id="m_4020711340241367870gmail-:13l"><div><img id="m_4020711340241367870gmail-:13j" src="https://drive-thirdparty.googleusercontent.com/16/type/application/octet-stream" title="Binary File"></div><div><div><div><span id="m_4020711340241367870gmail-:13i">Makefile</span></div><div><span id="m_4020711340241367870gmail-:13k">9.1 KB</span></div></div></div></div></div></div></a><a id="m_4020711340241367870gmail-:13e" role="link" href="https://mail.google.com/mail/u/0?ui=2&ik=a962f33875&attid=0.2&permmsgid=msg-a:r6760791572810100590&th=18824c980cda0c5e&view=att&disp=safe&realattid=f_lhqblrbu1" target="_blank"><div aria-hidden="true"><div><div id="m_4020711340241367870gmail-:13g" style="border-color:rgb(119,119,119)"></div></div></div></a></span></div><div><br></div><div><span><a id="m_4020711340241367870gmail-:130" role="link" href="https://mail.google.com/mail/u/0?ui=2&ik=a962f33875&attid=0.1&permmsgid=msg-a:r6760791572810100590&th=18824c980cda0c5e&view=att&disp=safe&realattid=f_lhqbljyo0" target="_blank"><span id="m_4020711340241367870gmail-:138">Preview attachment Makefile.h</span><div aria-hidden="true"><div></div><div><div></div></div><div><img id="m_4020711340241367870gmail-:131" style="display: none;"><div id="m_4020711340241367870gmail-:133"><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div><div id="m_4020711340241367870gmail-:137"><div><img id="m_4020711340241367870gmail-:135" src="https://drive-thirdparty.googleusercontent.com/16/type/text/x-c-code" title="Text"></div><div><div><div><span id="m_4020711340241367870gmail-:134">Makefile.h</span></div><div><span id="m_4020711340241367870gmail-:136">5.3 KB</span></div><div><span id="m_4020711340241367870gmail-:136"><br></span></div></div></div></div></div></div></a><a id="m_4020711340241367870gmail-:130" role="link" href="https://mail.google.com/mail/u/0?ui=2&ik=a962f33875&attid=0.1&permmsgid=msg-a:r6760791572810100590&th=18824c980cda0c5e&view=att&disp=safe&realattid=f_lhqbljyo0" target="_blank"><div aria-hidden="true"><div><div id="m_4020711340241367870gmail-:132" style="border-color:rgb(73,134,231)"></div></div></div></a></span><span></span></div></div>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div>