<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Apologies for a very late reply (too
      much travel).<br>
      <br>
      I will talk to PGI about this and see what they have to say. I'll
      report back if I learn anything.<br>
      <br>
      Thanks!<br>
      <br>
      Jeff<br>
      <br>
      <br>
    </div>
    <blockquote type="cite" cite="mid:CAGKz=uJxB0tp4Zu8pbrQWB5d8i-c0exRRgwV1Z+71RpMdyKPVg@mail.gmail.com">
      <div dir="ltr">The problem exists in PGI 18 but not PGI 17.  This
        seems like a PGI bug rather than an MPICH one.
        <div><br>
        </div>
        <div>Jeff</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Jul 20, 2018 at 8:24 AM, Jeff
          Layton <span dir="ltr"><<a href="mailto:laytonjb@att.net" target="_blank" moz-do-not-send="true">laytonjb@att.net</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="m_-526212910286390090moz-cite-prefix">I fixed
                this problem and I get the exact same error. Again, I
                grepped config.log and found the following.<br>
                <br>
                <br>
                $ grep -i error config.log<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19403">
                pgcc-Error-Unknown switch: -qversion<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19404">
                PGC/x86-64 Linux 18.4-0: compilation completed with
                severe errors<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19405">
                PGC-S-0035-Syntax error: Recovery attempted by replacing
                identifier error by ';' (conftest.c: 14)<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19406">
                PGC/x86-64 Linux 18.4-0: compilation completed with
                severe errors<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19407">
                |                    Syntax error<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19408">
                PGC-S-0035-Syntax error: Recovery attempted by replacing
                identifier error by ';' (conftest.c: 14)<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19409">
                PGC/x86-64 Linux 18.4-0: compilation completed with
                severe errors<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19410">
                |                    Syntax error<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19411">
                configure:5951: error: in `/home/laytonjb/src/mpich-3.2.<wbr>1':<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19412">
                configure:5953: error: C preprocessor
                "/opt/pgi/linux86-64/18.4/bin/<wbr>pgcc" fails sanity
                check<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19413">
                HAVE_ERROR_CHECKING=''<br id="m_-526212910286390090yui_3_16_0_ym19_1_1532042154068_19414">
                MPI_MAX_ERROR_STRING=''<br>
                <br>
                <br>
                <br>
                I'm not an expert but it looks like configure sends an
                unknown option to pgcc (-qversion). Then there appear to
                be some problems in mpich when built with pgcc.<br>
                <br>
                Any comments or thoughts?<br>
                <br>
                Thanks!<br>
                <br>
                Jeff<br>
                <br>
                <br>
              </div>
              <blockquote type="cite">Dooh. Thanks - I'll try this and
                see what happens. <br>
                <br>
                Thanks! <br>
                <br>
                Jeff <br>
                <br>
                <blockquote type="cite">
                  <blockquote type="cite">Am 19.07.2018 um 01:19 schrieb
                    Jeff Layton <a class="m_-526212910286390090moz-txt-link-rfc2396E" href="mailto:laytonjb@att.net" target="_blank" moz-do-not-send="true"><laytonjb@att.net></a>:
                    <br>
                    <br>
                    Hello, <br>
                    <br>
                    I'm trying to build mpich-3.2.1 with the PGI 18.4
                    Community Edition compilers. However, I get an error
                    when running configure. The configure line is, <br>
                    <br>
                    ./configure --prefix=/home/laytonjb/bin/<wbr>pgi-18.4-mpich-3.2.1
                    <br>
                    <br>
                    The error I get is, <br>
                    <br>
                    [laytonjb@laytonjb-Lenovo-G50-<wbr>45 mpich-3.2.1]$
                    ./conf.jeff <br>
                    Configuring MPICH version 3.2.1 with 
                    '--prefix=/home/laytonjb/bin/<wbr>pgi-18.4-mpich-3.2.1'
                    'CC=/opt/pgi/linux86-64/18.4/<wbr>bin/pgcc'
                    'CPP=/opt/pgi/linux86-64/18.4/<wbr>bin/pgcc'
                    'CXX=/opt/pgi/linux86-64/18.4/<wbr>bin/pgg++'
                    'FC=/opt/pgi/linux86-64/18.4/<wbr>bin/pgfortran' <br>
                  </blockquote>
                  pgg++ seems to be typo, duno whether this is related.
                  <br>
                  <br>
                  -- Reuti <br>
                  <br>
                  <br>
                  <blockquote type="cite">'F77=/opt/pgi/linux86-64/18.4/<wbr>bin/pgf77'
                    <br>
                    Running on system: Linux laytonjb-Lenovo-G50-45
                    3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25
                    20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux <br>
                    checking whether the C compiler works... yes <br>
                    checking for C compiler default output file name...
                    a.out <br>
                    checking for suffix of executables... <br>
                    checking whether we are cross compiling... no <br>
                    checking for suffix of object files... o <br>
                    checking whether we are using the GNU C compiler...
                    no <br>
                    checking whether /opt/pgi/linux86-64/18.4/bin/<wbr>pgcc
                    accepts -g... yes <br>
                    checking for /opt/pgi/linux86-64/18.4/bin/<wbr>pgcc
                    option to accept ISO C89... none needed <br>
                    checking whether /opt/pgi/linux86-64/18.4/bin/<wbr>pgcc
                    understands -c and -o together... yes <br>
                    checking how to run the C preprocessor...
                    /opt/pgi/linux86-64/18.4/bin/<wbr>pgcc <br>
                    configure: error: in `/home/laytonjb/src/mpich-3.2.<wbr>1':
                    <br>
                    configure: error: C preprocessor
                    "/opt/pgi/linux86-64/18.4/bin/<wbr>pgcc" fails
                    sanity check <br>
                    See `config.log' for more details <br>
                    <br>
                    I've briefly looked through the config.log and this
                    is all that stands out: <br>
                    <br>
                    <br>
                    $ grep -i error config.log <br>
                    pgcc-Error-Unknown switch: -qversion <br>
                    PGC/x86-64 Linux 18.4-0: compilation completed with
                    severe errors <br>
                    PGC-S-0035-Syntax error: Recovery attempted by
                    replacing identifier error by ';' (conftest.c: 14) <br>
                    PGC/x86-64 Linux 18.4-0: compilation completed with
                    severe errors <br>
                    |                    Syntax error <br>
                    PGC-S-0035-Syntax error: Recovery attempted by
                    replacing identifier error by ';' (conftest.c: 14) <br>
                    PGC/x86-64 Linux 18.4-0: compilation completed with
                    severe errors <br>
                    |                    Syntax error <br>
                    configure:5951: error: in
                    `/home/laytonjb/src/mpich-3.2.<wbr>1': <br>
                    configure:5953: error: C preprocessor
                    "/opt/pgi/linux86-64/18.4/bin/<wbr>pgcc" fails
                    sanity check <br>
                    HAVE_ERROR_CHECKING='' <br>
                    MPI_MAX_ERROR_STRING='' <br>
                    <br>
                    I'm not sure how to fix this error. I've attached
                    the config.log file in case this helps. <br>
                    <br>
                    Thanks for any and all help. <br>
                    <br>
                    Jeff <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <config.log>__________________<wbr>_____________________________
                    <br>
                    discuss mailing list     <a class="m_-526212910286390090moz-txt-link-abbreviated" href="mailto:discuss@mpich.org" target="_blank" moz-do-not-send="true">discuss@mpich.org</a> <br>
                    To manage subscription options or unsubscribe: <br>
                    <a class="m_-526212910286390090moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank" moz-do-not-send="true">https://lists.mpich.org/<wbr>mailman/listinfo/discuss</a>
                    <br>
                  </blockquote>
                  <br>
                </blockquote>
                <br>
                ______________________________<wbr>_________________ <br>
                discuss mailing list     <a class="m_-526212910286390090moz-txt-link-abbreviated" href="mailto:discuss@mpich.org" target="_blank" moz-do-not-send="true">discuss@mpich.org</a> <br>
                To manage subscription options or unsubscribe: <br>
                <a class="m_-526212910286390090moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank" moz-do-not-send="true">https://lists.mpich.org/<wbr>mailman/listinfo/discuss</a>
                <br>
                <br>
              </blockquote>
              <p><br>
              </p>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            discuss mailing list     <a href="mailto:discuss@mpich.org" moz-do-not-send="true">discuss@mpich.org</a><br>
            To manage subscription options or unsubscribe:<br>
            <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.mpich.org/<wbr>mailman/listinfo/discuss</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">Jeff
          Hammond<br>
          <a href="mailto:jeff.science@gmail.com" target="_blank" moz-do-not-send="true">jeff.science@gmail.com</a><br>
          <a href="http://jeffhammond.github.io/" target="_blank" moz-do-not-send="true">http://jeffhammond.github.io/</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
discuss mailing list     <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>