1
1
This commit was SVN r5558.
Этот коммит содержится в:
George Bosilca 2005-05-01 08:27:14 +00:00
родитель a03ea3e82c
Коммит 7f0e9483ce
2 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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;