<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>Both errors seems linked to your compilation options - options
      with gfortran (gcc).<br>
      This might be due the newer version of gcc, you use.</p>
    <p>Try adding -fallow-argument-mismatch and -Wuninitialized to your
      compilation flags.<br>
      More information concerning the compilation flags, you use in
      Makefile.h, might be needed if you this doesn't work.<br>
    </p>
    <p>Best,<br>
      G. Rigon<br>
      <br>
    </p>
    <div class="moz-cite-prefix">On 10/02/2021 13:46, 이영민 wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACriucJD8p=vPY+vDvwhZ70UC=t4Q_+wKRtkk5nOk8B+jjnaUg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">Dear all,
                <div><br>
                </div>
                <div>Hi, recently I updated my Mac OS to Big Sur. </div>
                <div>When it was Catalina, I made an executable file
                  without any error. At that time the versions of MPICH,
                  HDF5, and GCC were 3.3, 1.10.4, and 8.2.0,
                  respectively.</div>
                <div>After update my mac OS to Big Sur, I also updated
                  Xcode, Xcode command-line tools, MPICH, HDF5, and GCC
                  (Now the versions of Mpich, hdf5, GCC are 3.3.2_1
                  & 1.12.0_1 & 10.2.0_3). </div>
                <div>Definitely, I modified the library paths in the
                  Makefile.h file. </div>
                <div><br>
                </div>
                <div>The error messages occur when I made an executable
                  file (of Sedov) on the object folder like this :</div>
                <div>
                  <div style="color:rgb(0,0,0)">--------</div>
                </div>
                <div>
                  <p
                    style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal"><span
style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font
                        face="batang, serif" color="#ff0000">amr_1blk_cc_prol_gen_unk_fun.F90:53:0:</font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;min-height:16px"><font
                      style="background-color:rgb(255,255,255)"
                      face="batang, serif" color="#000000"><span
                        style="font-variant-ligatures:no-common-ligatures"></span><br>
                    </font></p>
                  <p
                    style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal"><span
style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font
                        face="batang, serif" color="#000000">   53 |   
                          &                          + mpi_wtime() -
                        time1</font></span></p>
                  <p
                    style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal"><span
style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font
                        face="batang, serif" color="#000000">      | </font></span></p>
                  <p
                    style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal"><font
                      style="background-color:rgb(255,255,255)"
                      face="batang, serif" color="#000000"><span
                        style="font-variant-ligatures:no-common-ligatures">Warning:</span><span
style="font-variant-ligatures:no-common-ligatures"> '</span><span
                        style="font-variant-ligatures:no-common-ligatures">time1</span><span
style="font-variant-ligatures:no-common-ligatures">' may be used
                        uninitialized in this function [</span><span
                        style="font-variant-ligatures:no-common-ligatures">-Wmaybe-uninitialized</span><span
style="font-variant-ligatures:no-common-ligatures">]</span></font></p>
                </div>
                <div><br>
                </div>
                <div>or, </div>
                <div><br>
                </div>
                <div>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline""><span
style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font
                        color="#ff0000">amr_migrate_tree_data.F90:634:23:</font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline";min-height:16px"><span
                      style="background-color:rgb(255,255,255)"><font
                        color="#000000"><span
                          style="font-variant-ligatures:no-common-ligatures"></span><br>
                      </font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline""><span
style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font
                        color="#000000">  498 |            Call
                        MPI_IRECV(parentt(1,i),2,MPI_INTEGER,           
                            &</font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline""><span
                      style="background-color:rgb(255,255,255)"><font
                        color="#000000"><span
                          style="font-variant-ligatures:no-common-ligatures"> 
                              |                          </span><span
                          style="font-variant-ligatures:no-common-ligatures">2</span></font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline""><span
style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font
                        color="#000000">......</font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline""><span
style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font
                        color="#000000">  634 |         Call
                        MPI_IRECV(buffert(1,i),buf_size,               
                                &</font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline""><span
                      style="background-color:rgb(255,255,255)"><font
                        color="#000000"><span
                          style="font-variant-ligatures:no-common-ligatures"> 
                              |                       </span><span
                          style="font-variant-ligatures:no-common-ligatures">1</span></font></span></p>
                  <p
style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:"Ubuntu
                    Mono derivative Powerline""><span
                      style="background-color:rgb(255,255,255)"><font
                        color="#000000"><span
                          style="font-variant-ligatures:no-common-ligatures">Error:</span><span
style="font-variant-ligatures:no-common-ligatures"> Type mismatch
                          between actual argument at </span><span
                          style="font-variant-ligatures:no-common-ligatures">(1)</span><span
style="font-variant-ligatures:no-common-ligatures"> and actual argument
                          at </span><span
                          style="font-variant-ligatures:no-common-ligatures">(2)</span><span
style="font-variant-ligatures:no-common-ligatures">
                          (REAL(8)/INTEGER(4)).</span></font></span></p>
                </div>
                <div><span
                    style="font-variant-ligatures:no-common-ligatures"><br>
                  </span></div>
                <div>--------</div>
                <div><br>
                </div>
                <div>I had tried changing MPICH to Open-mpi, or checked
                  typo in Makefile.h etc...</div>
                <div>But I can't solve this problem.</div>
                <div><br>
                </div>
                <div>Does anyone ever suffer the same problem like me? </div>
                <div>or if you have any idea, please let me know.</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>-- <br>
                  <div dir="ltr" class="gmail_signature">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">Young-Min Lee </div>
                              <div dir="ltr">Ph.D. student<br>
                              </div>
                              <div dir="ltr"><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Gabriel Rigon
Laboratory for Theoretical Astronomy & Astrophysics (TA-Lab)
Graduate School of Science
Division of Particle and Astrophysical Science
Nagoya University, Japan</pre>
  </body>
</html>