Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mympirun doesn't separate stdout and stderr #147

Open
redfast00 opened this issue Sep 17, 2018 · 1 comment
Open

Mympirun doesn't separate stdout and stderr #147

redfast00 opened this issue Sep 17, 2018 · 1 comment

Comments

@redfast00
Copy link

Minimal example:

[vsc40000@gligar03]:~ $ cat hello_world.sh 
#!/bin/sh
echo "hello world"
echo "error" > /dev/stderr
[vsc40000@gligar03]:~ $ ./hello_world.sh > /dev/null
error
[vsc40000@gligar03]:~ $ mympirun ./hello_world.sh > /dev/null
[vsc40000@gligar03]:~ $

Expected behaviour

mympirun outputs stdout of the program to stdout, and stderr to stderr

Actual behaviour

mympirun outputs both stdout and stderr of the program to stdout

@stdweird
Copy link
Member

why is this the expected behaviour? noone really uses it anyway since it messes up order and makes debugging harder?
but we should provide an option to let users shoot themself in the foot, sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants