[Bonmin] make test fails
Pierre Bonami
pierre.bonami at gmail.com
Sun Nov 16 00:16:48 EST 2008
Hi,
Did you download the required third party codes?
You need at least:
- Blas/Lapcak
- Ampl Solver Library (ASL)
- One linear solver: HSL or Mumps.
Instructions are here:
https://projects.coin-or.org/Bonmin/wiki/ThirdParty
Best,
Pierre
On Nov 16, 2008, at 5:49 AM, Matthew Galati wrote:
> If I ignore the make test failure and proceed with make install.... I
> get no more errors. However, I do not see the bonmin exec -- for
> example, to run with AMPL.
>
> It looks like I have the libraries, but not exec. Does it put it
> somewhere other than bin/ ?
>
> [magala at ordlnx01 build]$ ls lib
> libbonmin.la libCbcSolver.la libClp.la
> libipopt.la libOsiClp.la
> libbonmin.so libCbcSolver.so libClp.so
> libipopt.so libOsiClp.so
> libbonmin.so.0 libCbcSolver.so.0 libClp.so.0
> libipopt.so.0 libOsiClp.so.0
> libbonmin.so.0.0.0 libCbcSolver.so.0.0.0 libClp.so.0.0.0
> libipopt.so.0.0.0 libOsiClp.so.0.0.0
> libCbc.la libCgl.la libCoinUtils.la
> libOsiCbc.la libOsi.la
> libCbc.so libCgl.so libCoinUtils.so
> libOsiCbc.so libOsi.so
> libCbc.so.0 libCgl.so.0 libCoinUtils.so.0
> libOsiCbc.so.0 libOsi.so.0
> libCbc.so.0.0.0 libCgl.so.0.0.0 libCoinUtils.so.0.0.0
> libOsiCbc.so.0.0.0 libOsi.so.0.0.0
> [magala at ordlnx01 build]$ ls bin/
> cbc clp
>
>
>
>
>> Hi - first time using BonMin. Using release 1.0.0.
>>
>> [magala at ordlnx01 build]$ uname -a
>> Linux ordlnx01.unx.sas.com 2.6.9-11.ELsmp #1 SMP Fri May 20
>> 18:26:27 EDT
>> 2005 i686 i686 i386 GNU/Linux
>> [magala at ordlnx01 build]$ gcc -v
>> Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
>> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
>> --infodir=/usr/share/info --enable-shared --enable-threads=posix
>> --disable-checking --with-system-zlib --enable-__cxa_atexit
>> --disable-libunwind-exceptions --enable-java-awt=gtk
>> --host=i386-redhat-linux
>> Thread model: posix
>> gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)
>>
>>
>> On "make test" I get the following error:
>>
>> ....
>> fortranbegin -lgfortranpreview -lm -lgcc_s -Wl,--rpath
>> -Wl,/users/magala/Bonmin-
>> 1.0.0/build/lib
>> creating CppExample
>> ./unitTest
>> Test OsiTMINLPInterface with Ipopt solver
>> All test passed successfully
>> ./CppExample
>> Exception of type: OPTION_INVALID in file
>> "../../../../Ipopt/src/Algorithm/IpAlg
>> Builder.cpp" at line 275:
>> Exception message: Selected linear solver MA27 not available.
>> Tried to obtain MA27 from shared library "libhsl.so", but the
>> following
>> error oc cured:
>> libhsl.so: cannot open shared object file: No such file or directory
>>
>> EXIT: Invalid option encountered.
>> Problem status: 3
>> Objective value: 1.79769e+308
>> Ipopt has failed to solve a problem
>> make[2]: Leaving directory `/home/magala/Bonmin-1.0.0/build/Bonmin/
>> test'
>> make[1]: Leaving directory `/home/magala/Bonmin-1.0.0/build/Bonmin'
>>
>> _______________________________________________
>> Bonmin mailing list
>> Bonmin at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/bonmin
>>
>
> _______________________________________________
> Bonmin mailing list
> Bonmin at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/bonmin
More information about the Bonmin
mailing list