<div dir="ltr">Hi Alvaro,<div><br></div><div>You can add the flag "-Wno-error=implicit-function-declaration" to the "CFLAGS_*" options in your Makefile.h<br><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, Jan 24, 2023 at 8:06 AM Alvaro Sanchez <<a href="mailto:alvaro.sanchez@greentownsbyfusion.com">alvaro.sanchez@greentownsbyfusion.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 class="msg765669794611950116">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hello dear flash-users community,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
It is the first time I'm posting so I'm not sure about how to do it, I've read that I have to email this address so here we go.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
I'm just starting in FLASH so maybe my error is completely stupid, so sorry in advance for my lack of knowledge about FLASH. The problem is as follows:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
When following the user's guide instructions for running the Sedov case, I'm always getting the same error when I do 'make' within the 'object' folder:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures">/usr/local/Cellar/mpich/4.0.3/bin/mpicc -I /usr/local/Cellar/hdf5/1.12.2_2/include -DH5_USE_16_API -O2<span>
</span>-c -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 -DDarwin io_attribute.c</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures">io_attribute.c:66:5: error: implicit declaration of function 'Driver_abortFlashC' is invalid in C99 [-Werror,-Wimplicit-function-declaration]</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures"><span>
</span>Driver_abortFlashC("[io_attribute_create]: Unknown I/O");</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures"><span>
</span>^</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures">io_attribute.c:113:5: error: implicit declaration of function 'Driver_abortFlashC' is invalid in C99 [-Werror,-Wimplicit-function-declaration]</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures"><span>
</span>Driver_abortFlashC("[io_attribute_write]: Unknown I/O");</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures"><span>
</span>^</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures">2 errors generated.</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)">
<span style="font-variant-ligatures:no-common-ligatures">make: *** [io_attribute.o] Error 1</span></p>
I'm using a Mac with gfortran, so I tried the Prototype Darwin Makefile.h.gfortran, I also modified it, and even tried to create my own Makefile, but I receive always the same error. I also tried to change setup.py for the setup.py that comes within the Darwin
folder but it is written in Python2, should I rewrite it for Py3?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Another important aspect could be that I installed all dependencies using Homebrew, is that relevant?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Could you please help me with this? I'm completely lost, thank you very very much in advance. I would be eternally graceful for any help.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span id="m_765669794611950116🙂">🙂</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>
</div></blockquote></div>