Use MPI library, especially, MPI_Barrier, if that will work for you.
Otherwise, I think it is gonna be an unnecessary hack.
Prakash
On Mar 9, 2009, at 11:53 AM, chenyong wrote:
> Hello ALL,
>
>
> I wonder
> in a C/ C++ program how to submit a parallel job and wait for the
> processing result before executing the subsequent codes.
>
>
> Should I use OpenPBS?
>
>
> Thanks
|