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

2023-08-01 Thread Pierre Jolivet
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: either use a newer g++ or configure --with-cxx=0 Thanks, Pierre > On 2 Aug 2023, at 6:42 AM,

[petsc-users] Setting a custom predictor in the generalized-alpha time stepper

2023-08-01 Thread David Kamensky
Hi, My understanding is that the second-order generalized-alpha time stepper in PETSc uses a same-displacement predictor as the initial guess for the nonlinear solver that executes in each time step. I'd like to be able to set this to something else, to improve convergence. However, my

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

2023-08-01 Thread Jacob Faibussowitsch
>> 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 > wrote: > >> gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) > >

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

2023-08-01 Thread Satish Balay via petsc-users
> 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

Re: [petsc-users] PETSc :: FEM Help

2023-08-01 Thread Matthew Knepley
Sorry about this. I signed up for a conference without the work done, with predictable results. I have just returned home. There were just a few small problems. First, the labels were attached to dmSurface, but you wanted them on dm. They got destroyed with dmSurface before setting the BC.

Re: [petsc-users] Confusion/failures about the tests involved in including Hypre

2023-08-01 Thread Daniel Stone
This still isn't working, and it looks like the md/mt distinciton might be the culprit. I use the Ninja generator with cmake, on the intel oneapi command line (i.e. windows command line but with the pathing and other things sorted out for the new intel compilers). Looking at the build.ninja file