On Apr 25, 2014, at 7:01 AM, Mike Dubman <mi...@dev.mellanox.co.il> wrote:

> >>>ompi_info --all --parsable | egrep ':(compile|run)time_version'
> 
> yep, this is much better, but I don`t think we should count on end-user to be 
> unix regex guru.

I thought you said this was for support scripts?

Users can easily do this:

  ompi_info --all --parsable | grep time_version

Or even

  ompi_info --all --parsable | grep _version

Or even

  ompi_info --all --parsable | grep version


> Ideally, following would be much user-friendlier:
> 
> ompi_info --all --parsable --print-sys-libs-versions
> 
> 
> 
> 
> On Fri, Apr 25, 2014 at 1:32 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> 
> wrote:
> On Apr 24, 2014, at 1:38 AM, Mike Dubman <mi...@dev.mellanox.co.il> wrote:
> 
> > ** prefix each well-known MCA param with "print_":
> 
> I like the overall idea of this RFC, but I'm not wild about this specific 
> word "print" -- it seems weird.  All the MCA parameters are *printed* -- the 
> word "print" doesn't really distinguish anything here.
> 
> (I know I'm just harping on a word, but I think it's an important word 
> here... :-) )
> 
> Got a better suggestion, perchance?  (I don't, offhand...)
> 
> > ** Define two well-known mca parameters indicating external library runtime 
> > and compiletime versions, i.e.:
> >
> > print_compiletime_version
> > print_runtime_version
> >
> > The following command will show all exposed well-known mca params from all 
> > components:
> > ompi_info --parsable -l 9 |grep ":print_"
> 
> How about changing this a bit (hoping my regexp syntax is correct at 6:30am 
> before coffee...):
> 
> ompi_info --all --parsable | egrep ':(compile|run)time_version'
> 
> Then the "print_" prefix isn't needed.
> 
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to: 
> http://www.cisco.com/web/about/doing_business/legal/cri/
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2014/04/14610.php
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2014/04/14611.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to