<html>
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 10:48:52 Tuesday, 13 June 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body 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><br>
</p>
<p>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.<br>
</p>
<p>I read some threads in the mailing list about this, and I tried the petsc-3.7.5/config/examples/arch-cray-xt6-pkgs-opt.py configuration options. After trying this (please abstract from my own env vars),<br>
</p>
<div>CONFOPTS="--prefix=$PETSC_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=$SOURCE_DIR/$SUPERLU_SOURCE_FILE \</div>
<div>              --with-blas-lapack-dir=$BLASDIR \</div>
<div>              --download-parmetis=$SOURCE_DIR/$PARMETIS_SOURCE_FILE \</div>
<div>              --download-metis=$SOURCE_DIR/$METIS_SOURCE_FILE \</div>
<div>              --with-external-packages-dir=$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/academic/HLRS/pri/iprguvaz/ReFRESCO/Dev/trunk/Libs/build/petsc-3.7.5/config/BuildSystem/config/compilers.py:1097)</div>
<div>*******************************************************************************</div>
<div>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):</div>
<div>-------------------------------------------------------------------------------</div>
<div>Fortran could not successfully link C++ objects</div>
<div>*******************************************************************************</div>
<div><br>
Does it ring a bell? Any tips?<br>
</div>
<div><br>
</div>
<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;">+31 317 49 33 25</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="" target="" style="font-family:Verdana;font-size:8pt;"><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="" target="" style="font-family:Verdana;font-size:8pt;"><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=""><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=""><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=""><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=""><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="" target="" style="font-family:Verdana;font-size:8pt;"><span style="font-family:Verdana; font-size:8pt;">Maritime
 Safety seminar, September 12, Singapore</span></a></span></font></font>
<p></p>
<p></EXCLAIMER:ORIGINAL_BODY_AFTER></p>
</EXCLAIMER:TEXT_ONLY></EXCLAIMER:AD></EXCLAIMER:AD>
</body>
</html>