Skip to content
Snippets Groups Projects
Commit 9f6d59ed authored by Moe Jette's avatar Moe Jette
Browse files

Correct job_id need for test2.7

parent 7f05e783
No related branches found
No related tags found
No related merge requests found
...@@ -469,7 +469,7 @@ _pid_info(pid_t job_pid) ...@@ -469,7 +469,7 @@ _pid_info(pid_t job_pid)
return; return;
} }
for (i=0; i<10000; i++) for (i=0; i<10000; i++)
rem_time = slurm_get_rem_time(0); rem_time = slurm_get_rem_time(job_id);
printf("Slurm job id %u ends at %s\n", job_id, ctime(&end_time)); printf("Slurm job id %u ends at %s\n", job_id, ctime(&end_time));
printf("slurm_get_rem_time is %ld\n", rem_time); printf("slurm_get_rem_time is %ld\n", rem_time);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment