<div dir="ltr">Hi Satish --- I am trying GNU. I am configuring with these additional flags, and it seems to be past that point. I will let you know if it works fine all the way. <div>The reason I am not using prebuilt PETSc on NERSC is that I want to be consistent with C++, C, and fortran </div><div>compilers with all the 3rd party libraries I am building for a code (that requires them). </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 8:14 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 30 Jan 2018, Satish Balay wrote:<br>
<br>
> 1. cray provides prebuilt petsc libraries. Does that work for you?<br>
><br>
> 2. verylikely you need:<br>
><br>
> --with-clib-autodetect=0<br>
> --with-cxxlib-autodetect=0<br>
<br>
</span>Also<br>
<br>
--with-fortranlib-autodetect=0<br>
<span class=""><br>
> LIBS=-lstdc++<br>
><br>
> If it doesn't work - send configure.log<br>
<br>
</span>BTW: What compilers do you require? Intel or GNU?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Satish<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>--Amneet <br><br></div><div><br></div><div><br></div></div></div>
</div>