<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Dear Paolo<br>
      <br>
      :) many compliments to your system administrator ...  <br>
      <br>
      this is yet an other issue with a too compiler version. It is very
      likely the case that your mpif90 is still using fortran 4.4.6 just
      check with mpif90 --version  and see what it prints out.  <br>
      If mpif90 is using 5.4 the simpler thing to do is to oblige the
      compiler, and change line 58 of PP/src/plotband.f90 from <br>
      <br>
      CHARACTER(len=:), ALLOCATABLE :: line<br>
      <br>
      to <br>
      <br>
      CHARACTER(len=2048), ALLOCATABLE :: line<br>
      <br>
      and anything should be working. You can meet other errors of this
      kind, read carefully the error messages and try to fix them. <br>
      <br>
      In the case ( I am afraid it is actually the case) that mpif90 is
      using the old fortran version, you need to install an  mpi library
      that uses your desired gfortran version. <br>
      <br>
      It is a little bit complicated but not very difficult, just takes
      a bit of time and patience,  you have just to download the source,
      better a not too old or not too new one , for example this one
      should work:    <br>
      <br>
<a class="moz-txt-link-freetext" href="https://download.open-mpi.org/release/open-mpi/v2.0/openmpi-2.0.4.tar.gz">https://download.open-mpi.org/release/open-mpi/v2.0/openmpi-2.0.4.tar.gz</a><br>
      <br>
      follow configure instructions taking care to enable f90 API and
      to   point  to the right fortran compiler. <br>
      It's up to you to decide whether it takes less time doing this  by
      yourself,  or convince the system administrator to help you ...<br>
      best wishes <br>
      Pietro <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      On 04/08/2019 01:53 AM, Fabio Costa wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CP2PR80MB192453E4DE82D4BE5A5A060CF2530@CP2PR80MB1924.lamprd80.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Dear Paolo and Pietro</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Thanks for the assistance, and sorry for the late reply on your
        advice.</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I contacted the system administrator, and he explained to me
        that as there are several other applications running under this
        old gfortran version, and because of that he could not just
        issue "sudo apt update gfortran", on the risk of messing up with
        all the other stuff currently running on the system. His advice
        to me was to manually install a newer version inside my
        workspace. </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I did that, and now I have both the native 4.4.6 and the 5.4.0
        gfortran compilers. I also added to my bashrc the line "export
        F90=/path/to/gfortran5.4.0/". When i run configure, it detects
        the gfortran v5.4.0, so I think that I did this right. At first,
        make all still crashes at phcg.x. I proceeded changing the lines
        in Makefile as Pietro sugested, and when compiling again it goes
        a bit further, but still crashes. To avoid these crashes, I
        tryed to compile just the packages I'm intending to use (pw, ph,
        w90 and epw). By issuing make pw, followed by make ph, make w90,
        the task is succesful, but It craches again when I issue make
        epw. The print screen of the error message is in the link: <a
          href="https://imgur.com/CerJStE" id="LPNoLP538207"
          moz-do-not-send="true">https://imgur.com/CerJStE</a> .<span></span></div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Also, I'm still getting the same errors with the compiled
        executables. About Paolo's advice, in my current situation,
        where I cant just update the whole thing, and kinda have two
        version of gfortran. I'm not sure if the crashes are because
        when  the executables run, they are still linking to the
        gfortran 4.4.6. What course of action would you sugest?</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Thank you for the assistance</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <div style="margin: 0px; font-size: 12pt; font-family: Calibri,
          Helvetica, sans-serif, serif, EmojiFont; color: black;
          background-color: rgb(255, 255, 255)">
          Fábio Costa</div>
        <div style="margin: 0px; font-size: 12pt; font-family: Calibri,
          Helvetica, sans-serif, serif, EmojiFont; color: black;
          background-color: rgb(255, 255, 255)">
          MSc student in physics</div>
        <div style="margin: 0px; font-size: 12pt; font-family: Calibri,
          Helvetica, sans-serif, serif, EmojiFont; color: black;
          background-color: rgb(255, 255, 255)">
          Federal University of Bahia, Brazil</div>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>De:</b> users
          <a class="moz-txt-link-rfc2396E" href="mailto:users-bounces@lists.quantum-espresso.org"><users-bounces@lists.quantum-espresso.org></a> em nome de
          Paolo Giannozzi <a class="moz-txt-link-rfc2396E" href="mailto:p.giannozzi@gmail.com"><p.giannozzi@gmail.com></a><br>
          <b>Enviado:</b> quinta-feira, 28 de março de 2019 11:40<br>
          <b>Para:</b> Quantum Espresso users Forum<br>
          <b>Assunto:</b> Re: [QE-users] Compilation on a server ends
          with error 1</font>
        <div> </div>
      </div>
      <div>
        <div dir="ltr">
          <div>There are two unrelated problems:</div>
          <div>- the linker is unable to find the main program in
            PHonon/Gamma. I have never seen this happen before, but the
            link is done in a slightly different way from all other
            cases and this will be fixed</div>
          <div>- the executable doesn't work likely due to a known
            problem of many old compilers with unallocated optional
            variables
            <br>
          </div>
          <div><br>
          </div>
          <div>Paolo</div>
          <div><br>
          </div>
        </div>
        <br>
        <div class="x_gmail_quote">
          <div dir="ltr" class="x_gmail_attr">On Thu, Mar 28, 2019 at
            3:47 AM Fabio Costa <<a
              href="mailto:fabiocosta4@hotmail.com"
              moz-do-not-send="true">fabiocosta4@hotmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="x_gmail_quote" style="margin:0px 0px 0px
            0.8ex; border-left:1px solid rgb(204,204,204);
            padding-left:1ex">
            <div dir="auto">
              <div dir="ltr"><span></span></div>
              <div dir="ltr">
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  Dear all</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  I'm trying to install QE-6.4 on a server, by doing the
                  usual procedure, ./configure and make all commands. </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  The configure step seems to be successful, but the
                  compilation fails after a couple minutes, with a
                  message "make: *** [ph] Error 1". Even with this
                  interruption, a few .x files are compiled, such as
                  pw.x, ph.x, etc., but when I try to run a calculation,
                  It also results in an error message.</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  Appologies for my not-so-much enlightening
                  description, as I myself could not extract many info
                  from the error messages, so I hope the print screens
                  will be more helpfull than I could.</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <a href="https://imgur.com/HeT8JMM"
                    id="x_gmail-m_3040549588911937843LPlnk552289"
                    target="_blank" moz-do-not-send="true">https://imgur.com/HeT8JMM</a></div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <a href="https://imgur.com/ZyyVGt3"
                    id="x_gmail-m_3040549588911937843LPlnk235944"
                    target="_blank" moz-do-not-send="true">https://imgur.com/ZyyVGt3</a></div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <a href="https://imgur.com/DyYlO4R"
                    id="x_gmail-m_3040549588911937843LPlnk250764"
                    target="_blank" moz-do-not-send="true">https://imgur.com/DyYlO4R</a><br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  Thanks in advance for any assistance</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  Fábio Costa</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  MSc student in physics</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  Federal University of Bahia, Brazil</div>
                <div
id="x_gmail-m_3040549588911937843LPBorder_GTaHR0cHM6Ly9pbWd1ci5jb20vRHlZbE80Ug.."
                  class="x_gmail-m_3040549588911937843LPBorder835332"
                  style="width:100%; margin-top:16px;
                  margin-bottom:16px; max-width:800px; min-width:424px">
                  <table
                    id="x_gmail-m_3040549588911937843LPContainer835332"
                    style="padding:12px 36px 12px 12px; width:100%;
                    border-width:1px; border-style:solid;
                    border-color:rgb(200,200,200); border-radius:2px">
                    <tbody>
                      <tr style="border-spacing:0px" valign="top">
                        <td>
                          <div
                            id="x_gmail-m_3040549588911937843LPImageContainer835332"
                            style="margin-right:12px; height:126px;
                            overflow:hidden; width:240px">
                            <a
                              id="x_gmail-m_3040549588911937843LPImageAnchor835332"
                              href="https://imgur.com/DyYlO4R"
                              target="_blank" moz-do-not-send="true"><img
id="x_gmail-m_3040549588911937843LPThumbnailImageId835332" alt=""
                                style="display:block"
                                src="https://i.imgur.com/DyYlO4R.png?fb"
                                moz-do-not-send="true" width="240"
                                height="126"></a></div>
                        </td>
                        <td style="width:100%">
                          <div
                            id="x_gmail-m_3040549588911937843LPTitle835332"
                            style="font-size:21px; font-weight:300;
                            margin-right:8px;
                            font-family:wf_segoe-ui_light,"Segoe UI
                            Light","Segoe WP
                            Light","Segoe UI","Segoe
                            WP",Tahoma,Arial,sans-serif;
                            margin-bottom:12px">
                            <a
                              id="x_gmail-m_3040549588911937843LPUrlAnchor835332"
                              href="https://imgur.com/DyYlO4R"
                              target="_blank"
                              style="text-decoration:none"
                              moz-do-not-send="true">Imgur</a></div>
                          <div
                            id="x_gmail-m_3040549588911937843LPDescription835332"
                            style="font-size:14px; max-height:100px;
                            color:rgb(102,102,102);
                            font-family:wf_segoe-ui_normal,"Segoe
                            UI","Segoe
                            WP",Tahoma,Arial,sans-serif;
                            margin-bottom:12px; margin-right:8px;
                            overflow:hidden">
                            Compilation error</div>
                          <div
                            id="x_gmail-m_3040549588911937843LPMetadata835332"
                            style="font-size:14px; font-weight:400;
                            color:rgb(166,166,166);
                            font-family:wf_segoe-ui_normal,"Segoe
                            UI","Segoe
                            WP",Tahoma,Arial,sans-serif">
                            <a href="http://imgur.com" target="_blank"
                              moz-do-not-send="true">imgur.com</a></div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
                <br>
                <div
id="x_gmail-m_3040549588911937843LPBorder_GTaHR0cHM6Ly9pbWd1ci5jb20vWnl5Vkd0Mw.."
                  class="x_gmail-m_3040549588911937843LPBorder948121"
                  style="width:100%; margin-top:16px;
                  margin-bottom:16px; max-width:800px; min-width:424px">
                  <table
                    id="x_gmail-m_3040549588911937843LPContainer948121"
                    style="padding:12px 36px 12px 12px; width:100%;
                    border-width:1px; border-style:solid;
                    border-color:rgb(200,200,200); border-radius:2px">
                    <tbody>
                      <tr style="border-spacing:0px" valign="top">
                        <td>
                          <div
                            id="x_gmail-m_3040549588911937843LPImageContainer948121"
                            style="margin-right:12px; height:126px;
                            overflow:hidden; width:240px">
                            <a
                              id="x_gmail-m_3040549588911937843LPImageAnchor948121"
                              href="https://imgur.com/ZyyVGt3"
                              target="_blank" moz-do-not-send="true"><img
id="x_gmail-m_3040549588911937843LPThumbnailImageId948121" alt=""
                                style="display:block"
                                src="https://i.imgur.com/ZyyVGt3.png?fb"
                                moz-do-not-send="true" width="240"
                                height="126"></a></div>
                        </td>
                        <td style="width:100%">
                          <div
                            id="x_gmail-m_3040549588911937843LPTitle948121"
                            style="font-size:21px; font-weight:300;
                            margin-right:8px;
                            font-family:wf_segoe-ui_light,"Segoe UI
                            Light","Segoe WP
                            Light","Segoe UI","Segoe
                            WP",Tahoma,Arial,sans-serif;
                            margin-bottom:12px">
                            <a
                              id="x_gmail-m_3040549588911937843LPUrlAnchor948121"
                              href="https://imgur.com/ZyyVGt3"
                              target="_blank"
                              style="text-decoration:none"
                              moz-do-not-send="true">Imgur</a></div>
                          <div
                            id="x_gmail-m_3040549588911937843LPDescription948121"
                            style="font-size:14px; max-height:100px;
                            color:rgb(102,102,102);
                            font-family:wf_segoe-ui_normal,"Segoe
                            UI","Segoe
                            WP",Tahoma,Arial,sans-serif;
                            margin-bottom:12px; margin-right:8px;
                            overflow:hidden">
                            configure output</div>
                          <div
                            id="x_gmail-m_3040549588911937843LPMetadata948121"
                            style="font-size:14px; font-weight:400;
                            color:rgb(166,166,166);
                            font-family:wf_segoe-ui_normal,"Segoe
                            UI","Segoe
                            WP",Tahoma,Arial,sans-serif">
                            <a href="http://imgur.com" target="_blank"
                              moz-do-not-send="true">imgur.com</a></div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
                <br>
                <div
id="x_gmail-m_3040549588911937843LPBorder_GTaHR0cHM6Ly9pbWd1ci5jb20vSGVUOEpNTQ.."
                  class="x_gmail-m_3040549588911937843LPBorder350844"
                  style="width:100%; margin-top:16px;
                  margin-bottom:16px; max-width:800px; min-width:424px">
                  <table
                    id="x_gmail-m_3040549588911937843LPContainer350844"
                    style="padding:12px 36px 12px 12px; width:100%;
                    border-width:1px; border-style:solid;
                    border-color:rgb(200,200,200); border-radius:2px">
                    <tbody>
                      <tr style="border-spacing:0px" valign="top">
                        <td>
                          <div
                            id="x_gmail-m_3040549588911937843LPImageContainer350844"
                            style="margin-right:12px; height:126px;
                            overflow:hidden; width:240px">
                            <a
                              id="x_gmail-m_3040549588911937843LPImageAnchor350844"
                              href="https://imgur.com/HeT8JMM"
                              target="_blank" moz-do-not-send="true"><img
id="x_gmail-m_3040549588911937843LPThumbnailImageId350844" alt=""
                                style="display:block"
                                src="https://i.imgur.com/HeT8JMM.png?fb"
                                moz-do-not-send="true" width="240"
                                height="126"></a></div>
                        </td>
                        <td style="width:100%">
                          <div
                            id="x_gmail-m_3040549588911937843LPTitle350844"
                            style="font-size:21px; font-weight:300;
                            margin-right:8px;
                            font-family:wf_segoe-ui_light,"Segoe UI
                            Light","Segoe WP
                            Light","Segoe UI","Segoe
                            WP",Tahoma,Arial,sans-serif;
                            margin-bottom:12px">
                            <a
                              id="x_gmail-m_3040549588911937843LPUrlAnchor350844"
                              href="https://imgur.com/HeT8JMM"
                              target="_blank"
                              style="text-decoration:none"
                              moz-do-not-send="true">Imgur</a></div>
                          <div
                            id="x_gmail-m_3040549588911937843LPDescription350844"
                            style="font-size:14px; max-height:100px;
                            color:rgb(102,102,102);
                            font-family:wf_segoe-ui_normal,"Segoe
                            UI","Segoe
                            WP",Tahoma,Arial,sans-serif;
                            margin-bottom:12px; margin-right:8px;
                            overflow:hidden">
                            pw.x error</div>
                          <div
                            id="x_gmail-m_3040549588911937843LPMetadata350844"
                            style="font-size:14px; font-weight:400;
                            color:rgb(166,166,166);
                            font-family:wf_segoe-ui_normal,"Segoe
                            UI","Segoe
                            WP",Tahoma,Arial,sans-serif">
                            <a href="http://imgur.com" target="_blank"
                              moz-do-not-send="true">imgur.com</a></div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <div dir="ltr"><br>
              </div>
              <div dir="ltr"><br>
              </div>
              <div dir="ltr"><br>
              </div>
            </div>
            _______________________________________________<br>
            users mailing list<br>
            <a href="mailto:users@lists.quantum-espresso.org"
              target="_blank" moz-do-not-send="true">users@lists.quantum-espresso.org</a><br>
            <a
              href="https://lists.quantum-espresso.org/mailman/listinfo/users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
        </div>
        <br clear="all">
        <br>
        -- <br>
        <div dir="ltr" class="x_gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>Paolo Giannozzi, Dip. Scienze Matematiche
                  Informatiche e Fisiche,<br>
                  Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
                  Phone +39-0432-558216, fax +39-0432-558222<br>
                  <br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a>
<a class="moz-txt-link-freetext" href="https://lists.quantum-espresso.org/mailman/listinfo/users">https://lists.quantum-espresso.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>