<div dir="ltr">Hi Yen,<div><br></div><div>With gfortran < 10 you should be fine not including that flag. GCC only started rejecting type mismatches in arguments as errors starting with version 10.<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 Mon, Jul 3, 2023 at 9:10 AM Hansen, Eddie <<a href="mailto:ehansen@pas.rochester.edu">ehansen@pas.rochester.edu</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="msg7886418277083637026">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_-1229060622627070565WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">-fallow-argument-mismatch is a compiler flag that is set in Makefile.h. You’re free to edit this file and any flags that are included here. You might only need to modify the flags listed on the line with ‘FFLAGS_OPT’.
Different compilers (and sometimes different versions) will have different names for these flags.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">--</span><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(24,26,27)">Eddie Hansen</span><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(24,26,27)">Research Scientist</span><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(24,26,27)">Flash Center for Computational Science</span><span style="color:black"><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) currentcolor currentcolor;padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">flash-users <<a href="mailto:flash-users-bounces@flash.rochester.edu" target="_blank">flash-users-bounces@flash.rochester.edu</a>> on behalf of Yên Bình <<a href="mailto:yenbinhpy308@gmail.com" target="_blank">yenbinhpy308@gmail.com</a>><br>
<b>Date: </b>Sunday, July 2, 2023 at 7:01 AM<br>
<b>To: </b><a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a> <<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a>><br>
<b>Subject: </b>[FLASH-USERS] "-fallow-argument-mismatch" error<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Dear Flash users,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">I am trying to "make" in "/object" on a hpc and get this error. The version of gfortran on the hpc is 8.5.0 and I do not have the "sudo" permission to update it. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">I tried to find the "-fallow-argument-mismatch" and it is in "mpif90" and I do not have permission to write to mpif90. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><br>
<i>$ make</i><br>
<i>rm -f reorder.sh</i><br>
<i>/software/opt/mpich/3.4.3/gcc/11.2.0/bin/mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -Wuninitialized -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Driver_interface.F90</i><br>
<i>gfortran: error: unrecognized command line option ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?</i><br>
<i>make: *** [Makefile:116: Driver_interface.o] Error 1</i><u></u><u></u></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><br>
I really appreciate any help to resolve this issue.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Thank you in advance.<u></u><u></u></span></p>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0in 0.75pt 15pt 0in">
<p class="MsoNormal"><span style="font-size:11pt">Binh<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap style="padding:0in 0.75pt 18.75pt 0in">
<p style="margin:0.75pt;line-height:12.75pt"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black">Nguyen Thi Yen Binh<u></u><u></u></span></b></p>
<p style="margin:0.75pt;line-height:12.75pt"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(136,136,136)">College Student<u></u><u></u></span></p>
<p style="margin:0.75pt;line-height:12.75pt"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(136,136,136)">Space Science and Satellite Technology<u></u><u></u></span></p>
<p style="margin:0.75pt;line-height:12.75pt"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(136,136,136)">University of Science and Technology of Ha Noi<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:0in 0.75pt 0in 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-width:1.5pt medium;border-style:solid none;border-color:rgb(123,146,152) currentcolor;padding:18.75pt 0.75pt 18.75pt 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0in 0.75pt 0in 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0.75pt 3.75pt 0.75pt 0in">
<p style="margin:0.75pt"><span style="border:1pt solid windowtext;padding:0in"><img width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="m_-1229060622627070565_x0000_i1031" alt="Image removed by sender."></span><u></u><u></u></p>
</td>
<td style="padding:0.75pt 0in">
<p style="margin:0.75pt;line-height:12.75pt"><a href="mailto:binhnty.bi12-060@st.usth.edu.vn" target="_blank"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(136,136,136)">binhnty.bi12-060@st.usth.edu.vn</span></a><u></u><u></u></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt 3.75pt 0.75pt 0in">
<p style="margin:0.75pt"><span style="border:1pt solid windowtext;padding:0in"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="m_-1229060622627070565_x0000_i1030" alt="Image removed by sender."></span><u></u><u></u></p>
</td>
<td style="padding:0.75pt 0in">
<p style="margin:0.75pt;line-height:12.75pt"><a href="tel:+84367533986" target="_blank"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(136,136,136)">+84367533986</span></a><u></u><u></u></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt 3.75pt 0.75pt 0in">
<p style="margin:0.75pt"><span style="border:1pt solid windowtext;padding:0in"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="m_-1229060622627070565_x0000_i1029" alt="Image removed by sender."></span><u></u><u></u></p>
</td>
<td style="padding:0.75pt 0in">
<p style="margin:0.75pt;line-height:12.75pt"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(136,136,136)">Tuy Hoa, Phu Yen, Viet Nam</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
</td>
<td width="15" style="width:11.25pt;padding:0in 0.75pt 0in 0in"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:0in 0.75pt 0in 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="30" style="width:22.5pt;padding:18.75pt 0.75pt 0in 0in">
<p style="margin:0.75pt"><span style="font-size:1pt"><a href="https://www.facebook.com/wbinhw" target="_blank"><span style="color:windowtext;text-decoration:none"><span style="color:blue;border:1pt solid windowtext;padding:0in"><img border="0" width="30" height="30" style="width: 0.3125in; height: 0.3125in;" id="m_-1229060622627070565_x0000_i1028" alt="Image removed by sender."></span></span></a><u></u><u></u></span></p>
</td>
<td width="3" style="width:2.25pt;padding:0in 0in 0.75pt"></td>
<td width="30" style="width:22.5pt;padding:18.75pt 0.75pt 0in 0in">
<p style="margin:0.75pt"><span style="font-size:1pt"><a href="https://www.instagram.com/yenbinne/" target="_blank"><span style="color:windowtext;text-decoration:none"><span style="color:blue;border:1pt solid windowtext;padding:0in"><img border="0" width="30" height="30" style="width: 0.3125in; height: 0.3125in;" id="m_-1229060622627070565_x0000_i1027" alt="Image removed by sender."></span></span></a><u></u><u></u></span></p>
</td>
<td width="3" style="width:2.25pt;padding:0in 0in 0.75pt"></td>
<td width="30" style="width:22.5pt;padding:18.75pt 0.75pt 0in 0in">
<p style="margin:0.75pt"><span style="font-size:1pt"><a href="https://github.com/pea9" target="_blank"><span style="color:windowtext;text-decoration:none"><span style="color:blue;border:1pt solid windowtext;padding:0in"><img border="0" width="30" height="30" style="width: 0.3125in; height: 0.3125in;" id="m_-1229060622627070565_x0000_i1026" alt="Image removed by sender."></span></span></a><u></u><u></u></span></p>
</td>
<td width="3" style="width:2.25pt;padding:0in 0in 0.75pt"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:0in 0.75pt 0in 0in"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11pt;display:none"><u></u> <u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0in 0.75pt 15pt 0in"></td>
</tr>
<tr>
<td nowrap style="padding:0in 0.75pt 18.75pt 0in"></td>
</tr>
<tr>
<td style="padding:0in 0.75pt 0in 0in"></td>
</tr>
<tr>
<td style="padding:0in 0.75pt 0in 0in"></td>
</tr>
<tr>
<td style="padding:0in 0.75pt 0in 0in"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11pt;border:1pt solid windowtext;padding:0in"><img border="0" width="32" height="32" style="width: 0.3333in; height: 0.3333in;" id="m_-1229060622627070565_x0000_i1025" alt="Image removed by sender."></span><span style="font-size:11pt"><u></u><u></u></span></p>
</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>