[lustre-devel] Lustre and libreadline

Ned Bass bass6 at llnl.gov
Wed Jun 3 15:49:01 PDT 2015


On Wed, Jun 03, 2015 at 09:07:11PM +0000, Simmons, James A. wrote:
> >You say you just install the library and not the utils, but do you 
> >specifically build without the utils?  Is there some existing config 
> >option for that?  (Hoping to save myself some grepping...) Otherwise, 
> >I'll have to add in that option.
> >
> >It also seems that readline-devel isn't available for the Intel Xeon Phi 
> >chips (or at least Cray doesn't have it in our build setup).
> 
> This is just papering over the real problem. The utilites should be using
> getopt() instead. The only thing Parse does that is non standard is
> an interactive command line. The only place I have ever used that is
> for lnet selftest. Does lfs really need an interactive command line?
> I think not.

I concur. There a few lctl commands that can only be run today in the
interactive mode because they rely on earlier commands. For example,
"conn_list" requires that you first run "network". Such commands should
be updated to use sub-arguments rather than relying on previous
commands.

Ned


More information about the lustre-devel mailing list