Git Product home page Git Product logo

Comments (4)

troglobit avatar troglobit commented on June 2, 2024

Hi, I don't know what an "mpi" or "rank" is. How to set the prompt, however, is documented in many places in this project; the manual page and the README.

However, I'm guessing you're not even using this version of the editline library. But it's really difficult to answer since you've provided little to no information for me to help you: what version of editline are you using, what did you try to do, can you provide an example snippet of code that breaks for you?

from editline.

tuanhtrng avatar tuanhtrng commented on June 2, 2024

Hello, apologize for my cryptic message. Check this pastebin for the code.

When I ran the binary stand-alone or with mpirun -np 1, everything works as intended. At higher -np value, the program just a simple stdin.

from editline.

troglobit avatar troglobit commented on June 2, 2024

Like I said, I don't know what MPI is, giving me an URL for a pastebin of your code doesn't help if I don't know what the context is. Googling, it seems to be some framework for message passing in parallel programming? If that means threading it could explain your problems. The old editline library was made for single threaded applications, and it has many global variables that make it quite thread unsafe.

from editline.

troglobit avatar troglobit commented on June 2, 2024

No response for almost a year, closing.

from editline.

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.