ibayer / fastFM

fastFM: A Library for Factorization Machines
http://ibayer.github.io/fastFM
Other
1.07k stars 206 forks source link

CentOS ImportError: ./ffm.so: undefined symbol: cblas_daxpy #50

Open jeexianwu opened 8 years ago

jeexianwu commented 8 years ago

After compile&install fastFM according to install instruciton,which no error occured,

I run python from fastFM import als then get the error "ImportError: ./ffm.so: undefined symbol: cblas_daxpy".

what happend?

my os environment: centos 6.6 sudo yum install blas blas-devel lapack lapack-devel atlas atlas-devel had completed.

ibayer commented 8 years ago

After compile&install fastFM according to install instruciton,which no error occured,

Please post full list of commands and output for compile&install. I don't think that the C extension compiled properly.

The error message tells us that the compiler couldn’t find the blas installation. This might me do to different paths in centros and ubuntu, fastFM is only tested on ubuntu.

jeexianwu commented 8 years ago

My "compile&install" are as below: 1.pip install -r ./requirements.txt [datadev@cloud1 fastFM]$ sudo pip install -r ./requirements.txt Requirement already satisfied (use --upgrade to upgrade): Cython>=0.22 in /usr/lib64/python2.7/site-packages (from -r ./requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): numpy>=1.9.1 in /usr/lib64/python2.7/site-packages (from -r ./requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): scipy>=0.15.1 in /usr/lib64/python2.7/site-packages (from -r ./requirements.txt (line 3)) Requirement already satisfied (use --upgrade to upgrade): scikit-learn>=0.14.0 in /usr/lib64/python2.7/site-packages (from -r ./requirements.txt (line 4)) Cleaning up...

2. make [datadev@cloud1 fastFM]$ make ( cd fastFM-core ; make lib ) make[1]: Entering directory /home/datadev/workdir/rtb_test/fastFM/fastFM-core' ( cd src ; make lib ) make[2]: Entering directory/home/datadev/workdir/rtb_test/fastFM/fastFM-core/src' gcc -std=c99 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o kmath.o kmath.c gcc -std=c99 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_random.o ffm_random.c gcc -std=c99 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_als_mcmc.o ffm_als_mcmc.c gcc -std=c99 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_utils.o ffm_utils.c gcc -std=c99 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_sgd.o ffm_sgd.c gcc -std=c99 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm.o ffm.c ( cd ../externals/CXSparse ; make library ) make[3]: Entering directory /home/datadev/workdir/rtb_test/fastFM/fastFM-core/externals/CXSparse' ( cd Lib ; make ) make[4]: Entering directory/home/datadev/workdir/rtb_test/fastFM/fastFM-core/externals/CXSparse/Lib' cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_convert.c -o cs_convert.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_add.c -o cs_add_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_amd.c -o cs_amd_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_chol.c -o cs_chol_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_cholsol.c -o cs_cholsol_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_counts.c -o cs_counts_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_cumsum.c -o cs_cumsum_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_droptol.c -o cs_droptol_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_dropzeros.c -o cs_dropzeros_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_dupl.c -o cs_dupl_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_entry.c -o cs_entry_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_etree.c -o cs_etree_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_fkeep.c -o cs_fkeep_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_gaxpy.c -o cs_gaxpy_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_happly.c -o cs_happly_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_house.c -o cs_house_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_ipvec.c -o cs_ipvec_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_lsolve.c -o cs_lsolve_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_ltsolve.c -o cs_ltsolve_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_lu.c -o cs_lu_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_lusol.c -o cs_lusol_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_util.c -o cs_util_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_multiply.c -o cs_multiply_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_permute.c -o cs_permute_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_pinv.c -o cs_pinv_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_post.c -o cs_post_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_pvec.c -o cs_pvec_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_qr.c -o cs_qr_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_qrsol.c -o cs_qrsol_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_scatter.c -o cs_scatter_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_schol.c -o cs_schol_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_sqr.c -o cs_sqr_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_symperm.c -o cs_symperm_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_tdfs.c -o cs_tdfs_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_malloc.c -o cs_malloc_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_transpose.c -o cs_transpose_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_compress.c -o cs_compress_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_usolve.c -o cs_usolve_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_utsolve.c -o cs_utsolve_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_scc.c -o cs_scc_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_maxtrans.c -o cs_maxtrans_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_dmperm.c -o cs_dmperm_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_updown.c -o cs_updown_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_print.c -o cs_print_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_norm.c -o cs_norm_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_load.c -o cs_load_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_dfs.c -o cs_dfs_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_reach.c -o cs_reach_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_spsolve.c -o cs_spsolve_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_leaf.c -o cs_leaf_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_ereach.c -o cs_ereach_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -c ../Source/cs_randperm.c -o cs_randperm_di.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_add.c -o cs_add_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_amd.c -o cs_amd_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_chol.c -o cs_chol_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_cholsol.c -o cs_cholsol_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_counts.c -o cs_counts_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_cumsum.c -o cs_cumsum_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_droptol.c -o cs_droptol_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_dropzeros.c -o cs_dropzeros_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_dupl.c -o cs_dupl_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_entry.c -o cs_entry_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_etree.c -o cs_etree_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_fkeep.c -o cs_fkeep_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_gaxpy.c -o cs_gaxpy_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_happly.c -o cs_happly_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_house.c -o cs_house_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_ipvec.c -o cs_ipvec_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_lsolve.c -o cs_lsolve_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_ltsolve.c -o cs_ltsolve_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_lu.c -o cs_lu_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_lusol.c -o cs_lusol_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_util.c -o cs_util_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_multiply.c -o cs_multiply_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_permute.c -o cs_permute_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_pinv.c -o cs_pinv_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_post.c -o cs_post_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_pvec.c -o cs_pvec_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_qr.c -o cs_qr_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_qrsol.c -o cs_qrsol_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_scatter.c -o cs_scatter_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_schol.c -o cs_schol_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_sqr.c -o cs_sqr_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_symperm.c -o cs_symperm_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_tdfs.c -o cs_tdfs_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_malloc.c -o cs_malloc_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_transpose.c -o cs_transpose_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_compress.c -o cs_compress_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_usolve.c -o cs_usolve_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_utsolve.c -o cs_utsolve_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_scc.c -o cs_scc_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_maxtrans.c -o cs_maxtrans_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_dmperm.c -o cs_dmperm_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_updown.c -o cs_updown_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_print.c -o cs_print_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_norm.c -o cs_norm_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_load.c -o cs_load_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_dfs.c -o cs_dfs_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_reach.c -o cs_reach_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_spsolve.c -o cs_spsolve_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_leaf.c -o cs_leaf_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_ereach.c -o cs_ereach_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -c ../Source/cs_randperm.c -o cs_randperm_dl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_add.c -o cs_add_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_amd.c -o cs_amd_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_chol.c -o cs_chol_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_cholsol.c -o cs_cholsol_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_counts.c -o cs_counts_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_cumsum.c -o cs_cumsum_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_droptol.c -o cs_droptol_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_dropzeros.c -o cs_dropzeros_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_dupl.c -o cs_dupl_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_entry.c -o cs_entry_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_etree.c -o cs_etree_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_fkeep.c -o cs_fkeep_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_gaxpy.c -o cs_gaxpy_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_happly.c -o cs_happly_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_house.c -o cs_house_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_ipvec.c -o cs_ipvec_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_lsolve.c -o cs_lsolve_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_ltsolve.c -o cs_ltsolve_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_lu.c -o cs_lu_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_lusol.c -o cs_lusol_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_util.c -o cs_util_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_multiply.c -o cs_multiply_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_permute.c -o cs_permute_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_pinv.c -o cs_pinv_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_post.c -o cs_post_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_pvec.c -o cs_pvec_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_qr.c -o cs_qr_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_qrsol.c -o cs_qrsol_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_scatter.c -o cs_scatter_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_schol.c -o cs_schol_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_sqr.c -o cs_sqr_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_symperm.c -o cs_symperm_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_tdfs.c -o cs_tdfs_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_malloc.c -o cs_malloc_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_transpose.c -o cs_transpose_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_compress.c -o cs_compress_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_usolve.c -o cs_usolve_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_utsolve.c -o cs_utsolve_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_scc.c -o cs_scc_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_maxtrans.c -o cs_maxtrans_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_dmperm.c -o cs_dmperm_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_updown.c -o cs_updown_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_print.c -o cs_print_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_norm.c -o cs_norm_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_load.c -o cs_load_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_dfs.c -o cs_dfs_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_reach.c -o cs_reach_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_spsolve.c -o cs_spsolve_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_leaf.c -o cs_leaf_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_ereach.c -o cs_ereach_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_COMPLEX -c ../Source/cs_randperm.c -o cs_randperm_ci.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_add.c -o cs_add_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_amd.c -o cs_amd_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_chol.c -o cs_chol_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_cholsol.c -o cs_cholsol_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_counts.c -o cs_counts_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_cumsum.c -o cs_cumsum_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_droptol.c -o cs_droptol_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_dropzeros.c -o cs_dropzeros_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_dupl.c -o cs_dupl_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_entry.c -o cs_entry_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_etree.c -o cs_etree_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_fkeep.c -o cs_fkeep_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_gaxpy.c -o cs_gaxpy_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_happly.c -o cs_happly_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_house.c -o cs_house_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_ipvec.c -o cs_ipvec_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_lsolve.c -o cs_lsolve_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_ltsolve.c -o cs_ltsolve_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_lu.c -o cs_lu_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_lusol.c -o cs_lusol_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_util.c -o cs_util_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_multiply.c -o cs_multiply_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_permute.c -o cs_permute_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_pinv.c -o cs_pinv_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_post.c -o cs_post_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_pvec.c -o cs_pvec_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_qr.c -o cs_qr_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_qrsol.c -o cs_qrsol_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_scatter.c -o cs_scatter_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_schol.c -o cs_schol_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_sqr.c -o cs_sqr_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_symperm.c -o cs_symperm_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_tdfs.c -o cs_tdfs_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_malloc.c -o cs_malloc_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_transpose.c -o cs_transpose_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_compress.c -o cs_compress_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_usolve.c -o cs_usolve_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_utsolve.c -o cs_utsolve_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_scc.c -o cs_scc_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_maxtrans.c -o cs_maxtrans_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_dmperm.c -o cs_dmperm_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_updown.c -o cs_updown_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_print.c -o cs_print_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_norm.c -o cs_norm_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_load.c -o cs_load_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_dfs.c -o cs_dfs_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_reach.c -o cs_reach_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_spsolve.c -o cs_spsolve_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_leaf.c -o cs_leaf_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_ereach.c -o cs_ereach_cl.o cc -O3 -fexceptions -fPIC -I../SuiteSparse_config -I../Include -DCS_LONG -DCS_COMPLEX -c ../Source/cs_randperm.c -o cs_randperm_cl.o ar rv libcxsparse.a cs_convert.o cs_add_di.o cs_amd_di.o cs_chol_di.o cs_cholsol_di.o cs_counts_di.o cs_cumsum_di.o cs_droptol_di.o cs_dropzeros_di.o cs_dupl_di.o cs_entry_di.o cs_etree_di.o cs_fkeep_di.o cs_gaxpy_di.o cs_happly_di.o cs_house_di.o cs_ipvec_di.o cs_lsolve_di.o cs_ltsolve_di.o cs_lu_di.o cs_lusol_di.o cs_util_di.o cs_multiply_di.o cs_permute_di.o cs_pinv_di.o cs_post_di.o cs_pvec_di.o cs_qr_di.o cs_qrsol_di.o cs_scatter_di.o cs_schol_di.o cs_sqr_di.o cs_symperm_di.o cs_tdfs_di.o cs_malloc_di.o cs_transpose_di.o cs_compress_di.o cs_usolve_di.o cs_utsolve_di.o cs_scc_di.o cs_maxtrans_di.o cs_dmperm_di.o cs_updown_di.o cs_print_di.o cs_norm_di.o cs_load_di.o cs_dfs_di.o cs_reach_di.o cs_spsolve_di.o cs_leaf_di.o cs_ereach_di.o cs_randperm_di.o cs_add_dl.o cs_amd_dl.o cs_chol_dl.o cs_cholsol_dl.o cs_counts_dl.o cs_cumsum_dl.o cs_droptol_dl.o cs_dropzeros_dl.o cs_dupl_dl.o cs_entry_dl.o cs_etree_dl.o cs_fkeep_dl.o cs_gaxpy_dl.o cs_happly_dl.o cs_house_dl.o cs_ipvec_dl.o cs_lsolve_dl.o cs_ltsolve_dl.o cs_lu_dl.o cs_lusol_dl.o cs_util_dl.o cs_multiply_dl.o cs_permute_dl.o cs_pinv_dl.o cs_post_dl.o cs_pvec_dl.o cs_qr_dl.o cs_qrsol_dl.o cs_scatter_dl.o cs_schol_dl.o cs_sqr_dl.o cs_symperm_dl.o cs_tdfs_dl.o cs_malloc_dl.o cs_transpose_dl.o cs_compress_dl.o cs_usolve_dl.o cs_utsolve_dl.o cs_scc_dl.o cs_maxtrans_dl.o cs_dmperm_dl.o cs_updown_dl.o cs_print_dl.o cs_norm_dl.o cs_load_dl.o cs_dfs_dl.o cs_reach_dl.o cs_spsolve_dl.o cs_leaf_dl.o cs_ereach_dl.o cs_randperm_dl.o cs_add_ci.o cs_amd_ci.o cs_chol_ci.o cs_cholsol_ci.o cs_counts_ci.o cs_cumsum_ci.o cs_droptol_ci.o cs_dropzeros_ci.o cs_dupl_ci.o cs_entry_ci.o cs_etree_ci.o cs_fkeep_ci.o cs_gaxpy_ci.o cs_happly_ci.o cs_house_ci.o cs_ipvec_ci.o cs_lsolve_ci.o cs_ltsolve_ci.o cs_lu_ci.o cs_lusol_ci.o cs_util_ci.o cs_multiply_ci.o cs_permute_ci.o cs_pinv_ci.o cs_post_ci.o cs_pvec_ci.o cs_qr_ci.o cs_qrsol_ci.o cs_scatter_ci.o cs_schol_ci.o cs_sqr_ci.o cs_symperm_ci.o cs_tdfs_ci.o cs_malloc_ci.o cs_transpose_ci.o cs_compress_ci.o cs_usolve_ci.o cs_utsolve_ci.o cs_scc_ci.o cs_maxtrans_ci.o cs_dmperm_ci.o cs_updown_ci.o cs_print_ci.o cs_norm_ci.o cs_load_ci.o cs_dfs_ci.o cs_reach_ci.o cs_spsolve_ci.o cs_leaf_ci.o cs_ereach_ci.o cs_randperm_ci.o cs_add_cl.o cs_amd_cl.o cs_chol_cl.o cs_cholsol_cl.o cs_counts_cl.o cs_cumsum_cl.o cs_droptol_cl.o cs_dropzeros_cl.o cs_dupl_cl.o cs_entry_cl.o cs_etree_cl.o cs_fkeep_cl.o cs_gaxpy_cl.o cs_happly_cl.o cs_house_cl.o cs_ipvec_cl.o cs_lsolve_cl.o cs_ltsolve_cl.o cs_lu_cl.o cs_lusol_cl.o cs_util_cl.o cs_multiply_cl.o cs_permute_cl.o cs_pinv_cl.o cs_post_cl.o cs_pvec_cl.o cs_qr_cl.o cs_qrsol_cl.o cs_scatter_cl.o cs_schol_cl.o cs_sqr_cl.o cs_symperm_cl.o cs_tdfs_cl.o cs_malloc_cl.o cs_transpose_cl.o cs_compress_cl.o cs_usolve_cl.o cs_utsolve_cl.o cs_scc_cl.o cs_maxtrans_cl.o cs_dmperm_cl.o cs_updown_cl.o cs_print_cl.o cs_norm_cl.o cs_load_cl.o cs_dfs_cl.o cs_reach_cl.o cs_spsolve_cl.o cs_leaf_cl.o cs_ereach_cl.o cs_randperm_cl.o ar: creating libcxsparse.a a - cs_convert.o a - cs_add_di.o a - cs_amd_di.o a - cs_chol_di.o a - cs_cholsol_di.o a - cs_counts_di.o a - cs_cumsum_di.o a - cs_droptol_di.o a - cs_dropzeros_di.o a - cs_dupl_di.o a - cs_entry_di.o a - cs_etree_di.o a - cs_fkeep_di.o a - cs_gaxpy_di.o a - cs_happly_di.o a - cs_house_di.o a - cs_ipvec_di.o a - cs_lsolve_di.o a - cs_ltsolve_di.o a - cs_lu_di.o a - cs_lusol_di.o a - cs_util_di.o a - cs_multiply_di.o a - cs_permute_di.o a - cs_pinv_di.o a - cs_post_di.o a - cs_pvec_di.o a - cs_qr_di.o a - cs_qrsol_di.o a - cs_scatter_di.o a - cs_schol_di.o a - cs_sqr_di.o a - cs_symperm_di.o a - cs_tdfs_di.o a - cs_malloc_di.o a - cs_transpose_di.o a - cs_compress_di.o a - cs_usolve_di.o a - cs_utsolve_di.o a - cs_scc_di.o a - cs_maxtrans_di.o a - cs_dmperm_di.o a - cs_updown_di.o a - cs_print_di.o a - cs_norm_di.o a - cs_load_di.o a - cs_dfs_di.o a - cs_reach_di.o a - cs_spsolve_di.o a - cs_leaf_di.o a - cs_ereach_di.o a - cs_randperm_di.o a - cs_add_dl.o a - cs_amd_dl.o a - cs_chol_dl.o a - cs_cholsol_dl.o a - cs_counts_dl.o a - cs_cumsum_dl.o a - cs_droptol_dl.o a - cs_dropzeros_dl.o a - cs_dupl_dl.o a - cs_entry_dl.o a - cs_etree_dl.o a - cs_fkeep_dl.o a - cs_gaxpy_dl.o a - cs_happly_dl.o a - cs_house_dl.o a - cs_ipvec_dl.o a - cs_lsolve_dl.o a - cs_ltsolve_dl.o a - cs_lu_dl.o a - cs_lusol_dl.o a - cs_util_dl.o a - cs_multiply_dl.o a - cs_permute_dl.o a - cs_pinv_dl.o a - cs_post_dl.o a - cs_pvec_dl.o a - cs_qr_dl.o a - cs_qrsol_dl.o a - cs_scatter_dl.o a - cs_schol_dl.o a - cs_sqr_dl.o a - cs_symperm_dl.o a - cs_tdfs_dl.o a - cs_malloc_dl.o a - cs_transpose_dl.o a - cs_compress_dl.o a - cs_usolve_dl.o a - cs_utsolve_dl.o a - cs_scc_dl.o a - cs_maxtrans_dl.o a - cs_dmperm_dl.o a - cs_updown_dl.o a - cs_print_dl.o a - cs_norm_dl.o a - cs_load_dl.o a - cs_dfs_dl.o a - cs_reach_dl.o a - cs_spsolve_dl.o a - cs_leaf_dl.o a - cs_ereach_dl.o a - cs_randperm_dl.o a - cs_add_ci.o a - cs_amd_ci.o a - cs_chol_ci.o a - cs_cholsol_ci.o a - cs_counts_ci.o a - cs_cumsum_ci.o a - cs_droptol_ci.o a - cs_dropzeros_ci.o a - cs_dupl_ci.o a - cs_entry_ci.o a - cs_etree_ci.o a - cs_fkeep_ci.o a - cs_gaxpy_ci.o a - cs_happly_ci.o a - cs_house_ci.o a - cs_ipvec_ci.o a - cs_lsolve_ci.o a - cs_ltsolve_ci.o a - cs_lu_ci.o a - cs_lusol_ci.o a - cs_util_ci.o a - cs_multiply_ci.o a - cs_permute_ci.o a - cs_pinv_ci.o a - cs_post_ci.o a - cs_pvec_ci.o a - cs_qr_ci.o a - cs_qrsol_ci.o a - cs_scatter_ci.o a - cs_schol_ci.o a - cs_sqr_ci.o a - cs_symperm_ci.o a - cs_tdfs_ci.o a - cs_malloc_ci.o a - cs_transpose_ci.o a - cs_compress_ci.o a - cs_usolve_ci.o a - cs_utsolve_ci.o a - cs_scc_ci.o a - cs_maxtrans_ci.o a - cs_dmperm_ci.o a - cs_updown_ci.o a - cs_print_ci.o a - cs_norm_ci.o a - cs_load_ci.o a - cs_dfs_ci.o a - cs_reach_ci.o a - cs_spsolve_ci.o a - cs_leaf_ci.o a - cs_ereach_ci.o a - cs_randperm_ci.o a - cs_add_cl.o a - cs_amd_cl.o a - cs_chol_cl.o a - cs_cholsol_cl.o a - cs_counts_cl.o a - cs_cumsum_cl.o a - cs_droptol_cl.o a - cs_dropzeros_cl.o a - cs_dupl_cl.o a - cs_entry_cl.o a - cs_etree_cl.o a - cs_fkeep_cl.o a - cs_gaxpy_cl.o a - cs_happly_cl.o a - cs_house_cl.o a - cs_ipvec_cl.o a - cs_lsolve_cl.o a - cs_ltsolve_cl.o a - cs_lu_cl.o a - cs_lusol_cl.o a - cs_util_cl.o a - cs_multiply_cl.o a - cs_permute_cl.o a - cs_pinv_cl.o a - cs_post_cl.o a - cs_pvec_cl.o a - cs_qr_cl.o a - cs_qrsol_cl.o a - cs_scatter_cl.o a - cs_schol_cl.o a - cs_sqr_cl.o a - cs_symperm_cl.o a - cs_tdfs_cl.o a - cs_malloc_cl.o a - cs_transpose_cl.o a - cs_compress_cl.o a - cs_usolve_cl.o a - cs_utsolve_cl.o a - cs_scc_cl.o a - cs_maxtrans_cl.o a - cs_dmperm_cl.o a - cs_updown_cl.o a - cs_print_cl.o a - cs_norm_cl.o a - cs_load_cl.o a - cs_dfs_cl.o a - cs_reach_cl.o a - cs_spsolve_cl.o a - cs_leaf_cl.o a - cs_ereach_cl.o a - cs_randperm_cl.o ranlib libcxsparse.a make[4]: Leaving directory /home/datadev/workdir/rtb_test/fastFM/fastFM-core/externals/CXSparse/Lib' make[3]: Leaving directory/home/datadev/workdir/rtb_test/fastFM/fastFM-core/externals/CXSparse' mkdir -p ../bin/ ar rcs ../bin/libfastfm.a kmath.o ffm_random.o ffm_als_mcmc.o ffm_utils.o ffm_sgd.o ffm.o make[2]: Leaving directory /home/datadev/workdir/rtb_test/fastFM/fastFM-core/src' make[1]: Leaving directory/home/datadev/workdir/rtb_test/fastFM/fastFM-core' python setup.py build_ext --inplace running build_ext cythoning fastFM/ffm.pyx to fastFM/ffm.c building 'ffm' extension creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/fastFM gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -IfastFM/ -IfastFM-core/include/ -IfastFM-core/externals/CXSparse/Include/ -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c fastFM/ffm.c -o build/temp.linux-x86_64-2.7/fastFM/ffm.o In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from fastFM/ffm.c:252: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it by " \

^ In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from fastFM/ffm.c:252: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ufuncobject.h:317:0, from fastFM/ffm.c:253: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function] _import_umath(void) ^ gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/fastFM/ffm.o -LfastFM/ -LfastFM-core/bin/ -LfastFM-core/externals/CXSparse/Lib/ -L/usr/lib64 -lm -lfastfm -lcxsparse -lblas -lpython2.7 -o /home/datadev/workdir/rtb_test/fastFM/ffm.so

3.pip install fastFM [datadev@cloud1 fastFM]$ sudo pip install . Unpacking /home/datadev/workdir/rtb_test/fastFM Running setup.py (path:/tmp/pip-zI4myd-build/setup.py) egg_info for package from file:///home/datadev/workdir/rtb_test/fastFM

Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/lib64/python2.7/site-packages (from fastFM==0.2.4) Requirement already satisfied (use --upgrade to upgrade): scikit-learn in /usr/lib64/python2.7/site-packages (from fastFM==0.2.4) Requirement already satisfied (use --upgrade to upgrade): scipy in /usr/lib64/python2.7/site-packages (from fastFM==0.2.4) Installing collected packages: fastFM Running setup.py install for fastFM skipping 'fastFM/ffm.c' Cython extension (up-to-date) building 'ffm' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -IfastFM/ -IfastFM-core/include/ -IfastFM-core/externals/CXSparse/Include/ -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c fastFM/ffm.c -o build/temp.linux-x86_64-2.7/fastFM/ffm.o In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from fastFM/ffm.c:252: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it by " \

  ^
In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26:0,
                 from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from fastFM/ffm.c:252:
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
 _import_array(void)
 ^
In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ufuncobject.h:317:0,
                 from fastFM/ffm.c:253:
/usr/lib64/python2.7/site-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function]
 _import_umath(void)
 ^
gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/fastFM/ffm.o -LfastFM/ -LfastFM-core/bin/ -LfastFM-core/externals/CXSparse/Lib/ -L. -lm -lfastfm -lcxsparse -lblas -lpython2.7 -o build/lib.linux-x86_64-2.7/ffm.so

Successfully installed fastFM Cleaning up...

Sorry it's too verbose, that's all

ibayer commented 8 years ago

Are you using the latest version of the master branch?

Results look okay.

Can you install and run the test for fastFM-core? https://github.com/ibayer/fastFM-core Just post commands and output here, don't worry if it's verbose. This would help me to better guess if the error occurs in the C or python code.

ibayer commented 8 years ago

Ah, someone reported having an issue with centos before. Have a look at https://github.com/ibayer/fastFM/issues/20 (last comment).

Vimos commented 8 years ago

On centos 6, fixed this issue using:

- libraries=['m', 'fastfm', 'cxsparse', 'blas'],

ibayer commented 8 years ago

@Vimos libraries=['m', 'fastfm', 'cxsparse', 'blas', 'cblas'] Is it necessary to specify both blas and cblas?

Vimos commented 8 years ago

Here is my ldconfig

$ ldconfig -p | grep blas libptf77blas.so.3 (libc6,x86-64) => /usr/lib64/atlas/libptf77blas.so.3 libptcblas.so.3 (libc6,x86-64) => /usr/lib64/atlas/libptcblas.so.3 libf77blas.so.3 (libc6,x86-64) => /usr/lib64/atlas/libf77blas.so.3 libcblas.so.3 (libc6,x86-64) => /usr/lib64/atlas/libcblas.so.3 libblas.so.3 (libc6,x86-64) => /usr/lib64/libblas.so.3 libblas.so (libc6,x86-64) => /usr/lib64/libblas.so

It does have cblas, but on centos 6 , compiling fails.

I asked a question on stackoverflow, not answered yet. http://stackoverflow.com/questions/37581821/cblas-on-centos6-cannot-be-linked

ibayer commented 8 years ago

Thanks, please keep us posted. Knowing the exact issue might allow us to add a simple workaround to fastFM.

bejohu commented 8 years ago

Using Fedora 21.

Linking against cblas rather than blas helps.

Compilation works for me after doing this:

./fastFM/setup.py: _extmodules replace blas with cblas ./fastFM/fastFM-core/src/Makefile: LDLIBS replace -lblas with -lcblas

macwilam commented 8 years ago

The same problem occurs on Archlinux linking with cblas helps.

cjwallace commented 7 years ago

In case it helps someone on CentOS: I couldn't seem to link successfully to cblas, but searching revealed that libatlas library names have apparently changed to libsatlas.so (single-threaded) and libtatlas.so (multi-threaded). I had success with modifying setup.py as follows.

- libraries=['m', 'fastfm', 'cxsparse', 'blas'],
- library_dirs=['fastFM/', 'fastFM-core/bin/',
+ libraries=['m', 'fastfm', 'cxsparse', 'tatlas'],
+ library_dirs=['fastFM/', 'fastFM-core/bin/', '/usr/lib64/atlas',
rheras commented 7 years ago

Thanks cjwallace for your post, I'm using CentOS as wel, however my error refers to cblas_ddot file, when importing ffm, as follows:

$more ex1.py from fastFM import als fm = als.FMRegression(n_iter=1000, init_stdev=0.1, rank=2, l2_reg_w=0.1, l2_reg_V=0.5) fm.fit(X_train, y_train) y_pred = fm.predict(X_test)

[sams examples]$ python2.7 ex1.py Traceback (most recent call last): File "ex1.py", line 1, in from fastFM import als File "/usr/local/lib/python2.7/site-packages/fastFM/als.py", line 4, in import ffm ImportError: /usr/local/lib/python2.7/site-packages/ffm.so: undefined symbol: cblas_ddot

rheras commented 7 years ago

btw, prevous make compilation was not successful: Really this is a nightmare, I don't know how to compile this within Centos OS... thanks four your help.

Intentando una regla de patrón con la ramificación library.sh'. Probando la dependencia implícitas.library.sh'. Intentando una regla de patrón con la ramificación library.sh'. Probando la dependencia implícitaSCCS/s.library.sh'. No se ha encontrado una regla implícita para library'. Se terminaron las dependencias del archivo objetivolibrary'. Se debe reconstruir el objetivo library'. make[2]: se ingresa al directorio/home/botcorn/fastFM/fastFM-core/externals/CXSparse' make[2]: No hay ninguna regla para construir el objetivo library'. Alto. make[2]: se sale del directorio/home/bot/fastFM/fastFM-core/externals/CXSparse' Se pierde al proceso hijo descarriado 0x01a6a340 PID 505 make[1]: [lib] Error 2* Se elimina al proceso hijo 0x01a6a340 PID 505 de la cadena. make[1]: se sale del directorio `/home/botcorn/fastFM/fastFM-core' Se pierde al proceso hijo descarriado 0x00677240 PID 502 make: [all] Error 2 Se elimina al proceso hijo 0x00677240 PID 502 de la cadena.

ibayer commented 7 years ago

@rheras

the cblas dependency has been dropped in https://github.com/ibayer/fastFM-core/pull/19 but I haven't made a release since then. You could try to build fastFM from the current master branch.

xenocyon commented 7 years ago

I'm experiencing the same issue as @rheras (_"undefined symbol: cblasddot"). I built fastFM on CentOS from the current master branch today. Is there something else I'm missing?