<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Yes, for this we would want to
      introduce multiple different reals.<br>
      <br>
      Cheers,<br>
      <br>
      Berk<br>
      <br>
      On 02/25/2013 04:37 PM, Szil&aacute;rd P&aacute;ll wrote:<br>
    </div>
    <blockquote
cite="mid:CANnYEw60ohq96yg9+9abS5Q0dmTQ_zW0o_LTeQj_SO72xP2X-Q@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr"><span
          style="font-family:arial,sans-serif;font-size:13px">One thing
          to note is that we would like to have an additional mixed
          precision scheme, hopefully in 5.0. The idea is that part of
          the code, like force calculations, would run in single
          precision with fixed precision accumulators/reduction and&nbsp;</span><span
          style="font-family:arial,sans-serif;font-size:13px">double</span><span
          style="font-family:arial,sans-serif;font-size:13px">&nbsp;for
          whatever it makes sense/is useful. Using real everywhere could
          make achieving this quite difficult, right?</span><br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>--<br>
          Szil&aacute;rd</div>
        <br>
        <br>
        <div class="gmail_quote">On Mon, Feb 25, 2013 at 3:50 PM, Mark
          Abraham <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:mark.j.abraham@gmail.com" target="_blank">mark.j.abraham@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            I'm not aware of a need to change the way we implement this.
            <div><br>
            </div>
            <div>Berk and I have mooted the desirability of switching
              our naming scheme to "double-" vs "mixed-precision" on the
              grounds that aspects of the virial computation have been
              in double precision for a long time. We may as well avoid
              people leaping to the conclusion that "single-precision"
              GROMACS must be dodgy because you need double precision
              for some aspects of the algorithm.<span class="HOEnZb"><font
                  color="#888888"><br>
                  <br>
                  Mark</font></span></div>
            <div class="HOEnZb">
              <div class="h5">
                <div><br>
                  <div class="gmail_quote">On Sun, Feb 24, 2013 at 10:09
                    PM, David van der Spoel <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:spoel@xray.bmc.uu.se"
                        target="_blank">spoel@xray.bmc.uu.se</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
                      <br>
                      did we decide on how to treat real variables in
                      C++?<br>
                      There is nothing stopping us from keeping the same<br>
                      <br>
                      #ifdef GMX_DOUBLE<br>
                      typedef double real;<br>
                      #else<br>
                      typedef float real;<br>
                      #endif<br>
                      <br>
                      that we have use for decades. Or is there reason
                      to change it?<br>
                      <br>
                      Cheers,<span><font color="#888888"><br>
                          -- <br>
                          David van der Spoel, Ph.D., Professor of
                          Biology<br>
                          Dept. of Cell &amp; Molec. Biol., Uppsala
                          University.<br>
                          Box 596, 75124 Uppsala, Sweden. Phone: &nbsp;<a
                            moz-do-not-send="true"
                            href="tel:%2B46184714205"
                            value="+46184714205" target="_blank">+46184714205</a>.<br>
                          <a moz-do-not-send="true"
                            href="mailto:spoel@xray.bmc.uu.se"
                            target="_blank">spoel@xray.bmc.uu.se</a> &nbsp; &nbsp;<a
                            moz-do-not-send="true"
                            href="http://folding.bmc.uu.se"
                            target="_blank">http://folding.bmc.uu.se</a><br>
                          -- <br>
                          gmx-developers mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:gmx-developers@gromacs.org"
                            target="_blank">gmx-developers@gromacs.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.gromacs.org/mailman/listinfo/gmx-developers"
                            target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
                          Please don't post (un)subscribe requests to
                          the list. Use the www interface or send it to
                          <a moz-do-not-send="true"
                            href="mailto:gmx-developers-request@gromacs.org"
                            target="_blank">gmx-developers-request@gromacs.org</a>.<br>
                        </font></span></blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            --<br>
            gmx-developers mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.gromacs.org/mailman/listinfo/gmx-developers"
              target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
            Please don't post (un)subscribe requests to the list. Use
            the<br>
            www interface or send it to <a moz-do-not-send="true"
              href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>