Giter Site home page Giter Site logo

Comments (6)

ggouaillardet avatar ggouaillardet commented on July 19, 2024

FWIW the issue does not occur with Open MPI v4.1.x
@rhc54 that suggests prrte (unless PMIx does all/most of the work) is involved here.

from ompi.

rhc54 avatar rhc54 commented on July 19, 2024

Most likely in PMIx (src/common/pmix_iof.c) as it does the actual output. This is one of those "you cannot win" scenarios. Some users complain if the output comes in incomplete lines because of the inevitable interleaving that occurs, while others complain about this scenario. ORTE opted for one side, PMIx/PRRTE for the other. 🤷‍♂️

There is no way for us to know that someone called "fflush", so I'm not sure how one can resolve it. However, I'm happy to consider a PR that attempts to resolve it. I personally won't have time to look into better solutions before late this year (retirement is busy).

from ompi.

ggouaillardet avatar ggouaillardet commented on July 19, 2024

@rhc54 thanks for the quick reply, as far as I am concerned, I am fine with "it's not a bug, it's a feature" since I believe apps should either read from the command line or an input file, and not from stdin

from ompi.

rhc54 avatar rhc54 commented on July 19, 2024

I suppose you could add a cmd line option to permit interleaving so that someone who needs/wants to output partial lines can do so. I have no issues with it - you'd just need to pass that down to PMIx so it doesn't buffer output.

from ompi.

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.