<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
</head>
<body>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">TWIMC:<br>
<br>
I would like to use the OpenSM with IBMgtSim. <br>
<br>
I have installed IBMgtSim and create a small topology and net list file. It starts without error.<br>
<br>
As I understand it, opensm must be recompiled to work with ibmgtsim. <br>
<br>
I've tried recompiling OpenSM (3.3.15-1) on CentOS (x64 arch). <br>
<br>
./autogen.sh (works without issue).<br>
<br>
Running ./configure --with-osmv=sim, it trys to find libraries in /usr/lib, but all the dependencies are under /usr/lib64. Looking at the [opensm home directory]/configure file, the paths are hardcoded to $with_sim/lib, where $with_sim=/usr as the default.
 I modified them to point to $with_sim/lib64 where appropriate. ./configure --with-osmv=sim now runs to competition.
<br>
<br>
Running the command, make, I now get the following compiliation errors while compiling the libvendor module:<br>
<br>
[root@localhost libvendor]# make<br>
Making all in .<br>
make[1]: Entering directory `/home/mparker/Programs/opensm-3.3.15/libvendor'<br>
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I/usr/include -I./../include   -Wall -g -g -O2 -MT libosmvendor_la-osm_pkt_randomizer.lo -MD -MP -MF .deps/libosmvendor_la-osm_pkt_randomizer.Tpo -c -o libosmvendor_la-osm_pkt_randomizer.lo
 `test -f 'osm_pkt_randomizer.c' || echo './'`osm_pkt_randomizer.c<br>
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I/usr/include -I./../include -Wall -g -g -O2 -MT libosmvendor_la-osm_pkt_randomizer.lo -MD -MP -MF .deps/libosmvendor_la-osm_pkt_randomizer.Tpo -c osm_pkt_randomizer.c  -fPIC -DPIC
 -o .libs/libosmvendor_la-osm_pkt_randomizer.o<br>
osm_pkt_randomizer.c: In function ‘osm_pkt_randomizer_mad_drop’:<br>
osm_pkt_randomizer.c:238: warning: passing argument 3 of ‘osm_dr_path_init’ makes pointer from integer without a cast<br>
../include/opensm/osm_path.h:147: note: expected ‘const uint8_t *’ but argument is of type ‘uint8_t’<br>
osm_pkt_randomizer.c:238: error: too many arguments to function ‘osm_dr_path_init’<br>
make[1]: *** [libosmvendor_la-osm_pkt_randomizer.lo] Error 1<br>
make[1]: Leaving directory `/home/mparker/Programs/opensm-3.3.15/libvendor'<br>
make: *** [all-recursive] Error 1<br>
<br>
I was wonder whether anyone else has had any issues recompiling opensm, and whether they we're able to fix it.<br>
<br>
TIA,<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Matt  <br>
</div>
</font></div>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions
 presented in this e-mail are solely those of the author and do not necessarily represent those of Exelis Inc. The recipient should check this e-mail and any attachments for the presence of viruses. Exelis Inc. accepts no liability for any damage caused by
 any virus transmitted by this e-mail. <br>
</font>
</body>
</html>