[BCP] Installation - problem with Blas

Luis de la Torre ledelato at gmail.com
Thu May 10 15:34:41 EDT 2012


I'm following Francois Margot's instructions for installing BCP and
getting started with COIN at
http://wpweb2.tepper.cmu.edu/fmargot/COIN/proj1.pdf.

When I try to follow the instructions In Section 4.1, "Using Lapack
and Blas", I'm not sure what to use as the blas library. In the guide,
the library is libblas.so.3. In /usr/lib, I have libblas.a  libblas.so
 libblas.so.3gf  libblas.so.3gf.0 and I also have these same files in
/usr/lib/libblas, but no libblas.so.3. I've tried each of these in the
config.site file, and with all of them, I get the message "user
supplied BLAS library "/usr/lib/libblas/<fileIPointedTo>" does not
work"

I'm running Linux Mint 12 64-bit, and I used Synaptic to install what
I think are the blas packages I need. I'm attaching the
last_configure.txt that is output when I try to configure.

Thank you,

Luis de la Torre
-------------- next part --------------
configure: loading site script /home/luisdlt/coin/Bcp-1.3.4/buildg/share/config.site
configure: loading cache config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking whether we want to compile in debug mode... yes
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
configure: C compiler options are: -g -O0 -pipe -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long  
checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether C++ compiler g++ works... yes
configure: C++ compiler options are: -g -O0 -pipe -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long  
configure: Trying to determine Fortran compiler name
checking for gfortran... no
checking for ifort... no
checking for g95... no
checking for fort77... no
checking for f77... no
checking for g77... no
checking for pgf90... no
checking for pgf77... no
checking for ifc... no
checking for frt... no
checking for af77... no
checking for xlf_r... no
configure: WARNING: Failed to find a Fortran compiler!
configure: Fortran compiler options are:  
checking for egrep... (cached) grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking dependency style of g++... (cached) gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... (cached) /bin/sed
checking for ld used by gcc... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognise dependent libraries... (cached) pass_all
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking how to run the C++ preprocessor... (cached) g++ -E
checking the maximum length of command line arguments... (cached) 32768
checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok
checking for objdir... (cached) .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... (cached) /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for unavailable option to produce PIC... -fPIC
checking if unavailable PIC flag -fPIC works... no
checking if unavailable static flag -static works... no
checking if unavailable supports -c -o file.o... (cached) no
checking whether the unavailable linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... ../configure: line 16532: unavailable: command not found
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: Build is "x86_64-unknown-linux-gnu".
checking if library version is set... no
checking whether source of project CoinUtils is available and should be compiled... yes, source in CoinUtils
checking whether source of project Osi is available and should be compiled... yes, source in Osi
checking whether source of project Vol is available and should be compiled... yes, source in Vol
checking whether source of project Clp is available and should be compiled... yes, source in Clp
checking whether source of project Cgl is available and should be compiled... yes, source in Cgl
checking whether source of project Bcp is available and should be compiled... yes, source in Bcp
checking which command should be used to link input files... ln -s
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in CoinUtils
configure: running /bin/bash '../../CoinUtils/configure' --prefix=/home/luisdlt/coin/Bcp-1.3.4/buildg  '-C' --cache-file=../config.cache --srcdir=../../CoinUtils
configure: loading site script /home/luisdlt/coin/Bcp-1.3.4/buildg/share/config.site
configure: loading cache ../config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking for svnversion... yes
checking whether we want to compile in debug mode... yes
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
configure: C compiler options are: -g -O0 -pipe -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long   -DCOINUTILS_BUILD
checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether C++ compiler g++ works... yes
configure: C++ compiler options are: -g -O0 -pipe -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long   -DCOINUTILS_BUILD
configure: Trying to determine Fortran compiler name
checking for gfortran... no
checking for ifort... no
checking for g95... no
checking for fort77... no
checking for f77... no
checking for g77... no
checking for pgf90... no
checking for pgf77... no
checking for ifc... no
checking for frt... no
checking for af77... no
checking for xlf_r... no
configure: WARNING: Failed to find a Fortran compiler!
configure: Fortran compiler options are:  
checking for egrep... (cached) grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking dependency style of g++... (cached) gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
configure: Using libtool script in directory ..
checking if library version is set... 11:6:8
checking cmath usability... yes
checking cmath presence... yes
checking for cmath... yes
checking cfloat usability... yes
checking cfloat presence... yes
checking for cfloat... yes
checking cieeefp usability... no
checking cieeefp presence... no
checking for cieeefp... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking whether isfinite is declared... no
checking whether finite is declared... yes
checking for cmath... (cached) yes
checking for cfloat... (cached) yes
checking for cieeefp... (cached) no
checking for ieeefp.h... (cached) no
checking whether isnan is declared... yes
checking cinttypes usability... no
checking cinttypes presence... no
checking for cinttypes... no
checking for inttypes.h... (cached) yes
checking for int64_t... yes
checking for intptr_t... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16.0... yes
checking whether user supplied BLASLIB="/usr/lib/libblas/libblas.so" works... no
configure: error: user supplied BLAS library "/usr/lib/libblas/libblas.so" does not work
configure: error: /bin/bash '../../CoinUtils/configure' failed for CoinUtils


More information about the BCP mailing list