Few modifications due to update of third party libraries and compilers
- Add a new keyword for PETSc SNES convergence or divergence
- Disable two warnings that appeared with gcc 12 or M1 architecture and aren't helpful:
- "-Wno-psabi" # To disable pesky warnings in macOS on M1 Mac: see https://stackoverflow.com/questions/48149323/what-does-the-gcc-warnin>
- "-Wno-restrict") To disable false positive warning with gcc 12 (see https://bugzilla.redhat.com/show_bug.cgi?id=2057597)