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

Change-Id: Iaf5cfb11c37bea6957b77a2114f783e9a46a48f2
Refs: #929
This commit is contained in:
Ken Sato
2020-01-08 12:06:43 +09:00
committed by Masamichi Takagi
parent 153d0609de
commit 72af689e69
12 changed files with 451 additions and 29 deletions

View File

@ -2546,6 +2546,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;