More printf warnings removed.
This commit was SVN r5558.
Этот коммит содержится в:
родитель
a03ea3e82c
Коммит
7f0e9483ce
@ -189,12 +189,12 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* connect output to a log file in the session directory */
|
/* connect output to a log file in the session directory */
|
||||||
sprintf(log_file, "output-orted-%d-%s.log",
|
sprintf(log_file, "output-orted-%d-%s.log",
|
||||||
orte_process_info.my_name->jobid, orte_system_info.nodename);
|
(int)orte_process_info.my_name->jobid, orte_system_info.nodename);
|
||||||
log_path = orte_os_path(false,
|
log_path = orte_os_path(false,
|
||||||
orte_process_info.tmpdir_base,
|
orte_process_info.tmpdir_base,
|
||||||
orte_process_info.top_session_dir,
|
orte_process_info.top_session_dir,
|
||||||
log_file,
|
log_file,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
fd = open(log_path, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
fd = open(log_path, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
||||||
if(fd < 0) {
|
if(fd < 0) {
|
||||||
|
@ -398,7 +398,7 @@ static void dump_aborted_procs(orte_jobid_t jobid)
|
|||||||
++num_killed;
|
++num_killed;
|
||||||
} else {
|
} else {
|
||||||
if (num_aborted < max_display_aborted) {
|
if (num_aborted < max_display_aborted) {
|
||||||
fprintf(stderr, "Job rank %d (pid %d) on node \"%s\" exited on signal %d\n",
|
fprintf(stderr, "Job rank %ld (pid %ld) on node \"%s\" exited on signal %d\n",
|
||||||
rank, pid, node_name, WTERMSIG(exit_status));
|
rank, pid, node_name, WTERMSIG(exit_status));
|
||||||
}
|
}
|
||||||
++num_aborted;
|
++num_aborted;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user