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

Fix printing of cmd-line syntax errors when MPI enabled #117

Closed
chuckyount opened this issue May 1, 2018 · 2 comments
Closed

Fix printing of cmd-line syntax errors when MPI enabled #117

chuckyount opened this issue May 1, 2018 · 2 comments

Comments

@chuckyount
Copy link
Contributor

Example:

  • make clean; make -j stencil=3axis arch=snb
  • bin/yask.sh -ranks 2 -stencil 3axis -arch snb -bad-option

Can only see the following:

YASK Kernel: .
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
YASK Kernel: .
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0

@chuckyount
Copy link
Contributor Author

Seems to work ok now, even though it prints some MPI stuff after the error:

YASK Kernel: Error: extraneous parameter(s): '-foo'; run with '-help' option for usage.
[mpiexec@chlr15212] handle_pmi_cmd (pm/pmiserv/pmiserv_cb.c:52): Unrecognized PMI command: abort | cleaning up processes
[mpiexec@chlr15212] control_cb (pm/pmiserv/pmiserv_cb.c:280): unable to process PMI command
[mpiexec@chlr15212] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[mpiexec@chlr15212] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198): error waiting for event
[mpiexec@chlr15212] main (ui/mpich/mpiexec.c:344): process manager error waiting for completion

@chuckyount
Copy link
Contributor Author

No, still broken. Prints message from each MPI rank.

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

No branches or pull requests

1 participant