<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 13, 2017 at 3:48 AM, Vaz, Guilherme <span dir="ltr"><<a href="mailto:G.Vaz@marin.nl" target="_blank">G.Vaz@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p>Dear all,<br>
</p>
<p><span style="font-size:12pt">I am trying to install PETSC on a Cray XC40 system (Hazelhen) with the usual Cray wrappers for Intel compilers, with some chosen external packages and MKL libraries.</span><br></p>
<p>I read some threads in the mailing list about this, and I tried the petsc-3.7.5/config/examples/<wbr>arch-cray-xt6-pkgs-opt.py <wbr>configuration options. After trying this (please abstract from my own env vars),<br>
</p>
<div>CONFOPTS="--prefix=$PETSC_<wbr>INSTALL_DIR \</div>
<div> --with-cc=cc \</div>
<div> --with-cxx=CC \</div>
<div> --with-fc=ftn \</div>
<div> --with-clib-autodetect=0 \</div>
<div> --with-cxxlib-autodetect=0 \</div>
<div> --with-fortranlib-autodetect=0 \</div>
<div> --COPTFLAGS=-fast -mp \</div>
<div> --CXXOPTFLAGS=-fast -mp \</div>
<div> --FOPTFLAGS=-fast -mp \<br>
</div>
<div> --with-shared-libraries=0 \ </div>
<div> --with-batch=1 \</div>
<div> --with-x=0 \</div>
<div> --with-mpe=0 \</div>
<div> --with-debugging=0 \</div>
<div> --download-superlu_dist=$<wbr>SOURCE_DIR/$SUPERLU_SOURCE_<wbr>FILE \</div>
<div> --with-blas-lapack-dir=$<wbr>BLASDIR \</div>
<div> --download-parmetis=$SOURCE_<wbr>DIR/$PARMETIS_SOURCE_FILE \</div>
<div> --download-metis=$SOURCE_DIR/$<wbr>METIS_SOURCE_FILE \</div>
<div> --with-external-packages-dir=$<wbr>INSTALL_DIR \</div>
<div> --with-ssl=0 <span style="font-size:12pt">"</span></div>
<p><br>
</p>
<p>I get the following error:<br>
</p>
<p><br>
</p>
<div>TESTING: checkFortranLinkingCxx from config.compilers(/zhome/<wbr>academic/HLRS/pri/iprguvaz/<wbr>ReFRESCO/Dev/trunk/Libs/build/<wbr>petsc-3.7.5/config/<wbr>BuildSystem/config/compilers.<wbr>py:1097)</div>
<div>******************************<wbr>******************************<wbr>*******************</div>
<div> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</div>
<div>------------------------------<wbr>------------------------------<wbr>-------------------</div>
<div>Fortran could not successfully link C++ objects</div>
<div>******************************<wbr>******************************<wbr>*******************</div>
<div><br>
Does it ring a bell? Any tips?</div></div></blockquote><div><br></div><div>You turned off autodetection, so it will not find libstdc++. That either has to be put in LIBS, or I would recommend</div><div><br></div><div> --with-cxx=0</div><div><br></div><div>since nothing you have there requires C++.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div>Thanks,<br>
</div>
<div>Guilherme V.<br>
</div>
<br>
<font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">dr. ir.</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Guilherme</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Vaz</font><font size="3" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">CFD Research Coordinator / Senior CFD Researcher
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Research & Development</font><br>
<font style="font-family:Verdana;font-size:9pt;color:#7d7d7d;font-weight:bold">MARIN</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d"> | T
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d"><a href="tel:+31%20317%20493%20325" value="+31317493325" target="_blank">+31 317 49 33 25</a></font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d"> | M
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d">+31 621 13 11 97</font><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt"> |
</font><span style="font-family:Verdana;font-size:8pt"><a href="mailto:G.Vaz@marin.nl" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">G.Vaz@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt"> |
</font><span style="font-family:Verdana;font-size:8pt"><a href="http://www.marin.nl" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">www.marin.nl</span></a></span><br>
<br>
<a href="https://www.linkedin.com/company/marin" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:imageb0ee12.PNG@97f5ea85.48ac3c32" alt="LinkedIn"></a> <a href="http://www.youtube.com/marinmultimedia" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:imaged8f08c.PNG@bb234aec.4683311a" alt="YouTube"></a> <a href="https://twitter.com/MARIN_nieuws" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:imagedacd80.PNG@f0201308.4eb9c37d" alt="Twitter"></a> <a href="https://www.facebook.com/marin.wageningen" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image1bd020.PNG@2555c18e.439addb5" alt="Facebook"></a><br>
<font style="FONT-FAMILY:Verdana;FONT-SIZE:8pt" color="#7d7d7d" size="2" face="Verdana">MARIN news:
<font style="font-family:Verdana;font-size:8pt"><span style="font-family:Verdana;font-size:8pt"><a href="http://www.marin.nl/web/News/News-items/Maritime-Safety-seminar-September-12-Singapore.htm" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">Maritime
Safety seminar, September 12, Singapore</span></a></span></font></font>
<p></p>
<p><u></u></p>
<u></u><u></u><u></u>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">http://www.caam.rice.edu/~mk51/</a><br></div></div></div>
</div></div>