[Osi] OsiMsk fails to configure

Stefan Vigerske stefan at math.hu-berlin.de
Fri Jan 17 04:51:43 EST 2014


Hi,

look into the config.log in the Osi directory to see why configure for 
Osi failed.

I'm using "-lmosek64 -liomp5 -lpthread" to link against Mosek, probably 
you were missing the -lpthread.

Stefan

On 01/16/2014 10:29 PM, Antonio Frangioni wrote:
> Hello.
>
> Trying to compile OsiMsk (last time I heard about it on the list, the conclusion was that it was still alive) on a standard Ubuntu machine, but configure fails. It's from the last available tarball of FlopC++
>
> FlopC++-1.1.7.tgz	21-Dec-2013
>
> Relevant pieces of the log:
>
> configure: running /bin/bash './configure'
> [... cutting chaff, reformatting ...]
> '--with-mosek'
> '--with-mosek-lib=-L/usr/mosek/7/tools/platform/linux64x86/bin -Wl -lmosek64 -liomp5 -lmosekglb64 -lmosekscopt7_0 -lmosekxx7_0'
> '--with-mosek-incdir=/usr/mosek/7/tools/platform/linux64x86/h'
>
> (I added all possible libraries plus -Wl as in the documentation, but nothing changes)
>
> checking if user provides library for Mosek... yes
> checking whether symbol MSK_makeenv is available with MSK... no
> configure: error: Cannot find symbol(s) MSK_makeenv with MSK
> configure: error: /bin/bash './configure' failed for Osi
>
> config.log is not very helpful:
>
> configure:23035: running /bin/bash './configure' --prefix=/usr/FlopC++  '--with-cplex' '--with-cplex-lib=-L/usr/cplex125/cplex/lib/x86-64_sles10_4.1/static_pic -lcplex -lpthread -lm' '--with-cplex-incdir=/usr/cplex125/cplex/include/ilcplex' '--with-gurobi' '--with-gurobi-lib=-L/usr/gurobi560/linux64/lib -lgurobi_c++ -lgurobi56' '--with-gurobi-incdir=/usr/gurobi560/linux64/include' '--with-mosek' '--with-mosek-lib=-L/usr/mosek/7/tools/platform/linux64x86/bin -Wl -lmosek64 -liomp5 -lmosekglb64 -lmosekscopt7_0 -lmosekxx7_0' '--with-mosek-incdir=/usr/mosek/7/tools/platform/linux64x86/h' '--enable-static' '-C' --cache-file=../config.cache --srcdir=.
> configure:23040: error: /bin/bash './configure' failed for Osi
>
> All I can say is that the mosek-lib directory is correct:
>
> ls /usr/mosek/7/tools/platform/linux64x86/bin
> total 44724
>   1176 libiomp5.so*	       108 libmosekxx7_0.so*   2252 MOSEKLM*	         4 mskgenhostid.bat
>      0 libmosek64.so@	      1404 lmgrd*	       1652 moseklua*	         4 msklmreread.bat
> 17244 libmosek64.so.7.0*      1884 lmutil*	        384 mosekmatlab.jar    128 mskscopt*
> 12004 libmosekglb64.so.7.0*   2212 mampl*	       1404 moseksi*	        12 msktestlic*
>   1272 libmosekjava7_0.so*      868 mosek*	         80 mskdgopt*	         4 msktestlicok.bat*
>    124 libmosekscopt7_0.so*     344 mosek.jar	        156 mskexpopt*	         4 msktestmosek.bat
>
> I'm saying this because in the only other references I googled about the error, Erling seemed to suggest this might have been the issue, but I don't think it's my case.
>
> I had a few similar issues with OsiCpx and OsiGrb, you have to fumble a little with the "-lXXX" there, but I managed. Unfortunately I can't say the same for OsiMsk. Anybody tried this any recently and can offer some hint?
>
> 	Thanks
>
> 	Antonio
>
> -------------------------------------------------
> Youth is friendship, love, and mobil suits [MSGA]
>
>
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/osi
>



More information about the Osi mailing list