On Jul 23, 2011, at 5:04 PM, Ashley Pittman wrote:

> 
> On 23 Jul 2011, at 03:55, Ralph Castain wrote:
>>> c) A more easily parsable output format from ompi-ps. It doesn't need to be 
>>> a full blown XML format, just something like the following would suffice:
>>> 
>>> jobid:719585280:state:Running:slots:1:num procs:4
>>> process_name:./x:rank:0:pid:3082:node:node1.com:state:Running
>>> process_name:./x:rank:1:pid:4567:node:node5.com:state:Running
>>> process_name:./x:rank:2:pid:2343:node:node4.com:state:Running
>>> process_name:./x:rank:3:pid:3422:node:node7.com:state:Running
>>> jobid:345346663:state:running:slots:1:num procs:2
>>> process_name:./x:rank:0:pid:5563:node:node2.com:state:Running
>>> process_name:./x:rank:1:pid:6677:node:node3.com:state:Running
>> 
>> Shouldn't be too hard to do - bunch of if-then-else statements required, 
>> though.
> 
> I've been more than happy with the current output, the only problem I've had 
> in the time I've been using it is some extra fields that are appended if 
> using checkpoint-restart.

You don't have to use the new one - just don't put --parseable on the cmd line. 
I can see that this is easier to parse, though.


> 
> Ashley.
> 
> -- 
> 
> Ashley Pittman, Bath, UK.
> 
> Padb - A parallel job inspection tool for cluster computing
> http://padb.pittman.org.uk
> 
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel


Reply via email to