LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: chenyong (cy163_at_[hidden])
Date: 2009-03-09 12:18:34


thanks for your fast response.

 

Let me elabrate on my question.

 

In my application, a C/C++ socket program (running at a compute node) receives data submitted by the user and then it forwards the data to a parallel program for data-processing on a IBM BladeCenter, finally the C/C++ program collects the processing result and return the result to the user.

 

My question is how to call the parallel program from the C/C++ program. Using pbs_connect

CC: torqueusers_at_[hidden]; lam_at_[hidden]; mpiexec-request_at_[hidden]; mpiexec-request_at_[hidden]
From: prakash.velayutham_at_[hidden]
To: cy163_at_[hidden]
Subject: Re: [torqueusers] in a C/ C++ program how to submit a parallel job and wait for the processing result before executing subsequent codes
Date: Mon, 9 Mar 2009 12:00:36 -0400

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
_________________________________________________________________
ÃλÃKͼ£¬°Ù±äÔìÐÍ£¬ÈÃÄãµÄÕÕÆ¬ÓëÖÚ²»Í¬£¬¿ìÀ´MClubÊÔÊÔ°É£¡
http://club.msn.cn/?form=3