Cbc icon indicating copy to clipboard operation
Cbc copied to clipboard

building from source via coinbrew exits with error code 1 due to fortran error

Open jpcarbod opened this issue 4 years ago • 2 comments

Working on Ubuntu 18.04.2 within Windows 10 (potentially irrelevant)

Executing sudo ./coinbrew build [email protected] --prefix=/usr/bin --no-prompt

because I want version 2.10.5 installed and apt-get install coinor-cbc installs version 2.9.9

Error reported with ./coinbrew call above: xerbla: Error on line 35: Declaration error for len_trim: unknown intrinsic function /usr/bin/fort77: aborting compilation make: *** [xerbla.lo] Error 1

Build failed, see error output above

Thanks.

jpcarbod avatar Oct 08 '21 20:10 jpcarbod

Sorry for the delay, I completely missed this when it came in. I have no idea on that error, but since it's about Fortran, skipping building of BLAS and Lapack should fix it (and these are not needed on Linux anyway, since Cbc will link to the system-installed libraries automatically. If you add --no-third-party, that should do the trick.

tkralphs avatar Nov 29 '21 22:11 tkralphs

If that doesn't work, you can re-run coinbrew with -v 4 and attach the full output.

tkralphs avatar Nov 30 '21 16:11 tkralphs