[ofa-general] Re: OFED 1.3 OpenSM configuration default paths and files

Hal Rosenstock hrosenstock at xsigo.com
Mon Mar 10 06:56:23 PDT 2008


Hi Sasha,

On Mon, 2008-03-10 at 12:44 +0000, Sasha Khapyorsky wrote:
> Hi Hal,
> 
> On 05:01 Mon 10 Mar     , Hal Rosenstock wrote:
> > 
> > Using the defaults for configurating OpenSM,
> 
> Which defaults? Do you have prefix=/opt/ofed?

Yes.

> > I see the following:
> > 
> > /* Define a default node name map file */
> > #define HAVE_DEFAULT_NODENAME_MAP "/opt/ofed/etc/opensm/ib-node-name-map"
> > 
> > /* Define a QOS policy config file */
> > #define HAVE_DEFAULT_PARTITION_CONFIG_FILE "/opt/ofed/etc/opensm/partitions.conf"
> > 
> > /* Define a QOS policy config file */
> > #define HAVE_DEFAULT_QOS_POLICY_FILE "/opt/ofed/etc/opensm/qos-policy.conf"
> > 
> > /* Define OpenSM config directory */
> > #define OPENSM_CONFIG_DIR "/opt/ofed/etc/opensm"
> > 
> > Shouldn't these not be prepended with /opt/ofed or alternately /opt/ofed/opensm without the etc ?
> > I thought the /etc/opensm locations were agreed to be the defaults.
> 
> By default it refers ${sysconfdir}/opensm, where sysconfdir is
> $prefix/etc in most cases.

I'm not sure how I can get the desired path/filenames now (with OFED 1.3
and beyond). Seems like in some cases prefix is wanted and others not
(at least for me) :-(

-- Hal

> Sasha
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



More information about the general mailing list