Re: [petsc-users] Difference between opt and debug

2023-03-16 Thread Matthew Knepley
On Thu, Mar 16, 2023 at 8:26 AM user_gong Kim wrote: > Hello, > > I have some issues about different mode and different command. > > 1. Exactly the same code, but no error occurs in debug mode, but an error > occurs in opt mode. > In this case, what should I be suspicious of? > Memory

[petsc-users] Difference between opt and debug

2023-03-16 Thread user_gong Kim
Hello, I have some issues about different mode and different command. 1. Exactly the same code, but no error occurs in debug mode, but an error occurs in opt mode. In this case, what should I be suspicious of? 2. When executed with ./application, no error occurs, but when executed with