[Cbc] unable to build - svn externals broken, coinbrew broken ?

Pieter Zieschang pieter.zieschang at modis.de
Thu Jan 23 07:00:06 EST 2020


Hello Stefan,

i can confirm, that with installed Lapack and BLAS coinbrew works with 
mumps and does not error out on Clp



Mit freundlichen Grüßen / Kind regards
________________________________________

Pieter Zieschang

Modis IT Outsourcing GmbH
Atriumstraße 1, 04315 Leipzig

Amtsgericht Düsseldorf: HRB 78227
Geschäftsführer: Martin Wimmer, Jörg Brinkmann

ito.modis.de






From:   "Stefan Vigerske" <svigerske at gams.com>
To:     "Pieter Zieschang" <pieter.zieschang at modis.de>
Cc:     "cbc" <cbc at list.coin-or.org>
Date:   23.01.2020 12:37
Subject:        Re: [Cbc] unable to build - svn externals broken, coinbrew 
broken ?



Hi,

I think the configure of ThirdParty/Mumps just missed to stop with an 
error when Lapack isn't found on the system, and then the first thing 
that actually failed was linking an executable, in this case clp.
I fixed this in ThirdParty/Mumps, so it should now fail much earlier.

If you don't want install Lapack, but keep using coinbrew, then call it 
with --skip=ThirdParty/Mumps.

Stefan


On 1/23/20 12:06 PM, Pieter Zieschang wrote:
> Hi Stefan,
> 
> sure, will run with verbosity 4 and redirect everything to a file.
> 
> 
> $ ldd /opt/msp/cbc-trunk-2020-01-22_test/lib/libcoinmumps.so
>          linux-vdso.so.1 (0x00007ffe9f141000)
>          libcoinmetis.so.0 =>
> /opt/msp/cbc-trunk-2020-01-22_test/lib/libcoinmetis.so.0
> (0x00007fb8bfe18000)
>          libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb8bfde6000)
>          libgfortran.so.5 => /lib64/libgfortran.so.5 
(0x00007fb8bfb44000)
>          libm.so.6 => /lib64/libm.so.6 (0x00007fb8bf9fe000)
>          libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fb8bf9e4000)
>          libquadmath.so.0 => /lib64/libquadmath.so.0 
(0x00007fb8bf99a000)
>          libc.so.6 => /lib64/libc.so.6 (0x00007fb8bf7d2000)
>          /lib64/ld-linux-x86-64.so.2 (0x00007fb8bffd2000)
> 
> 
> 
> build command was:
> 
> $ ../coinbrew build install Cbc --enable-cbc-parallel --verbosity=4 
--test
> --prefix=/opt/msp/cbc-trunk-2020-01-22_test --disable-silent-rules
> --no-prompt >buildlog.txt 2>&1
> 
> 
> buildlog is uploaded here:
> 
> https://mega.nz/#!R7QWzYwZ!ydlADfFAl_9SUwrv8qtGUg85qp1b68hwVCLcc4TOYSQ
> 
> 
> 
> Thanks for looking into this :-)
> 
> 
> 
> 
> Mit freundlichen Grüßen / Kind regards
> ________________________________________
> 
> Pieter Zieschang
> 
> Modis IT Outsourcing GmbH
> Atriumstraße 1, 04315 Leipzig
> 
> Amtsgericht Düsseldorf: HRB 78227
> Geschäftsführer: Martin Wimmer, Jörg Brinkmann
> 
> ito.modis.de
> 
> 
> 
> 
> 
> 
> From:   "Stefan Vigerske" <svigerske at gams.com>
> To:     "Pieter Zieschang" <pieter.zieschang at modis.de>
> Date:   23.01.2020 11:01
> Subject:        Re: [Cbc] unable to build - svn externals broken, 
coinbrew
> broken ?
> 
> 
> 
> Hi,
> 
> regarding this one:
> 
> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
> reference to `dcopy_'
> 
> It looks like libcoinmumps.so somehow missed to record the Blas/Lapack
> dependency.
> So what does a ldd /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so
> look like?
> 
> Can you maybe rerun the whole coinbrew thing again from scratch, but
> additionally add --disable-silent-rules, and capture the complete log
> and make this available to me?
> 
> Stefan
> 
> 
> On 1/22/20 3:18 PM, Pieter Zieschang wrote:
>> Hello,
>>
>> your answer with "where the CoinUtils install should have been"
>>
>> made me try it out with installation, e.g. build install
>>
>> ../coinbrew build install Cbc --enable-cbc-parallel --verbosity=4 
--test
>> --prefix=/opt/msp/cbc-trunk-2020-01-22 --no-prompt
>>
>>
>> Now it progresses beyond Osi compile and install, but fails on Clp.
>>
>>
>> This on Fedora release 30 (Thirty).
>>
>>
>> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
>> reference to `dcopy_'
>> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
>> reference to `dger_'
>> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
>> reference to `idamax_'
>> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
>> reference to `dgemv_'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [Makefile:916: clp] Error 1
>>
>>
>> So there is definitely something wrong with build only without install.
>>
>>
>>
>> Next step was to exclude mumps using --without-mumps, because it failed
> on
>> linking within the Mumps part.
>>
>> It compiled and installed fine !
>>
>>
>> So i think the build only brewcoin does not work and mumps has some
> issues
>> in current trunk too.
>>
>>
>> Pieter
>>
>>
>>
>> Mit freundlichen Grüßen / Kind regards
>> ________________________________________
>>
>> Pieter Zieschang
>>
>>
>> Modis IT Outsourcing GmbH
>> Atriumstraße 1, 04315 Leipzig
>>
>> Amtsgericht Düsseldorf: HRB 78227
>> Geschäftsführer: Martin Wimmer, Jörg Brinkmann
>>
>> ito.modis.de
>>
>>
>>
>>
>>
>>
>> From:   "Stefan Vigerske" <svigerske at gams.com>
>> To:     "Pieter Zieschang" <pieter.zieschang at modis.de>,
>> cbc at list.coin-or.org
>> Date:   22.01.2020 14:12
>> Subject:        Re: [Cbc] unable to build - svn externals broken,
> coinbrew
>> broken ?
>>
>>
>>
>> Hi,
>>
>> it looks like the install of CoinUtils didn't run through.
>> coinbrew should build and install CoinUtils before configuring Osi.
>> In the pieces from the log you posted, I only see "..." where the
>> CoinUtils install should have been.
>>
>> Cbc requires Osi, there is no way to build Cbc without it.
>>
>> Stefan
>>
>> On 1/22/20 12:07 PM, Pieter Zieschang wrote:
>>> Hello,
>>>
>>> Coin-CBC seems to be broken for building.
>>>
>>>
>>> svn checkout https://projects.coin-or.org/svn/Cbc/trunk/
>>>
>>> does not contain the externals anymore and directory structure seems 
to
>>> have changed, so the old simple way of just building Cbc does not work
>>> anymore
>>>
>>> which was:
>>>
>>> cd build
>>> ../configure --enable-cbc-parallel --prefix=/opt/cbc-trunk
>>> make && make test && make install
>>>
>>>
>>> Unfortunately coinbrew fails too, building CoinUtils and then missing
> it
>>> !?
>>>
>>>
>>> mkdir Cbc-trunk-2020-01-22
>>> cd Cbc-trunk-2020-01-22
>>> ../coinbrew fetch Cbc:trunk --verbosity=2 --no-prompt
>>> ../coinbrew build Cbc --verbosity=4 --test
>>> --prefix=/opt/cbc-trunk-2020-01-22
>>>
>>> ..
>>>      CXXLD    libCoinUtils.la
>>> make[2]: Leaving directory
>>> '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master/src'
>>> make[1]: Leaving directory
>>> '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master/src'
>>> make[1]: Entering directory
>>> '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master'
>>> make[1]: Nothing to be done for 'all-am'.
>>> make[1]: Leaving directory
>>> '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master'
>>>
>>> ...
>>> Configuring Osi Master
>>> ...
>>> checking pkgconf is at least version 0.16.0... yes: 1.6.1
>>> configure: pkgconf path is
>> "/opt/msp/cbc-trunk-2020-01-22/lib/pkgconfig:"
>>> checking for package CoinUtils... no
>>> configure: error: Required package CoinUtils not available.
>>>
>>>
>>>
>>> Is there any way to skip Osi Master for now?
>>> Currently i only need the main CBC, nothing else.
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> Mit freundlichen Grüßen / Kind regards
>>> ________________________________________
>>>
>>> Pieter Zieschang
>>>
>>>
>>> Modis IT Outsourcing GmbH
>>> Atriumstraße 1, 04315 Leipzig
>>>
>>> Amtsgericht Düsseldorf: HRB 78227
>>> Geschäftsführer: Martin Wimmer, Jörg Brinkmann
>>>
>>> ito.modis.de
>>>
>>>
>>>
>>> Diese E-Mail und alle Anhänge sind vertraulich und für den Adressaten
>> bestimmt und können auch privilegiert oder von der Offenlegung nach
>> geltendem Recht ausgenommen sein. Wenn Sie nicht der Adressat sind oder
>> diese E-Mail irrtümlicherweise erhalten haben, benachrichtigen Sie den
>> Absender unverzüglich, löschen Sie die E-Mail aus Ihrem System und
>> kopieren Sie keine Teile dieser E-Mail oder deren Anhänge und geben Sie
>> sie nicht weiter.
>>>
>>> This email and any attachments are confidential and intended for the
>> addressee and may also be privileged or exempt from disclosure under
>> applicable law. If you are not the addressee, or have received this
> email
>> in error, please notify the sender immediately, delete it from your
> system
>> and do not copy, or disclose or otherwise act upon any part of this
> email
>> or its attachments.
>>>
>>>
>>> _______________________________________________
>>> Cbc mailing list
>>> Cbc at list.coin-or.org
>>> https://list.coin-or.org/mailman/listinfo/cbc
>>>
>>
>>
>>
>>
>> Diese E-Mail und alle Anhänge sind vertraulich und für den Adressaten
> bestimmt und können auch privilegiert oder von der Offenlegung nach
> geltendem Recht ausgenommen sein. Wenn Sie nicht der Adressat sind oder
> diese E-Mail irrtümlicherweise erhalten haben, benachrichtigen Sie den
> Absender unverzüglich, löschen Sie die E-Mail aus Ihrem System und
> kopieren Sie keine Teile dieser E-Mail oder deren Anhänge und geben Sie
> sie nicht weiter.
>>
>> This email and any attachments are confidential and intended for the
> addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this 
email
> in error, please notify the sender immediately, delete it from your 
system
> and do not copy, or disclose or otherwise act upon any part of this 
email
> or its attachments.
>>
> 
> 
> 
> 
> Diese E-Mail und alle Anhänge sind vertraulich und für den Adressaten 
bestimmt und können auch privilegiert oder von der Offenlegung nach 
geltendem Recht ausgenommen sein. Wenn Sie nicht der Adressat sind oder 
diese E-Mail irrtümlicherweise erhalten haben, benachrichtigen Sie den 
Absender unverzüglich, löschen Sie die E-Mail aus Ihrem System und 
kopieren Sie keine Teile dieser E-Mail oder deren Anhänge und geben Sie 
sie nicht weiter.
> 
> This email and any attachments are confidential and intended for the 
addressee and may also be privileged or exempt from disclosure under 
applicable law. If you are not the addressee, or have received this email 
in error, please notify the sender immediately, delete it from your system 
and do not copy, or disclose or otherwise act upon any part of this email 
or its attachments.
> 




Diese E-Mail und alle Anhänge sind vertraulich und für den Adressaten bestimmt und können auch privilegiert oder von der Offenlegung nach geltendem Recht ausgenommen sein. Wenn Sie nicht der Adressat sind oder diese E-Mail irrtümlicherweise erhalten haben, benachrichtigen Sie den Absender unverzüglich, löschen Sie die E-Mail aus Ihrem System und kopieren Sie keine Teile dieser E-Mail oder deren Anhänge und geben Sie sie nicht weiter. 

This email and any attachments are confidential and intended for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this email in error, please notify the sender immediately, delete it from your system and do not copy, or disclose or otherwise act upon any part of this email or its attachments.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20200123/fbed7087/attachment-0001.html>


More information about the Cbc mailing list