Git Product home page Git Product logo

Comments (4)

KunhuanLiu avatar KunhuanLiu commented on July 18, 2024

Instead of calling simulate, the binary file of compiled Raspa program, you are now using the Python wrapper instead. If you look at the python function run_script, you should notice that the output is directed to the stream (stdout) instead of generating an output file in the folder.

The output (streamed, which only works under linux system) should be a return value of your invoked function.

Let me know if this helps.

from raspa2.

almolsim avatar almolsim commented on July 18, 2024

Thanks for the answer. The non-streamed version works from IPython Notebook (outputs are created in the current directory), but the streamed version is "running empty" (there is no return value). I add that I am using an emulated version of Linux with VirtualBox. Any idea?

from raspa2.

KunhuanLiu avatar KunhuanLiu commented on July 18, 2024

I don't use IPython or emulated Linux, so I unfortunately cannot help resolve the issue. Based on what you have said, it seems that the streaming will not work with the emulated Linux system. You can confirm if this is causing the problem instead of IPython environment by trying in your command line
"simulate -s XXX" (XXX as your usual inputs, -s tells the program to run in stream mode).

from raspa2.

almolsim avatar almolsim commented on July 18, 2024

The command "simulate -s -c XXX.cif XXX.input" works in the command line. Strange ...

from raspa2.

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.