Hi,
I'm trying to using MKL via:
cmake ../ceres-solver-1.8.0 \
-DBLAS_LIBRARIES="${MKL_LIBDIR}/libmkl_intel_lp64.a,${MKL_LIBDIR}/libmkl_sequential.a,${MKL_LIBDIR}/libmkl_core.a" \
-DLAPACK_LIBRARIES="${MKL_LIBDIR}/libmkl_intel_lp64.a,${MKL_LIBDIR}/libmkl_sequential.a,${MKL_LIBDIR}/libmkl_core.a" \
...
I also tried space-separating them. cmake runs, and make runs until:
> make
make[2]: *** No rule to make target `/usr/common/usg/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_intel_lp64.a,/usr/common/usg/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_sequential.a,/usr/common/usg/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_core.a', needed by `lib/libceres.so.1.8.0'. Stop.
It looks like the makefile is assuming a single file, while I need (apparently) to specify the three libraries.
Am I specifying the lib incorrectly, or is this a bug?
Thanks,
--dustin