<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Dear Sayan,</p>
    <p> The procedure that you are following looks good, just remember
      to run ./install/makedeps.sh after step 2 below. Anyway, the error
      that you get can be linked to the failure of the step 1, and it
      seems related to your sed installation. In which environment are
      you trying to compile QE?</p>
    <p>Best,</p>
    <p>Francesco Nattino,</p>
    <p>EPFL<br>
    </p>
    <div class="moz-cite-prefix">On 8/15/19 04:19, Sayan Banerjee wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKH=WcxPW7rySO1As9h5xng6tNJgm5PKa=byXJFu=dWXk2CYPA@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-family:georgia,serif"><br
            clear="all">
        </div>
        <div>
          <div class="gmail_default" style="font-family:georgia,serif">Dear
            users and developers of QE,</div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">Hi,</div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">I
            have been trying to add ENVIRON extension with the compiled
            6.2.1. I'm following the same protocol given the ENVIRON
            documentation. </div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">1.
            after </div>
          <div class="gmail_default" style="font-family:georgia,serif">./install/addsonpatch.sh
            Environ Environ/src Modules -patch</div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">I'm
            getting</div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">*
            I will try to patch needed files for integrated compilation
            ... -- Executing pre script sed does not work! Error
            message: ********** ********** Please install a recent
            version of the GNU sed utility and try again.<br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">I
            have updated the sed, but I got the same thing.</div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">2
            after ./Environ/patches/environpatch.sh -patch.  </div>
          <div class="gmail_default" style="font-family:georgia,serif">--
            Applying patches to pw * I will try to patch PW/src with
            Environ version 1.1 ... sed: can't read plugin_check.f90: No
            such file or directory - DONE! -- Applying patches to cp * I
            will try to patch CPV/src with Environ version 1.1 ... -
            DONE! -- Applying patches to td * I will try to patch
            TDDFPT/src with Environ version 1.1 ... - DONE!<br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">3.
            After recompiling I'm getting-</div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">plugin_print_energies.f90(25):
            error #7002: Error in opening the compiled module file.
            Check INCLUDE paths. [ENVIRON_OUTPUT] USE environ_output,
            ONLY : environ_print_energies, & -------^
            plugin_print_energies.f90(38): error #6406: Conflicting
            attributes or multiple declaration of name.
            [ENVIRON_PRINT_ENERGIES] CALL environ_print_energies()
            ----------^ plugin_print_energies.f90(40): error #6406:
            Conflicting attributes or multiple declaration of name.
            [ENVIRON_PRINT_POTENTIAL_WARNING] CALL
            environ_print_potential_warning() ------------^
            plugin_print_energies.f90(25): error #6580: Name in
            only-list does not exist or is not accessible.
            [ENVIRON_PRINT_ENERGIES] USE environ_output, ONLY :
            environ_print_energies, &
            ------------------------------^
            plugin_print_energies.f90(26): error #6580: Name in
            only-list does not exist or is not accessible.
            [ENVIRON_PRINT_POTENTIAL_WARNING]
            environ_print_potential_warning
            ------------------------------^ compilation aborted for
            plugin_print_energies.f90 (code 1)<br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">make[2]:
            *** [../../make.inc:17: plugin_print_energies.o] Error 1
            make[2]: Leaving directory './PW/src' make[1]: ***
            [Makefile:9: pw] Error 1 make[1]: Leaving directory '/PW'
            make: *** [Makefile:69: pw] Error 1<br>
          </div>
          <div><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">Please
            let me know how to install it properly.</div>
          <div class="gmail_default" style="font-family:georgia,serif"><br>
          </div>
          <div class="gmail_default" style="font-family:georgia,serif">Thanks
            & Regards,</div>
          <div class="gmail_default" style="font-family:georgia,serif">Sayan</div>
          <br>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature"
          data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <div><b
                                            style="font-family:"trebuchet
                                            ms",sans-serif"><font
                                              color="#3d85c6">Sayan
                                              Banerjee</font></b><br>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr"><font
                                          face="trebuchet ms,
                                          sans-serif"><font size="2"
                                            color="#000000">Gra</font></font><font
                                          face="trebuchet ms,
                                          sans-serif"><font size="2"
                                            color="#000000">duate
                                            Student</font></font><br>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <div><font face="trebuchet ms,
                                            sans-serif"><font
                                              color="#000000">Department
                                              of Chemistry </font><b><font
                                                color="#45818e">|</font></b><font
                                              color="#000000"> </font><span
                                              style="color:rgb(0,0,0)">University
                                              of Pennsylvania, </span></font></div>
                                        <div><span
                                            style="color:rgb(0,0,0);font-family:"trebuchet
                                            ms",sans-serif">Philadelphia,
                                            PA </span><font
                                            face="trebuchet ms,
                                            sans-serif" color="#000000">19104-6323 </font></div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Quantum ESPRESSO is supported by MaX (<a class="moz-txt-link-abbreviated" href="http://www.max-centre.eu/quantum-espresso">www.max-centre.eu/quantum-espresso</a>)
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>
  </body>
</html>