[ofa-general] Re: opensm error when running ibsim
Vincent Ficet
jean-vincent.ficet at bull.net
Tue Aug 12 05:03:58 PDT 2008
Hello,
> How does "opensm.conf " came into picture when you are running
> 'opensm' from command line ?
>
The default config files related defines come from
management/opensm/include/config.h, which is generated by autoconf.
In actual fact, it's easy to see which files are being used using strace
as follows:
[user at host] git > strace -e trace=open opensm -f - 2>&1 | grep opensm.conf
open("/home_nfs/vficet/work/infiniband/etc/opensm/opensm.conf",
O_RDONLY) = 3
Reading Cached Option File:
/home_nfs/vficet/work/infiniband/etc/opensm/opensm.conf
> FYI, there is a good script "run_opensm.sh" in
> "/usr/share/doc/ibsim-0.4/scripts/run_opensm.sh"
> to start OpenSM with 'ibsim'.
>
Sounds good. I'll try it !
Cheers,
Vincent
More information about the general
mailing list