<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    I did not follow the discussion, but I can confirm that doing openmp
    operation on function results with intel compiler (2013 and 2014,
    afaik) results in all kind of eisenbugs.<br>
    <br>
    cheers<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/01/2014 01:14 PM, Filippo Spiga
      wrote:<br>
    </div>
    <blockquote
      cite="mid:86042A5E-077F-4568-869E-0622D48C7BAF@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      FYI Gabriele's email bounced back, here below his message!
      <div class=""><br class="">
      </div>
      <div class="">F<br class="">
        <div class="">
          <div><br class="">
            <blockquote type="cite" class="">
              <div class="">Begin forwarded message:</div>
              <br class="Apple-interchange-newline">
              <div style="margin-top: 0px; margin-right: 0px;
                margin-bottom: 0px; margin-left: 0px;" class=""><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif; color:rgba(0, 0, 0,
                  1.0);" class=""><b class="">From: </b></span><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif;" class="">Gabriele
                  Sclauzero <<a moz-do-not-send="true"
                    href="mailto:gurlomail@gmail.com" class="">gurlomail@gmail.com</a>><br
                    class="">
                </span></div>
              <div style="margin-top: 0px; margin-right: 0px;
                margin-bottom: 0px; margin-left: 0px;" class=""><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif; color:rgba(0, 0, 0,
                  1.0);" class=""><b class="">Subject: </b></span><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif;" class=""><b class="">Re:
                    [Q-e-developers] vdw-d failing test (./check-pw.x.j)</b><br
                    class="">
                </span></div>
              <div style="margin-top: 0px; margin-right: 0px;
                margin-bottom: 0px; margin-left: 0px;" class=""><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif; color:rgba(0, 0, 0,
                  1.0);" class=""><b class="">Date: </b></span><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif;" class="">October 31,
                  2014 at 7:13:37 PM GMT<br class="">
                </span></div>
              <div style="margin-top: 0px; margin-right: 0px;
                margin-bottom: 0px; margin-left: 0px;" class=""><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif; color:rgba(0, 0, 0,
                  1.0);" class=""><b class="">Cc: </b></span><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif;" class="">General
                  discussion list for Quantum ESPRESSO developers <<a
                    moz-do-not-send="true"
                    href="mailto:q-e-developers@qe-forge.org" class="">q-e-developers@qe-forge.org</a>><br
                    class="">
                </span></div>
              <div style="margin-top: 0px; margin-right: 0px;
                margin-bottom: 0px; margin-left: 0px;" class=""><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif; color:rgba(0, 0, 0,
                  1.0);" class=""><b class="">To: </b></span><span
                  style="font-family: -webkit-system-font, Helvetica
                  Neue, Helvetica, sans-serif;" class=""><a
                    moz-do-not-send="true"
                    href="mailto:spiga.filippo@gmail.com" class="">spiga.filippo@gmail.com</a><br
                    class="">
                </span></div>
              <br class="">
              <div class="">
                <meta http-equiv="Content-Type" content="text/html;
                  charset=windows-1252" class="">
                <div style="word-wrap: break-word; -webkit-nbsp-mode:
                  space; -webkit-line-break: after-white-space;"
                  class="">Dear Filippo,
                  <div class=""><br class="">
                  </div>
                  <div class="">    Indeed, that commit was intended to
                    fix a problem of OpenMP parallelization in the
                    calculation of forces with Grimme’s dispersion
                    (mm_dispersion.f90 module). The problem shows up
                    with some Intel compilers, but it doesn’t with the
                    GNU ones (so, it might be a bug of the Intel
                    compiler, perhaps). If you look inside vdw-d.out and
                    you find that the output stops just before printing
                    out the forces, it is likely the same problem that I
                    have met.</div>
                  <div class="">The workaround consists in doing the
                    reduction on an auxiliary array, aux(:), instead of
                    doing it directly on force_london(:,:).</div>
                  <div class="">The latter is an array with two
                    dimensions, so I think this confuses the OpenMP
                    compilation part (for Intel, at least). Anyway, the
                    fix seems to do the job without sacrificing
                    performance. </div>
                  <div class=""><br class="">
                  </div>
                  <div class="">Ciao,</div>
                  <div class=""><br class="">
                  </div>
                  <div class="">Gabriele</div>
                </div>
              </div>
            </blockquote>
          </div>
          <br class="">
          <div apple-content-edited="true" class="">
            <div style="color: rgb(0, 0, 0); font-family: Helvetica;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: normal;
              orphans: 2; text-align: -webkit-auto; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;" class="">
              <div style="color: rgb(0, 0, 0); font-family: Helvetica;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; line-height: normal;
                orphans: 2; text-align: -webkit-auto; text-indent: 0px;
                text-transform: none; white-space: normal; widows: 2;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                word-wrap: break-word; -webkit-nbsp-mode: space;
                -webkit-line-break: after-white-space;" class="">
                <div style="color: rgb(0, 0, 0); font-family: Helvetica;
                  font-style: normal; font-variant: normal; font-weight:
                  normal; letter-spacing: normal; line-height: normal;
                  orphans: 2; text-align: -webkit-auto; text-indent:
                  0px; text-transform: none; white-space: normal;
                  widows: 2; word-spacing: 0px;
                  -webkit-text-stroke-width: 0px; word-wrap: break-word;
                  -webkit-nbsp-mode: space; -webkit-line-break:
                  after-white-space;" class="">
                  <div style="color: rgb(0, 0, 0); font-family:
                    Helvetica; font-style: normal; font-variant: normal;
                    font-weight: normal; letter-spacing: normal;
                    line-height: normal; orphans: 2; text-align:
                    -webkit-auto; text-indent: 0px; text-transform:
                    none; white-space: normal; widows: 2; word-spacing:
                    0px; -webkit-text-stroke-width: 0px; word-wrap:
                    break-word; -webkit-nbsp-mode: space;
                    -webkit-line-break: after-white-space;" class="">
                    <div style="color: rgb(0, 0, 0); font-family:
                      Helvetica; font-style: normal; font-variant:
                      normal; font-weight: normal; letter-spacing:
                      normal; line-height: normal; orphans: 2;
                      text-align: -webkit-auto; text-indent: 0px;
                      text-transform: none; white-space: normal; widows:
                      2; word-spacing: 0px; -webkit-text-stroke-width:
                      0px; word-wrap: break-word; -webkit-nbsp-mode:
                      space; -webkit-line-break: after-white-space;"
                      class="">
                      <div style="color: rgb(0, 0, 0); font-family:
                        Helvetica; font-style: normal; font-variant:
                        normal; font-weight: normal; letter-spacing:
                        normal; line-height: normal; orphans: 2;
                        text-align: -webkit-auto; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        widows: 2; word-spacing: 0px;
                        -webkit-text-stroke-width: 0px; word-wrap:
                        break-word; -webkit-nbsp-mode: space;
                        -webkit-line-break: after-white-space;" class=""><span
                          class="Apple-style-span"
                          style="border-collapse: separate; orphans: 2;
                          text-align: -webkit-auto; text-indent: 0px;
                          widows: 2; border-spacing: 0px;">
                          <div style="word-wrap: break-word;
                            -webkit-nbsp-mode: space;
                            -webkit-line-break: after-white-space;"
                            class=""><span class="Apple-style-span"
                              style="border-collapse: separate; orphans:
                              2; text-align: -webkit-auto; text-indent:
                              0px; widows: 2; border-spacing: 0px;">
                              <div style="word-wrap: break-word;
                                -webkit-nbsp-mode: space;
                                -webkit-line-break: after-white-space;"
                                class=""><span class="Apple-style-span"
                                  style="border-collapse: separate;
                                  orphans: 2; text-align: -webkit-auto;
                                  text-indent: 0px; widows: 2;
                                  border-spacing: 0px;">
                                  <div style="word-wrap: break-word;
                                    -webkit-nbsp-mode: space;
                                    -webkit-line-break:
                                    after-white-space;" class=""><span
                                      class="Apple-style-span"
                                      style="border-collapse: separate;
                                      orphans: 2; text-align:
                                      -webkit-auto; text-indent: 0px;
                                      widows: 2; border-spacing: 0px;">
                                      <div style="word-wrap: break-word;
                                        -webkit-nbsp-mode: space;
                                        -webkit-line-break:
                                        after-white-space;" class=""><span
                                          class="Apple-style-span"
                                          style="border-collapse:
                                          separate; orphans: 2;
                                          text-align: -webkit-auto;
                                          text-indent: 0px; widows: 2;
                                          border-spacing: 0px;">
                                          <div style="word-wrap:
                                            break-word;
                                            -webkit-nbsp-mode: space;
                                            -webkit-line-break:
                                            after-white-space;" class=""><span
                                              class="Apple-style-span"
                                              style="border-collapse:
                                              separate; orphans: 2;
                                              text-align: -webkit-auto;
                                              text-indent: 0px; widows:
                                              2; border-spacing: 0px;">
                                              <div style="word-wrap:
                                                break-word;
                                                -webkit-nbsp-mode:
                                                space;
                                                -webkit-line-break:
                                                after-white-space;"
                                                class=""><span
                                                  class="Apple-style-span"
                                                  style="border-collapse:
                                                  separate; orphans: 2;
                                                  text-indent: 0px;
                                                  widows: 2;
                                                  border-spacing: 0px;">
                                                  <div style="word-wrap:
                                                    break-word;
                                                    -webkit-nbsp-mode:
                                                    space;
                                                    -webkit-line-break:
                                                    after-white-space;"
                                                    class=""><span
                                                      class="Apple-style-span"
                                                      style="border-collapse:
                                                      separate; orphans:
                                                      2; text-indent:
                                                      0px; widows: 2;
                                                      border-spacing:
                                                      0px;">
                                                      <div
                                                        style="word-wrap:
                                                        break-word;
                                                        -webkit-nbsp-mode:
                                                        space;
                                                        -webkit-line-break:
after-white-space;" class=""><span class="Apple-style-span"
                                                          style="border-collapse:
                                                          separate;
                                                          orphans: 2;
                                                          text-indent:
                                                          0px; widows:
                                                          2;
                                                          border-spacing:
                                                          0px;">
                                                          <div
                                                          style="word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class=""><span class="Apple-style-span"
                                                          style="border-collapse:
                                                          separate;
                                                          orphans: 2;
                                                          text-indent:
                                                          0px; widows:
                                                          2;
                                                          border-spacing:
                                                          0px;">
                                                          <div
                                                          style="word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class=""><span class="Apple-style-span"
                                                          style="border-collapse:
                                                          separate;
                                                          orphans: 2;
                                                          text-indent:
                                                          0px; widows:
                                                          2;
                                                          border-spacing:
                                                          0px;">
                                                          <div
                                                          style="word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class=""><span class="Apple-style-span"
                                                          style="border-collapse:
                                                          separate;
                                                          orphans: 2;
                                                          text-indent:
                                                          0px; widows:
                                                          2;
                                                          border-spacing:
                                                          0px;">
                                                          <div
                                                          style="word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class=""><span class="Apple-style-span"
                                                          style="border-collapse:
                                                          separate;
                                                          orphans: 2;
                                                          text-indent:
                                                          0px; widows:
                                                          2;
                                                          border-spacing:
                                                          0px;">
                                                          <div
                                                          style="word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class=""><span class="Apple-style-span"
                                                          style="border-collapse:
                                                          separate;
                                                          orphans: 2;
                                                          text-indent:
                                                          0px; widows:
                                                          2;
                                                          border-spacing:
                                                          0px;">
                                                          <div
                                                          style="word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class="">--<br class="">
                                                          Mr. Filippo
                                                          SPIGA, M.Sc.</div>
                                                          <div
                                                          style="word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class=""><span style="text-align: -webkit-auto;"
                                                          class=""><a
                                                          moz-do-not-send="true"
href="http://filippospiga.info" class="">http://filippospiga.info</a></span> ~
                                                          skype:
                                                          filippo.spiga<br
                                                          class="">
                                                          <br class="">
                                                          «Nobody will
                                                          drive us out
                                                          of
                                                          Cantor's paradise.»
                                                          ~ David
                                                          Hilbert</div>
                                                          <div
                                                          style="color:
                                                          rgb(0, 0, 0);
                                                          font-family:
                                                          Helvetica;
                                                          font-style:
                                                          normal;
                                                          font-variant:
                                                          normal;
                                                          font-weight:
                                                          normal;
                                                          letter-spacing:
                                                          normal;
                                                          line-height:
                                                          normal;
                                                          text-transform:
                                                          none;
                                                          white-space:
                                                          normal;
                                                          word-spacing:
                                                          0px;
                                                          -webkit-text-decorations-in-effect:
                                                          none;
                                                          -webkit-text-stroke-width:
                                                          0px;
                                                          word-wrap:
                                                          break-word;
                                                          -webkit-nbsp-mode:
                                                          space;
                                                          -webkit-line-break:
after-white-space;" class=""><br class="">
                                                          *****<br
                                                          class="">
                                                          Disclaimer:
                                                          "Please note
                                                          this message
                                                          and any
                                                          attachments
                                                          are CONFIDENTIAL
                                                          and may be
                                                          privileged or
                                                          otherwise
                                                          protected from
                                                          disclosure.
                                                          The contents
                                                          are not to be
                                                          disclosed to
                                                          anyone other
                                                          than the
                                                          addressee.
                                                          Unauthorized
                                                          recipients are
                                                          requested to
                                                          preserve this
                                                          confidentiality
                                                          and to advise
                                                          the
                                                          sender immediately
                                                          of any error
                                                          in
                                                          transmission."<br
                                                          class="">
                                                          <br class="">
                                                          </div>
                                                          </span></div>
                                                          </span></div>
                                                          </span></div>
                                                          </span></div>
                                                          </span></div>
                                                        </span></div>
                                                    </span></div>
                                                </span></div>
                                            </span></div>
                                        </span></div>
                                    </span></div>
                                </span></div>
                            </span></div>
                        </span></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br class="">
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Q-e-developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Q-e-developers@qe-forge.org">Q-e-developers@qe-forge.org</a>
<a class="moz-txt-link-freetext" href="http://qe-forge.org/mailman/listinfo/q-e-developers">http://qe-forge.org/mailman/listinfo/q-e-developers</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dr. Lorenzo Paulatto
IdR @ IMPMC -- CNRS & Université Paris 6
+33 (0)1 44 275 084 / skype: paulatz
<a class="moz-txt-link-freetext" href="http://www-int.impmc.upmc.fr/~paulatto/">http://www-int.impmc.upmc.fr/~paulatto/</a>
23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05 </pre>
  </body>
</html>