[petsc-users] compiler related error (configuring Petsc)
maitri ksh
maitri.ksh at gmail.com
Tue Aug 1 23:42:38 CDT 2023
sure, attached.
On Tue, Aug 1, 2023 at 10:36 PM Jacob Faibussowitsch <jacob.fai at gmail.com>
wrote:
> >> Initially I got an error related
> >> to 'C++11' flag,
>
> Can you send the configure.log for this as well
>
> Best regards,
>
> Jacob Faibussowitsch
> (Jacob Fai - booss - oh - vitch)
>
> > On Aug 1, 2023, at 14:42, Satish Balay via petsc-users <
> petsc-users at mcs.anl.gov> wrote:
> >
> >> gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
> >
> > Is it possible for you to use a newer version GNU compilers?
> >
> > If not - your alternative is to build PETSc with --with-cxx=0 option
> >
> > But then - you can't use --download-superlu_dist or any pkgs that need
> > c++ [you could try building them separately though]
> >
> > Satish
> >
> >
> > On Tue, 1 Aug 2023, maitri ksh wrote:
> >
> >> I am trying to compile petsc on a cluster ( x86_64-redhat-linux, '
> >> *configure.log'* is attached herewith) . Initially I got an error
> related
> >> to 'C++11' flag, to troubleshoot this issue, I used 'CPPFLAGS' and
> >> 'CXXFLAGS' and could surpass the non-compliant error related to c++
> compiler
> >> but now it gives me another error 'cannot find a C preprocessor'. How to
> >> fix this?
> >>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230802/ef2bd064/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 137284 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230802/ef2bd064/attachment-0001.obj>
More information about the petsc-users
mailing list