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

Sasha Khapyorsky sashak at voltaire.com
Mon Mar 10 05:44:59 PDT 2008


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?

> 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.

Sasha



More information about the general mailing list