Flush the mpirun xml tag output to maintain ordering
This commit was SVN r21836.
Этот коммит содержится в:
родитель
567e5c4342
Коммит
d3313f732a
@ -569,6 +569,7 @@ int orterun(int argc, char *argv[])
|
|||||||
/* if we are using xml for output, put an mpirun start tag */
|
/* if we are using xml for output, put an mpirun start tag */
|
||||||
if (orte_xml_output) {
|
if (orte_xml_output) {
|
||||||
fprintf(stdout, "<mpirun>\n");
|
fprintf(stdout, "<mpirun>\n");
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check for request to report uri */
|
/* check for request to report uri */
|
||||||
@ -901,6 +902,7 @@ static void just_quit(int fd, short ign, void *arg)
|
|||||||
/* if we are using xml output, terminate the output */
|
/* if we are using xml output, terminate the output */
|
||||||
if (orte_xml_output) {
|
if (orte_xml_output) {
|
||||||
fprintf(stdout, "</mpirun>\n");
|
fprintf(stdout, "</mpirun>\n");
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(orterun_basename);
|
free(orterun_basename);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user