ibayer / fastFM

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

nosetest failed #10

Closed andyyuan78 closed 9 years ago

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github$ sudo pip install -e fastFM/ Obtaining file:///home/ubgpu/github/fastFM Installing collected packages: fastFM Running setup.py develop for fastFM Successfully installed fastFM ubgpu@ubgpu:~/github$

ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ sudo pip install nose Requirement already satisfied (use --upgrade to upgrade): nose in /usr/lib/python3/dist-packages ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ sudo pip2 install nose You are using pip version 7.0.3, however version 7.1.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Requirement already satisfied (use --upgrade to upgrade): nose in /usr/lib/python2.7/dist-packages ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ nosetests

EEEEEEEEE

ERROR: Failure: ImportError (No module named fastFM)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_als.py", line 7, in from fastFM import als ImportError: No module named fastFM

ERROR: Failure: ImportError (No module named fastFM)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_base.py", line 7, in from fastFM import als ImportError: No module named fastFM

ERROR: Failure: ImportError (No module named fastFM.datasets)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_datasets.py", line 4, in from fastFM.datasets import make_user_item_regression ImportError: No module named fastFM.datasets

ERROR: Failure: ImportError (No module named ffm)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_ffm.py", line 8, in import ffm ImportError: No module named ffm

ERROR: Failure: ImportError (No module named fastFM)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_mcmc.py", line 7, in from fastFM import mcmc ImportError: No module named fastFM

ERROR: Failure: ImportError (No module named fastFM)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_ranking.py", line 6, in from fastFM import bpr ImportError: No module named fastFM

ERROR: Failure: ImportError (No module named fastFM)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_sgd.py", line 7, in from fastFM import sgd ImportError: No module named fastFM

ERROR: Failure: ImportError (No module named fastFM.bpr)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_transform.py", line 10, in from fastFM.bpr import FMRecommender ImportError: No module named fastFM.bpr

ERROR: Failure: ImportError (No module named fastFM.utils)

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ubgpu/github/fastFM/fastFM/tests/test_utils.py", line 5, in from fastFM.utils import kendall_tau ImportError: No module named fastFM.utils


Ran 9 tests in 0.305s

FAILED (errors=9) ubgpu@ubgpu:~/github/fastFM/fastFM/tests$

ibayer commented 9 years ago

Did you skip this step from the README? first build the C libraries: (cd fastFM/; make)

what does pip freeze return?

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github/fastFM$ pip2 freeze The directory '/home/ubgpu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. You are using pip version 7.0.3, however version 7.1.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. adium-theme-ubuntu==0.3.4 amqp==1.4.6 anyjson==0.3.3 appdirs==1.4.0 audioread==1.2.1 backports.ssl-match-hostname==3.4.0.2 bagged-budget-svm==1.0 Bayesian==0.1.6 BeautifulSoup==3.2.1 beautifulsoup4==4.2.1 billiard==3.3.0.19 blocks==0.0.1 bumps==0.7.5.5 celery==3.1.17 chainer==1.0.0 characteristic==14.3.0 chardet==2.0.1 cmodules==0.0.0 colorama==0.2.5 command-not-found==0.3 coverage==3.7.1 cssselect==0.9.1 cudamat==0.3 cudanet==0.2.5 cvbLDA==0.1.1 cvxopt==1.1.4 Cython==0.22.1 debtagshw==0.1 decorator==3.4.2 deepy==0.1.6 defer==1.0.6 dirspec==13.10 Django==1.8.2 docker-py==1.1.0 docopt==0.6.2 docutils==0.11 duplicity==0.6.23 elasticsearch==1.4.0 emcee==2.1.0 featureforge==0.1.6 flake8==2.4.0 Flask==0.10.1 Flask-Bootstrap==3.3.4.1 Flask-Moment==0.4.0 Flask-Script==2.0.5 Flask-WTF==0.11 fuel==0.0.1 future==0.14.3 gensim==0.10.3 gomill==0.7.4 gyp==0.1 h5py==2.5.0 Hebel==0.2.1 hickle==1.3.2 hmmlearn==0.1.1 html5lib==0.999 httplib2==0.8 imgworker==0.2.5 infor==0.20 ipython==3.1.0 isodate==0.5.1 itsdangerous==0.24 Jinja2==2.7.2 joblib==0.8.4 -e git+https://github.com/cimatosa/jobmanager.git@0fa9244cda331d87e46a04f70e0fd3286b8d145c#egg=jobmanager-master jubatus==0.7.1 Keras==0.1.1 kombu==3.0.24 Lasagne==0.1.dev0 leveldb==0.193 librosa==0.4.0 -e git+https://github.com/dw/py-lmdb.git@ba2c6ee332deb1ecd3fbd736de89bc5f5d0ddfb2#egg=lmdb-master lockfile==0.8 lxml==3.4.4 Magic-file-extensions==0.2 Mako==1.0.1 -e git+https://github.com/tariqdaouda/Mariana.git@9172cf1f2b8d38c4a0c6c9e6dc136584f6e2f3ed#egg=Mariana-master MarkupSafe==0.23 matplotlib==1.4.3 maxent===version-devel mccabe==0.3 Metafone==0.5 mir-eval==0.1 mock==1.0.1 mpi4py==1.3.1 msaf==0.0.2 msgpack-python==0.4.6 msgpack-rpc-python==0.4 MySQL-python==1.2.3 neon==0.8.1 nervanagpu==0.3.1 networkx==1.8.1 nimfa==1.1 nltk==3.0.2 nolearn==0.6a0.dev0 nose==1.3.1 numexpr==2.2.2 numpy==1.9.2 numpydoc==0.5 oauthlib==0.7.2 oneconf==0.3.7 -e git+https://github.com/vitruvianscience/OpenDeep.git@9962ceb860834effdee81e3550beb3690385ce36#egg=opendeep-master openpyxl==1.7.0 PAM==0.4.2 pandas==0.16.1 parserator==0.3.9 passlib==1.6.2 patsy==0.2.1 pbr==0.10.8 pep8==1.5.7 pep8-naming==0.2.2 pexpect==3.1 pi==0.1.2 picklable-itertools==0.1.0 PIL==1.1.7 Pillow==2.8.2 piston-mini-client==0.7.5 ply==3.4 pockets==0.2.4 practNLPTools==1.0 prettytable==0.7.2 -e git+https://github.com/datamade/probablepeople.git@16aa186d8207fb4f506a939fe4bf21905b6f3106#egg=probablepeople-master progress==1.2 progressbar2==2.7.3 protobuf==2.5.0 py==1.4.14 PyAlgoTrade==0.17 pyasn1==0.1.7 pyasn1-modules==0.0.5 PyAudio==0.2.7 PyBrain==0.3 pycoin==0.52 pycrypto==2.6.1 pycuda==2014.1 pycups==1.9.66 pycurl==7.19.3 pyflakes==0.8.1 pyGeno==1.2.4 Pygments==1.6 pygobject==3.12.0 -e git+https://github.com/lisa-lab/pylearn2.git@5a21a960e015bb12e931472d70d4918d85fadcf9#egg=pylearn2-master pymc==2.3.4 pymongo==3.0.2 pyodbc==3.0.10 Pyomo==4.0.9682 PyOpenGL==3.0.2 pyOpenSSL==0.13 pyparsing==2.0.1 pyqtgraph==0.9.10 Pyrex==0.9.8.5 pyserial==2.6 pysmbc==1.0.14.1 pytest==2.3.5 python-apt===0.9.3.5ubuntu1 python-crfsuite==0.8.3 python-dateutil==1.5 python-gflags==2.0 pytools==2014.3.5 pytz==2012rc0 PyUtilib==5.0.3478 pyxdg==0.25 PyYAML==3.11 pyzmq==14.0.1 qtutils==1.6.0 quepy==0.2 queuelib==1.2.2 rabaDB==1.0.1 rdflib==4.2.0 readline==6.2.4.1 REfO==0.13 reinforce==0.1.0 reportlab==3.0 requests==2.6.0 requests-oauthlib==0.5.0 roman==2.0.0 runcython==0.2.1 schema==0.3.1 scikit-image==0.11.3 scikit-learn==0.15.2 scikits.cuda==0.5.0b2 scipy==0.15.1 Scrapy==0.24.6 seaborn==0.6.0 selenium==2.45.0 service-identity==14.0.0 simplegeneric==0.8.1 simplejson==3.3.1 six==1.9.0 skdata==0.0.4 software-center-aptd-plugins==0.0.0 SPARQLWrapper==1.6.4 Sphinx==1.2.2 sphinxcontrib-napoleon==0.3.4 SQLAlchemy==0.9.9 sqlitedict==1.3.0 stevedore==1.3.0 sympy==0.7.4.1 system-service==0.1.6 tables==3.1.1 tabulate==0.7.5 textgraphics==0.20 Theano==0.7.0 toolz==0.7.2 tornado==3.1.1 trlda==0.1.0a0 tushare==0.2.8 tweepy==3.3.0 Twisted==15.1.0 Twisted-Core==13.2.0 Twisted-Web==13.2.0 Unidecode==0.4.18 unity-lens-photos==1.0 urllib3==1.7.1 usaddress==0.4.6 vboxapi==1.0 virtualenv==12.0.7 virtualenv-clone==0.2.5 virtualenvwrapper==4.3.2 w3lib==1.11.0 websocket-client==0.29.0 Werkzeug==0.10.1 wheel==0.24.0 ws4py==0.3.4 WTForms==2.0.2 xdiagnose===3.6.3build2 xlrd==0.9.2 xlwt==0.7.5 zope.interface==4.0.5 ubgpu@ubgpu:~/github/fastFM$

ibayer commented 9 years ago

Did you build the C libraries: (cd fastFM/; make) before running? sudo pip install -e fastFM/

andyyuan78 commented 9 years ago

yes, but I use ubgpu@ubgpu:~/github/fastFM$ sudo pip install -e . not ubgpu@ubgpu:~/github/fastFM$ sudo pip install -e fastFM

it seems: ubgpu@ubgpu:~/github/fastFM$ sudo pip install -e fastFM/ Directory 'fastFM/' is not installable. File 'setup.py' not found. ubgpu@ubgpu:~/github/fastFM$

andyyuan78 commented 9 years ago

BTW, where to run 'nosetests ', would you check?

ibayer commented 9 years ago

I don't see fastFM in your pip output, so I guess the install is failing. Run sudo pip install -e fastFM in github/ not in fastFM/ (go one folder up). Please post output from this and cd fastFM/; make to make sure that the c library compiled properly.

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github$ sudo pip2 freeze | grep fast You are using pip version 7.0.3, however version 7.1.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. -e git+https://github.com/ibayer/fastFM.git@d9dd2e69a59709f48c7310c758b146beffb9e665#egg=fastFM-0.1.1

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github/fastFM$ make -j8 ( cd fastFM-core ; make lib ) make[1]: Entering directory /home/ubgpu/github/fastFM/fastFM-core' ( cd src ; make lib ) make[2]: Entering directory/home/ubgpu/github/fastFM/fastFM-core/src' c99 pkg-config --cflags glib-2.0 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o kmath.o kmath.c c99 pkg-config --cflags glib-2.0 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_random.o ffm_random.c c99 pkg-config --cflags glib-2.0 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_als_mcmc.o ffm_als_mcmc.c c99 pkg-config --cflags glib-2.0 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_utils.o ffm_utils.c c99 pkg-config --cflags glib-2.0 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm_sgd.o ffm_sgd.c c99 pkg-config --cflags glib-2.0 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o ffm.o ffm.c c99 pkg-config --cflags glib-2.0 -fPIC -g -Wall -O3 -I/include -I./src -I../externals/CXSparse/Include -c -o cli.o cli.c ( cd ../externals/CXSparse ; make library ) make[3]: Entering directory /home/ubgpu/github/fastFM/fastFM-core/externals/CXSparse' ( cd Lib ; make ) make[4]: Entering directory/home/ubgpu/github/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/ubgpu/github/fastFM/fastFM-core/externals/CXSparse/Lib' make[3]: Leaving directory/home/ubgpu/github/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 cli.o make[2]: Leaving directory /home/ubgpu/github/fastFM/fastFM-core/src' make[1]: Leaving directory/home/ubgpu/github/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 x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -IfastFM/ -IfastFM-core/include/ -IfastFM-core/externals/CXSparse/Include/ -I/usr/include/ -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/lib/python2.7/dist-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/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from fastFM/ffm.c:354: /usr/lib/python2.7/dist-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/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from fastFM/ffm.c:354: /usr/lib/python2.7/dist-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/lib/python2.7/dist-packages/numpy/core/include/numpy/ufuncobject.h:327:0, from fastFM/ffm.c:355: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function] _import_umath(void) ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/fastFM/ffm.o -LfastFM/ -LfastFM-core/bin/ -LfastFM-core/externals/CXSparse/Lib/ -L/usr/lib/ -L/usr/lib/atlas-base/ -lm -lfastfm -lcxsparse -lgsl -lgslcblas -lglib-2.0 -o /home/ubgpu/github/fastFM/ffm.so ubgpu@ubgpu:~/github/fastFM$

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github$ sudo pip2 install -e fastFM You are using pip version 7.0.3, however version 7.1.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Obtaining file:///home/ubgpu/github/fastFM Installing collected packages: fastFM Running setup.py develop for fastFM Successfully installed fastFM-0.1.1 ubgpu@ubgpu:~/github$

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github/fastFM/fastFM/tests$ nosetests ......................../usr/local/lib/python2.7/dist-packages/scipy/sparse/compressed.py:730: SparseEfficiencyWarning: Changing the sparsity structure of a csr_matrix is expensive. lil_matrix is more efficient. SparseEfficiencyWarning) /usr/local/lib/python2.7/dist-packages/scipy/sparse/compressed.py:730: SparseEfficiencyWarning: Changing the sparsity structure of a csc_matrix is expensive. lil_matrix is more efficient. SparseEfficiencyWarning)

....

Ran 28 tests in 0.768s

OK ubgpu@ubgpu:~/github/fastFM/fastFM/tests$

reinstall with all dep

ibayer commented 9 years ago

Glad it worked. Please feel free to open a PR to improve the README or just post addition information here so that I can include it.

andyyuan78 commented 9 years ago

just add one line to make it clear:

Install fastFM (python)

first build the C libraries: (cd fastFM/; make)

inplace for development: cd .. (or: run the following command at the directory which you run 'git clone') pip install -e fastFM/

ibayer commented 9 years ago

@andyyuan78 Thanks, I have just added you suggestion.

edmondja commented 9 years ago

So can we say that fastFM works in OSX now ?

ibayer commented 9 years ago

@edmondja I think that's true.