<div dir="ltr">Ok, thanks for the clarification. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 2, 2023 at 8:27 AM Pierre Jolivet <<a href="mailto:pierre.jolivet@lip6.fr">pierre.jolivet@lip6.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Right, so configure did the proper job and told you that your compiler does not (fully) work with C++11, there is no point in trying to add extra flags to bypass this limitation.<div>As Satish suggested: either use a newer g++ or configure --with-cxx=0<br><div><br></div><div>Thanks,</div><div>Pierre</div><div><br><blockquote type="cite"><div>On 2 Aug 2023, at 6:42 AM, maitri ksh <<a href="mailto:maitri.ksh@gmail.com" target="_blank">maitri.ksh@gmail.com</a>> wrote:</div><br><div><div dir="ltr">sure, attached.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 1, 2023 at 10:36 PM Jacob Faibussowitsch <<a href="mailto:jacob.fai@gmail.com" target="_blank">jacob.fai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>> Initially I got an error related<br>
>> to 'C++11' flag,<br>
<br>
Can you send the configure.log for this as well<br>
<br>
Best regards,<br>
<br>
Jacob Faibussowitsch<br>
(Jacob Fai - booss - oh - vitch)<br>
<br>
> On Aug 1, 2023, at 14:42, Satish Balay via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
> <br>
>> gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)<br>
> <br>
> Is it possible for you to use a newer version GNU compilers?<br>
> <br>
> If not - your alternative is to build PETSc with --with-cxx=0 option<br>
> <br>
> But then - you can't use --download-superlu_dist or any pkgs that need<br>
> c++ [you could try building them separately though]<br>
> <br>
> Satish<br>
> <br>
> <br>
> On Tue, 1 Aug 2023, maitri ksh wrote:<br>
> <br>
>> I am trying to compile petsc on a cluster ( x86_64-redhat-linux, '<br>
>> *configure.log'* is attached herewith) . Initially I got an error related<br>
>> to 'C++11' flag, to troubleshoot this issue, I used 'CPPFLAGS' and<br>
>> 'CXXFLAGS' and could surpass the non-compliant error related to c++ compiler<br>
>> but now it gives me another error 'cannot find a C preprocessor'. How to<br>
>> fix this?<br>
>> <br>
> <br>
<br>
</blockquote></div>
<span id="m_5822508366330562902cid:f_lkt8rqrh0"><configure.log></span></div></blockquote></div><br></div></div></blockquote></div>