about option database

Yixun Liu yxliu at fudan.edu.cn
Tue Oct 24 21:21:52 CDT 2006


Hi,

I am reading the source code of $PETSC_DIR\src\ksp\ksp\examples\tutorials\ex2.c. Some codes are,
...
  PetscInitialize(&argc,&args,(char *)0,help);
  ierr = PetscOptionsGetInt(PETSC_NULL,"-m",&m,PETSC_NULL);CHKERRQ(ierr);
...
However, I cannot find the default option database file .petscrc in user home directory. 

Regards,

Yixun

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20061025/eed1e4af/attachment.htm>


More information about the petsc-users mailing list