Comments (6)
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.
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.
@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.
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)
- Base Allreduce Algorithm Selection/Performance Issue HOT 3
- Issues running OpenMPI 5.0.3 HOT 1
- configure: error: Could not run a simple Fortran program. Aborting. HOT 1
- Use OMPI without LSF integration on LSF HOT 14
- Stuck in third send or recv when connecting two independent mpi applications with MPI_Comm_connect and MPI_Comm_accept with prte HOT 5
- Is UCX working with MPI-Sessions? HOT 4
- libmpi.so is linked with the wrong libopen-pal.so
- Slurm "run" is failing to find "munge" component when run with "container-name" HOT 4
- No output on GPU nodes, not sure where to start. Version 5.0.3 HOT 3
- --hostfile option not working as expected HOT 4
- open mpi issue with orca on Mac M1 pro HOT 1
- Connections to nodes are closed after 30 minutes. HOT 8
- ImportError: libopen-pal.so.80: cannot open shared object file: No such file or directory HOT 1
- when i run mpi
- when i run mpi program using ASAN, asan reports some memory leaks HOT 1
- Error when using MPI_Comm_spawn with ULFM enabled HOT 6
- MPI_Status_f082f not part of the mpi_f08 interface HOT 13
- coll_tuned_dynamic_rules_filename option no way to set alltoall_algorithm_max_requests from the rules file
- coll_tuned_use_dynamic_rules wrong scoping for tools interface
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ompi.