Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] RFC: Well-known mca parameters
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-04-25 07:13:14


On Apr 25, 2014, at 7:01 AM, Mike Dubman <miked_at_[hidden]> 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) <jsquyres_at_[hidden]> wrote:
> On Apr 24, 2014, at 1:38 AM, Mike Dubman <miked_at_[hidden]> 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
> jsquyres_at_[hidden]
> For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> 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
> devel_at_[hidden]
> 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
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/