Giter Site home page Giter Site logo

python API installation about s4 HOT 4 OPEN

victorliu avatar victorliu commented on September 2, 2024
python API installation

from s4.

Comments (4)

sbyrnes321 avatar sbyrnes321 commented on September 2, 2024 1

I had this error too, even after adding the libraries code as suggested above to gensetup.py.sh. The other thing I was missing, I think: I didn't run make clean, so the old incorrect files were messing me up.

In other words, the whole process is:

$ make clean
$ make
$ make S4_pyext
$ sudo python setup.py install

I think you really need all four steps, but I was often stupidly skipping the first and/or last. Once I figured that out, I could fix the error.

from s4.

jbuencuerpo avatar jbuencuerpo commented on September 2, 2024

In the genstup.py.sh file add the libraries needed.
file: gensetup.py.sh:16
#Code

libraries = [
    'S4',
    'stdc++',
    'lapack',
    'blas',
    'gfortran',
    'fftw3' #Optional if you have it in the Makefile
],

If you have the libraries located out of your path modified also the library_dirs variable

from s4.

nolab104 avatar nolab104 commented on September 2, 2024

I tried that. It still gives the same error.

from s4.

soamaven avatar soamaven commented on September 2, 2024

I modified the Makefile and the gensetup.py.sh to automatically take into account the optional libraries in the Makefile on this fork, seems to work pretty nice. Going to as for a PR

from s4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.