[Clp] Can't compile Clp 1.15.6
Stefan Vigerske
stefan at math.hu-berlin.de
Fri Dec 20 05:01:33 EST 2013
Hi,
try without Metis, Glpk, and Mumps, they make only sense if you use Clp
barrier solver.
Could well be that the Clp buildsystem expects something from Glpk and
Mumps that we provide if build via ThirdParty/Glpk and ThirdParty/Mumps,
but that is not available in your system-glpk/mumps.
Stefan
On 12/20/2013 09:51 AM, Masaru Nomiya wrote:
> Hello,
>
> I got the Clp-1.15.6.tgz, and tried to compile.
> But it failed;
>
> [...]
> g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DCLP_BUILD -o .libs/clp ClpMain.o CbcOrClpParam.o MyEventHandler.o MyMessageHandler.o unitTest.o /usr/lib64/libmumps_common_seq.so /usr/lib64/libglpk.so.0 /usr/lib64/libglpk.so.0 /usr/lib64/liblapack.so.3 /usr/lib64/libblas.so.3 ./.libs/libClp.so /tmp/source/Clp-1.15.6/CoinUtils/src/.libs/libCoinUtils.so -lbz2 -lz -lm
> ./.libs/libClp.so: undefined reference to `amd_defaults'
> ./.libs/libClp.so: undefined reference to `dmumps_c'
> ./.libs/libClp.so: undefined reference to `amd_order'
> collect2: error: ld returned 1 exit status
> make[3]: *** [clp] error 1
>
> Any hint?
>
> FYI:
>
> 1. my system: openSUSE 12.3 x86_64
> 2. CPU: AMD Opteron 2224 SE x 2
> 3. my configure;
>
> ./configure --with-blas-lib=/usr/lib64/libblas.so.3 \
> --with-blas-incdir=/usr/include \
> --with-lapack-lib=/usr/lib64/liblapack.so.3 \
> --with-lapack-incdir=/usr/include \
> --with-metis-lib=/usr/lib64/libmetis.so.4 \
> --with-metis-incdir=/usr/include/metis \
> --with-glpk-lib=/usr/lib64/libglpk.so.0 \
> --with-glpk-incdir=/usr/include \
> --with-mumps-lib=/usr/lib64/libmumps_common_seq.so \
> --with-mumps-incdir=/usr/include/mumps \
> --libdir=/usr/local/lib64 \
> --prefix=/usr/local
>
> 4. amd.h
>
> I tried with amd.h of SuiteSparse 3.2.0 or of SuiteSparse 4.2.1.
>
> Thanks,
>
> --
> Masaru Nomiya
>
>
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
>
More information about the Clp
mailing list