I am interested to use the Csdp algorithm to solve a kalman filtering problem(*)<br>
<br>
What I have managed is to compile and link the Library and the example.c given with the sources.<br>
I use Openblas as Blas/Lapack libraries. Since I have Blas already installed in my Ubuntu 12.04 PC as VirtualBox 32 bits I had to redirect the 32 bits compiled Openblas<br>
<br>
sudo update-alternatives --install /usr/lib/libblas_old/libblas.so.3 libblas.so.3 /usr/lib/libblas/lib/libopenblas.so.0 \<br>
--slave /usr/lib/liblapack.so.3 liblapack.so.3 /usr/lib/libblas/lib/libopenblas.so.0<br>
<br>
Then I modified the Csdp Makefile to link libopenblas.a and added -m32 in CFLAGS to avoid a problem (my native HW is 64 bits but my Ubuntu run 32 bit).<br>
<br>
Now I have a problem with the first run of the example in the example/ folder.<br>
It reads: Illegal instruction (core dumped)<br>
recompiling with -g flag says just more that the program has a segmentation fault when the instruction initsoln(7,2,C,b,constraints,&X,&y,&Z)<br>
<div dir="auto"><br></div><div dir="auto">I am blocked: is it openblas or something else ?</div>
<br><div dir="auto">
(*) Li</div><br>
--<br><div dir="auto">
Frédéric</div><div dir="auto">France </div><br><br>
France<br>
<div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature">Frédéric Peugny<br>06 50 32 92 74<br>Résidence les Berges du Midi, Bat. A, N°19<br>25 rue du Bosc<br>31150 FENOUILLET<br>France</div>