[Coin-discuss] Coin-discuss Digest, Vol 67, Issue 2

David Rahal DavidR at deswik.com
Thu Jun 3 15:42:57 EDT 2010


J

Sent from my iPhone

On 04/06/2010, at 2:03 AM, "coin-discuss-request at list.coin-or.org" <coin-discuss-request at list.coin-or.org 
 > wrote:

> Send Coin-discuss mailing list submissions to
>    coin-discuss at list.coin-or.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://list.coin-or.org/mailman/listinfo/coin-discuss
> or, via email, send a message with subject or body 'help' to
>    coin-discuss-request at list.coin-or.org
>
> You can reach the person managing the list at
>    coin-discuss-owner at list.coin-or.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Coin-discuss digest..."
>
>
> Today's Topics:
>
>   1. Re: Compile of dip on AIX - help required (Andreas Waechter)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 3 Jun 2010 10:11:26 -0400 (EDT)
> From: Andreas Waechter <andreasw at watson.ibm.com>
> Subject: Re: [Coin-discuss] Compile of dip on AIX - help required
> To: Derek Jones <scunacc at yahoo.com>
> Cc: Discussions about open source software for Operations Research
>    <coin-discuss at list.coin-or.org>
> Message-ID: <Pine.A41.4.61.1006031008360.499876 at bigopt.watson.ibm.com>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Hi Derek,
>
> One other suggestion (probably unrelated to your problem though):
>
> On AIX you can set the environment variable OBJECT_MODE=64 for the IBM
> compilers to tell all tools that you want to compile 64bit code.   
> Then you
> don't need to set all the flags.
>
> Also, if you have bash installed somewhere on your system, you might  
> be
> able speed up your configure scripts by setting the env variable
>
> CONFIG_SHELL=/usr/bin/bash
>
> (wherever your bash is...)
>
> Andreas
>
> On Wed, 2 Jun 2010, Derek Jones wrote:
>
>> Thanks I'll try that change and see if it works. Appreciated!
>>
>> Kind regards
>>
>> Derek.
>>
>>
>> Stefan Vigerske wrote:
>>> Hi,
>>>
>>> this looks like a problem with confusing LIBS and LDADD in the Cbc  
>>> (and
>>> Clp) Makefile.
>>> Problem is that the LIBS flag is also used when building libClp,  
>>> libCbc,
>>> and libCbcSolver, but should only be used for building binaries.
>>>
>>> For a workaround, edit the generated Makefiles as shown here:
>>> https://projects.coin-or.org/GAMSlinks/browser/trunk/makefiles.patch
>>>
>>> A real fix will come with some larger changes in the build system  
>>> - that
>>> may still take some time.
>>>
>>> Stefan
>>>
>>>
>>> Am 02.06.2010 21:37, schrieb Derek Jones:
>>>> Hi folks,
>>>>
>>>> With Matt Galati's help, I've been trying to compile Dip from the  
>>>> trunk
>>>> under AIX
>>>>
>>>> Hitting problems with the Cbc section.
>>>>
>>>> Here's what I have so far:
>>>>
>>>>
>>>> ./configure \
>>>> --prefix=/lapps/local_Alper \
>>>> --disable-shared \
>>>> --enable-static=yes \
>>>> AR="ar  -X64 " \
>>>> NM="nm  -X64 " \
>>>> F77="xlf -q64 " \
>>>> CC="xlc   -q64 " \
>>>> CXX="xlC   -q64 " \
>>>> CFLAGS="    -O -bmaxdata:0x3f0000000    " \
>>>> CXXFLAGS="   -O -bmaxdata:0x3f0000000 -qrtti " \
>>>> FFLAGS="   " \
>>>> LIBS=" -lm -lpthread " \
>>>> LDFLAGS=" " \
>>>> --with-cplex-incdir=/opt/ilog/
>>>> cplex121/include/ilcplex \
>>>> --with-cplex-lib="
>>>> /opt/ilog/cplex121/lib/power64_aix5.3_7.0/static_stl/libcplex.a
>>>> /opt/ilog/cplex121/lib/power64_aix5.3_7.0/static_stl/ 
>>>> libilocplex.a  "
>>>>
>>>> It gets a good way through, but fails like this:
>>>>
>>>> xlC -q64 -O -bmaxdata:0x3f0000000 -qrtti -o cbc CoinSolve.o
>>>> ./.libs/libCbcSolver.a ./.libs/libCbc.a
>>>> /home/derjones/COIN/coin-Dip/Cbc/../Cgl/src/.libs/libCgl.a
>>>> /home/derjones/COIN/coin-Dip/Cbc/../Osi/src/OsiClp/.libs/ 
>>>> libOsiClp.a
>>>> /home/derjones/COIN/coin-Dip/Cbc/../Osi/src/.libs/libOsi.a
>>>> /home/derjones/COIN/coin-Dip/Cbc/../Clp/src/.libs/libClp.a
>>>> /home/derjones/COIN/coin-Dip/Cbc/../CoinUtils/src/.libs/ 
>>>> libCoinUtils.a
>>>> /home/derjones/COIN/coin-Dip/Cbc/../Osi/src/OsiCpx/.libs/ 
>>>> libOsiCpx.a
>>>> -lblas /opt/ilog/cplex121/lib/
>>>> power64_aix5.3_7.0/static_stl/libcplex.a
>>>> /opt/ilog/cplex121/lib/power64_aix5.3_7.0/static_stl/ 
>>>> libilocplex.a -lm
>>>> -lpthread
>>>> -blibpath:/lapps/local_Alper/lib:/usr/vac/lib:/usr/vacpp/lib:/usr/ 
>>>> lib:/lib
>>>> munch: Error reading input file ./.libs/libCbcSolver.a
>>>> make[2]: *** [cbc] Error 1
>>>> make[2]: Leaving directory `/home/derjones/COIN/coin-Dip/Cbc/src'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/home/derjones/COIN/coin-Dip/Cbc'
>>>> make: *** [all-recursive] Error 1
>>>>
>>>>
>>>> Here's the lib info.
>>>>
>>>> portia $ cd Cbc/src
>>>> portia $ ar t .libs/libCbcSolver.
>>>> libCbcSolver.a    libCbcSolver.la   libCbcSolver.lai
>>>> portia $ ar t .libs/libCbcSolver.a
>>>> libcplex.a
>>>> libilocplex.a
>>>> lt1-libcplex.a
>>>> lt2-libilocplex.a
>>>> lt3-libcplex.a
>>>> lt4-libilocplex.a
>>>> libcplex.a
>>>> libilocplex.a
>>>> libcplex.a
>>>> libilocplex.a
>>>> libcplex.a
>>>> libilocplex.a
>>>> portia $ ls -l .libs/libCbcSolver.a
>>>> -rw-rw-r--    1 derjones xplat      61283112 Jun 02 15:04
>>>> .libs/libCbcSolver.a
>>>> portia $
>>>>
>>>>
>>>> portia $ file .libs/libCbcSolver.a
>>>> .libs/libCbcSolver.a: archive (big format)
>>>>
>>>> Any ideas? How about the configure?
>>>>
>>>> Help appreciated,
>>>>
>>>> Kind regards
>>>>
>>>> Derek.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Coin-discuss mailing list
>>>> Coin-discuss at list.coin-or.org
>>>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>>>
>>>
>>
>> _______________________________________________
>> Coin-discuss mailing list
>> Coin-discuss at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>>
>>
>
>
>
> ------------------------------
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
> End of Coin-discuss Digest, Vol 67, Issue 2
> *******************************************
>
>




More information about the Coin-discuss mailing list