Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-03 Thread Satish Balay via petsc-users
You are missing one more step: > [0] PetscInitialize(): Running on machine: MB108SMEC028 > [0] PetscMatlabEngineCreate(): Starting MATLAB engine with command > /usr/local/MATLAB/R2020b/bin/matlab -glnxa64 -nodisplay -nosplash No run matlab manually on "MB108SMEC028" with the command "/usr/loca

Re: [petsc-users] Can we force SNES solver to do at least Newton step?

2023-09-03 Thread David Knezevic via petsc-users
> > Hmm, it sounds like the convergence measure is bad. Maybe using a weighted >>> norm would be better? >> >> >> That's a good thought, I'd like to look into that idea too. Could you >> please give me some guidance on how to use a weighted norm in the >> convergence test? (Or are there any example

Re: [petsc-users] Can we force SNES solver to do at least Newton step?

2023-09-03 Thread David Knezevic via petsc-users
> > > https://petsc.org/release/manualpages/SNES/SNESSetForceIteration/#snessetforceiteration Great, thanks!

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-03 Thread Satish Balay via petsc-users
To use datafiles in the test suite: cd $HOME git clone https://gitlab.com/petsc/datafiles make test query=requires queryval=matlab DATAFILESPATH=$HOME/datafiles Satish On Sun, 3 Sep 2023, Matthew Knepley wrote: > On Sun, Sep 3, 2023 at 8:47 AM INTURU SRINIVAS 20PHD0548 < > inturu.srinivas2...

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-03 Thread Satish Balay via petsc-users
On Sun, 3 Sep 2023, INTURU SRINIVAS 20PHD0548 via petsc-users wrote: > Hi Sathish, > > Thank you so much for your efforts and the support you are giving me to > sort this out. > > I tried to follow the same procedure which you followed to build Petsc > 3.13.4 with Matlab-R2020b on Ubuntu20.04. >

Re: [petsc-users] Can we force SNES solver to do at least Newton step?

2023-09-03 Thread Matthew Knepley
On Sat, Sep 2, 2023 at 6:58 PM David Knezevic wrote: > Hmm, it sounds like the convergence measure is bad. Maybe using a weighted >> norm would be better? > > > That's a good thought, I'd like to look into that idea too. Could you > please give me some guidance on how to use a weighted norm in th