[ofa-general] Re: [RFC][PATCH 0/4] opensm: using conventional config file

Sasha Khapyorsky sashak at voltaire.com
Mon May 19 10:03:03 PDT 2008


On 11:33 Mon 12 May     , Al Chu wrote:
> 
> Ira and I were chatting.  A few other comments:
> 
> 1) Many configuration values are not output by default in opensm right
> now, mainly b/c it behaves like a cache rather than an configuration
> file.  i.e.
> 
>         if (p_opts->connect_roots)
>                 fprintf(opts_file,
>                         "# Connect roots (use FALSE if unsure)\n"
>                         "connect_roots %s\n\n",
>                         p_opts->connect_roots ? "TRUE" : "FALSE");
> 
> Going forward w/ a config file, I think these should be output by
> default all the time so users know they exist.

Good point! Will submit patches shortly.

> 2) Will there be an option to specify an alternate configuration file,
> i.e. not /etc/opensm/opensm.conf?

Yes, '-F' or '--config' option.

Sasha



More information about the general mailing list