Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] How to cease the process triggered by OPENMPI
From: Brock Palen (brockp_at_[hidden])
Date: 2008-07-26 12:52:08

Does the cluster your using use a batch system? Like SLURM, PBS or

If so many have native ways to launch jobs that OMPI can use. SO
that when the job is killed all the children are also.

Brock Palen
Center for Advanced Computing

On Jul 26, 2008, at 12:25 PM, vega lew wrote:

> Dear all,
> I have enjoyed the openmpi a couple of days. With the help of
> openmpi I could run ESPRESSO efficiently.
> I started the mpi-job by the openmpi command like this,
> " nohup mpirun -hostfile ~/hostfile -np 64 pw.x < input > output &".
> When I want to stop the job before it finished, I find it not easy
> to stop all the process manually. When I killed the process
> in one node of the cluster, the processes in other nodes were still
> running. So I must ssh to every node, find the
> process id and kill the process. If there are 100 processors or
> more for one mpi job, the situation even worse.
> Is there a command for openmpi to force all the process to stop in
> the cluster or a list of nodes to stop.
> vega
> Vega Lew (weijia liu)
> PH.D Candidate in Chemical Engineering
> State Key Laboratory of Materials-oriented Chemical Engineering
> College of Chemistry and Chemical Engineering
> Nanjing University of Technology, 210009, Nanjing, Jiangsu, China
> Explore the seven wonders of the world Learn more!
> _______________________________________________
> users mailing list
> users_at_[hidden]