mcexec: detect mismatch of mcexec -n and mpirun -ppn

Change-Id: I0ce1b2d48cda10713920cb88692e107b8c4d3bab
Refs: #929
This commit is contained in:
Ken Sato
2020-01-08 12:06:43 +09:00
committed by Masamichi Takagi
parent 45bc6a617a
commit d1d93d90cc
12 changed files with 443 additions and 24 deletions

View File

@ -2554,6 +2554,7 @@ int main(int argc, char **argv)
cpu_set_arg.cpu_set = (void *)&desc->cpu_set;
cpu_set_arg.cpu_set_size = sizeof(desc->cpu_set);
cpu_set_arg.nr_processes = nr_processes;
cpu_set_arg.ppid = getppid();
cpu_set_arg.target_core = &target_core;
cpu_set_arg.process_rank = &process_rank;
cpu_set_arg.mcexec_linux_numa = &mcexec_linux_numa;