Batch - how to kill one job only

Asked by Giulia Macaro on 2011-04-01

Hi all,

I'm running 3 simulations in batch (in the same process).
Is it possible to kill 2 of them and to continue to run only one?

I guess that if I use
$ kill PID
it will kill the whole batch simulation, right?

Thanks
Giulia

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Giulia Macaro
Solved:
2011-04-02
Last query:
2011-04-02
Last reply:
2011-04-02
Lin Zhang (xtss-0002) said : #1

Hi, Guilia.

The batch process can be seen in "System Monitor"--a graphic program in kubuntu, and it can be expanded. If you wanna kill the single simulation you can kill the process named "yade-version", which is the branch process of batch process. "JobXX failed" will be displayed in the terminal, and the next simulation will start automatically.

I hope it help.

BTW, is there any way to watch the progress when run simulations in batch mode? I mean, for example, 15% strain is the goal of the simulation, can I see how much does it reach during running in batch mode?

Thanks!

Lin

Anton Gladky (gladky-anton) said : #2

> BTW, is there any way to watch the progress when run simulations in
> batch mode? I mean, for example, 15% strain is the goal of the
> simulation, can I see how much does it reach during running in batch
> mode?

When you start the batch-mode, you see something like:
http://localhost:9080 shows batch summary

It means, that if you type in your web-browser http://localhost:9080,
you will get an information about the current status of your jobs in
batch. If some plots are provided from your script, you can see
"online" those diagrams.

Anton

Giulia Macaro (giulia-macaro) said : #3

It worked, I think. And there is one simulation still running (I can see it from the system monitor).
But now I can't load the http://localhost web page, to check status of the simulation. Is it supposed to be like that?

Thanks
Giulia

Anton Gladky (gladky-anton) said : #4

You should point the port, like that:

http://localhost:9080/

Anton

On Sat, Apr 2, 2011 at 3:13 PM, Giulia Macaro
<email address hidden> wrote:
> Question #151328 on Yade changed:
> https://answers.launchpad.net/yade/+question/151328
>
> Giulia Macaro posted a new comment:
> It worked, I think. And there is one simulation still running (I can see it from the system monitor).
> But now I can't load the http://localhost web page, to check status of the simulation. Is it supposed to be like that?
>
> Thanks
> Giulia
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

Giulia Macaro (giulia-macaro) said : #5

Yes, I meant http://localhost:9080/
But it couldn't be loaded after I killed 2 of the 3 simulations.
Anyway, the remaining simulation has just finished, and now I have all the plot and data saved.

Thank you
Giulia

Anton Gladky (gladky-anton) said : #6

r2808 adds a "stop" button for every job.

Giulia Macaro (giulia-macaro) said : #7

ok, thank you! I'll try it