Re: [petsc-users] compiler related error (configuring Petsc)

2023-08-02 Thread Matthew Knepley
On Wed, Aug 2, 2023 at 9:32 AM maitri ksh wrote: > I could compile petsc using the newer version of gnu compiler. > However, there is some unusual error when I tried to test petsc using a > print 'hello' file. I could not interpret what the error ('*error.txt*') > is, but it says something relate

Re: [petsc-users] compiler related error (configuring Petsc)

2023-08-02 Thread maitri ksh
I could compile petsc using the newer version of gnu compiler. However, there is some unusual error when I tried to test petsc using a print 'hello' file. I could not interpret what the error ('*error.txt*') is, but it says something related to MATLAB (which is not used in the ' *hello.c*' script).

Re: [petsc-users] compiler related error (configuring Petsc)

2023-08-02 Thread maitri ksh
Okay, thank you. On Tue, Aug 1, 2023 at 9:43 PM Satish Balay 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-su

Re: [petsc-users] compiler related error (configuring Petsc)

2023-08-02 Thread maitri ksh
Ok, thanks for the clarification. On Wed, Aug 2, 2023 at 8:27 AM Pierre Jolivet wrote: > 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. > As Satish suggested: e