<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Georgia;
panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">I built PETSc with –with-cxx=0 in order to get around a likely Intel C++ compiler bug.<o:p></o:p></p>
<p class="MsoNormal">However, the MPICH that also gets built by PETSc then picks up the wrong C++ compiler; mpicxx -show indicates that it is using G++, while mpicc is correctly using icc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there a way to get PETSc to pass the correct C++ compiler for the MPICH build when using –with-cxx=0? I need to compile parts of my own program with mpicxx/icpc.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%">
<span style="font-size:12.5pt;line-height:115%;font-family:"Georgia",serif;color:black">Robert Crockett</span><span style="font-size:16.0pt;line-height:115%;font-family:"Georgia",serif;color:black">
<br>
</span><span style="font-size:9.0pt;line-height:115%;font-family:"Georgia",serif;color:black">Plasma Simulation Engineer | OCTO - Computational Products</span><span style="font-size:16.0pt;line-height:115%;font-family:"Georgia",serif;color:black"><br>
</span><span style="font-size:9.0pt;line-height:115%;font-family:"Arial",sans-serif;color:black">P:
</span><span style="font-size:9.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#444444">617.648.8349</span><span style="font-size:9.0pt;line-height:115%;font-family:"Arial",sans-serif;color:black"> M: 415.205.4567</span><span style="font-size:9.0pt;line-height:115%;font-family:"Arial",sans-serif"><br>
<br>
</span><b><span style="font-size:7.0pt;line-height:115%;font-family:"Arial",sans-serif;color:black">LAM RESEARCH<br>
</span></b><span style="font-size:7.0pt;line-height:115%;font-family:"Arial",sans-serif;color:black">4650 Cushing Pkwy, Fremont CA 94538 USA
<br>
</span><a href="https://www.lamresearch.com/"><span style="font-size:7.0pt;line-height:115%;font-family:"Arial",sans-serif;color:black">lamresearch.com</span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%">
<span style="font-size:16.0pt;line-height:115%;font-family:"Georgia",serif;color:black"><img border="0" width="190" height="30" style="width:1.9833in;height:.3166in" id="Picture_x0020_5" src="cid:image001.png@01D9BBC4.11B5C6D0"></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div style="font-size:8pt; font-family: 'Arial'"><br>
LAM RESEARCH CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files, or previous e-mail messages attached to it, (collectively, "E-mail Transmission") may be subject to one or more of the following based on the associated sensitivity level:
E-mail Transmission (i) contains confidential information, (ii) is prohibited from distribution outside of Lam, and/or (iii) is intended solely for and restricted to the specified recipient(s). If you are not the intended recipient, or a person responsible
for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.</div>
<br>
<p style="font-family:arial;font-size:8pt;color:#A4AEB7;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
Confidential – Limited Access and Use<br>
</p>
</body>
</html>