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

OpenMP implementation: log redirection not working #33

Closed
BenoitMorel opened this issue Aug 14, 2018 · 2 comments
Closed

OpenMP implementation: log redirection not working #33

BenoitMorel opened this issue Aug 14, 2018 · 2 comments

Comments

@BenoitMorel
Copy link
Owner

And this makes travis unhappy

@BenoitMorel
Copy link
Owner Author

Not reproducible on Haswell.
It comes from a system call that redirect with call &> outputfile. For some reason this redirection does not work on my personal computer.

@BenoitMorel
Copy link
Owner Author

Explanation: call &> outputFile makes system non blocking. So mpi-scheduler might terminate when some raxml processes are still running (or some other issue might happen).
I use call > outputFile as a quick fix. Better fix will be to call fork and execv, use the &> indirection and then use the pid to wait for the end of the process and get the return code.
But this will wait for September!

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

1 participant