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 */
|
||||
sprintf(log_file, "output-orted-%d-%s.log",
|
||||
orte_process_info.my_name->jobid, orte_system_info.nodename);
|
||||
log_path = orte_os_path(false,
|
||||
orte_process_info.tmpdir_base,
|
||||
orte_process_info.top_session_dir,
|
||||
log_file,
|
||||
NULL);
|
||||
(int)orte_process_info.my_name->jobid, orte_system_info.nodename);
|
||||
log_path = orte_os_path(false,
|
||||
orte_process_info.tmpdir_base,
|
||||
orte_process_info.top_session_dir,
|
||||
log_file,
|
||||
NULL);
|
||||
|
||||
fd = open(log_path, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
||||
if(fd < 0) {
|
||||
|
@ -398,7 +398,7 @@ static void dump_aborted_procs(orte_jobid_t jobid)
|
||||
++num_killed;
|
||||
} else {
|
||||
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));
|
||||
}
|
||||
++num_aborted;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user