Package Details: suitesparse-mkl 4.5.5-1

Git Clone URL: https://aur.archlinux.org/suitesparse-mkl.git (read-only)
Package Base: suitesparse-mkl
Description: A collection of sparse matrix libraries (compiled with the Intel MKL lib)
Upstream URL: http://faculty.cse.tamu.edu/davis/suitesparse.html
Licenses: GPL
Conflicts: suitesparse, umfpack,
Provides: suitesparse=${pkgver}, umfpack,
Replaces: suitesparse, umfpack,
Submitter: herraiz
Maintainer: None
Last Packager: herraiz
Votes: 2
Popularity: 0.027974
First Submitted: 2016-11-25 11:10
Last Updated: 2017-05-16 14:57

Required by (55)

Sources (2)

Latest Comments

herraiz commented on 2017-09-28 08:37

I am going to need some days to debug this, as I am away from my laptop with Arch.

I suspect it could be related to the latest updates in the Intel compiler and the MKL libs. I have not been able to update this package to those versions yet.

Shaikh commented on 2017-09-28 07:35

I made a small patch to fix the 'openmp' problem in my last comment. build continues, but after a while, new failure appears.


icc -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -O3 -fexceptions -fPIC -qopenmp -I/opt/intel/composerxe/linux/mkl/include -I../Include -I../Source -I../../AMD/Include -I../../SuiteSparse_config -I../../CHOLMOD/Include -DZLONG -c ../Source/umf_row_search.c -o umf_zl_row_search.o
icc: command line warning #10159: invalid argument for option '-m'
icc: command line warning #10006: ignoring unknown option '-fno-plt'
icc -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -O3 -fexceptions -fPIC -qopenmp -I/opt/intel/composerxe/linux/mkl/include -I../Include -I../Source -I../../AMD/Include -I../../SuiteSparse_config -I../../CHOLMOD/Include -DZLONG -c ../Source/umf_scale_column.c -o umf_zl_scale_column.o
icc: command line warning #10159: invalid argument for option '-m'
icc: command line warning #10006: ignoring unknown option '-fno-plt'
../Source/umf_scale_column.c(290) (col. 6): internal error: 04010002_12240

compilation aborted for ../Source/umf_scale_column.c (code 4)
make[3]: *** [Makefile:229: umf_zl_scale_column.o] Error 4
make[3]: Leaving directory '/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/UMFPACK/Lib'
make[2]: *** [Makefile:19: library] Error 2
make[2]: Leaving directory '/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/UMFPACK/Lib'
make[1]: *** [Makefile:14: all] Error 2
make[1]: Leaving directory '/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/UMFPACK'
make: *** [Makefile:25: go] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build suitesparse-mkl package(s)

Shaikh commented on 2017-09-27 11:58

build fails, error msg as bellow. Thank you.

additional info:
gcc:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.2.0 (GCC)


icc:
$ icc -v
icc version 18.0.0 (gcc version 7.2.0 compatibility)


==> Starting build()...
Using pre-installed METIS 5.1.0 library at [/usr/lib/libmetis.so]
( cd SuiteSparse_config && make )
make[1]: Entering directory '/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/SuiteSparse_config'
icc -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -O3 -fexceptions -fPIC -qopenmp -I/opt/intel/composerxe/linux/mkl/include -c SuiteSparse_config.c
icc: command line warning #10159: invalid argument for option '-m'
icc: command line warning #10006: ignoring unknown option '-fno-plt'
ar rv libsuitesparseconfig.a SuiteSparse_config.o
ar: creating libsuitesparseconfig.a
a - SuiteSparse_config.o
ranlib libsuitesparseconfig.a
make install INSTALL=/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse
make[2]: Entering directory '/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/SuiteSparse_config'
icc -D_GNU_SOURCE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -openmp -L/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/lib -openmp -L/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/lib -openmp -L/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/lib -shared -Wl,-soname -Wl,libsuitesparseconfig.so.4 -Wl,--no-undefined SuiteSparse_config.o -o /home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/lib/libsuitesparseconfig.so.4.5.5 -lm -lrt -Wl,-rpath=/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/lib
icc: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'
make[2]: *** [Makefile:53: /home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/lib/libsuitesparseconfig.so.4.5.5] Error 1
make[2]: Leaving directory '/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/SuiteSparse_config'
make[1]: *** [Makefile:23: library] Error 2
make[1]: Leaving directory '/home/shaikh/.cache/pacaur/suitesparse-mkl/src/SuiteSparse/SuiteSparse_config'
make: *** [Makefile:14: go] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build suitesparse-mkl package(s)


gwaterst commented on 2017-05-11 10:21

Could you change to:

conflicts=('umfpack', 'suitesparse')
provides=('umfpack', 'suitesparse=${pkgver}')
replaces=('umfpack', 'suitesparse')

This enables python-cvxopt and python2-cvxopt to be built against suitesparse-mkl.

herraiz commented on 2017-05-09 10:03

Thanks for the hint @pats, I have added it to the PKGBUILD

pats commented on 2017-05-03 04:55

add export LAPACK="-L/opt/intel/mkl/lib/intel64 -lmkl_rt" before the make command in package()

i4c3 commented on 2017-05-02 00:49

The build fails with the following message. Seems like lapack is missing, but I thought intel-mkl (which is installed) should provide that?
https://pastebin.com/Pxm7X8vZ