When PETSc reads in a list of options (like PetscOptionsGetReal, etc), we have 
noticed that if there are duplicate entries, that PETSc takes the last one 
entered as the option to use. This can happen if the user didn’t notice there 
were two lines with the same options name (but different values set).

Is there someway to have PETSc check for duplicate entries so that we can stop 
program execution and warn the user?

Thanks, 

Randy M

Reply via email to