about parallel execution

Hong Zhang hzhang at mcs.anl.gov
Tue Oct 17 08:21:14 CDT 2006


Yixun,

Chapter 1 of the
Petsc users manual gives detailed instruction
on
1. set petsc environment
2. write petsc program
3. compile and run program

You may start running petsc examples as described
in the manual.

Hong

On Tue, 17 Oct 2006, Yixun Liu wrote:

> Hi,
> I am a new user of PETSC. I want to know how to execute of the PETSC application.
> For example, my code are like below,
>
> PETSCInitialize();
> code1;
> code2;
> .....
> PETSCFinalize();
>
> Does PETSC copy the above codes, assuming there n processors, to each processor? Will code1 be execute on each processor?
>
> Best regards,
>
> Yixun
>




More information about the petsc-users mailing list