[petsc-dev] PetscOptionsGetString

Tabrez Ali stali at geology.wisc.edu
Sat Oct 8 09:10:44 CDT 2016


Hello

Today (while using petsc-dev) I got the following error:


call 
PetscOptionsGetString(Petsc_Null_Object,Petsc_Null_Character,'-f',input_file,n,ierr)
1
Error: Type mismatch in argument ‘s’ at (1); passed INTEGER(4) to LOGICAL(4)
/home/stali/petsc-dev/arch-linux2-c-debug/lib/petsc/conf/petscrules:35: 
recipe for target 'main.o' failed


It looks like some changes have been made to ""sys/objects/options.c" 
but I cannot find the updated documentation.

Thanks in advance.

Tabrez



More information about the petsc-dev mailing list