Re: [petsc-users] Many warning in my code

2024-07-16 Thread Barry Smith
Recent versions of compilers provide a great deal more warnings and errors than older versions for "sloppy" code, such as assigning a variable but then never using it. The compiler doesn't know if you made a mistake like misspelling a variable name or forgetting to use a variable so it print

Re: [petsc-users] Many warning in my code

2024-07-16 Thread Matthew Knepley
We cannot see your code. The warning says that you give a value to a variable, but then never use it. We cannot tell if that is true without looking at the code. Thanks, Matt On Tue, Jul 16, 2024 at 9:54 AM Ivan Luthfi wrote: > Hello guys, I am still trying to compile my old multigrid c