[petsc-users] A qustion of PETSc
w_ang_temp
w_ang_temp at 163.com
Tue May 22 09:34:17 CDT 2012
Really sorry!
在 2012-05-22 22:29:09,"Aron Ahmadia" <aron.ahmadia at kaust.edu.sa> 写道:
> > Besides, I have a puzzle about the process (mpiexec -n 2).As you know,I only use PETSc in the subroutine(a function named >> PETSCSOLVE,may be taken as a tool function) and the main program call it for many times. So,where should I call "PetscInitialize" >> and "PetscFinalize",in the main program or in the subroutine PETSCSOLVE?
>> Thanks. Jim
> You should call PetscInitialize as soon as possible and PetscFinalize as late as possible. Please read the PETSc user's guide and consult it > before asking questions that are clearly answered in the manual.
> -Aron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120522/3eec69f0/attachment-0001.html>
More information about the petsc-users
mailing list