Open
Description
Reported by IBM MTT on "main" branch ("main-202212220241-4d32d2d"):
mpirun --hostfile /opt/mpi/etc/hostfile --np 2 --oversubscribe --mca pml ob1 --mca osc ucx,sm --mca
btl self,tcp,sm --prefix /opt/mtt_scratch/ompi-main_gcc-opt/installs/mX0y/install
dynamic/spawn_multiple
Parent: 0 of 2, gnu-opt-ompi-mtt-cn-0 (0 in init)
Parent: 1 of 2, gnu-opt-ompi-mtt-cn-0 (0 in init)
Child: 2 of 4, gnu-opt-ompi-mtt-cn-0 (this is job 1) (1 in init)
[**ERROR**]: MPI_COMM_WORLD rank 2, file spawn_multiple.c:191:
ERROR: Spawn target rank 2 got argv[1]="this is job 1" when expecing "this is job 2"
Child: 0 of 4, gnu-opt-ompi-mtt-cn-0 (this is job 1) (1 in init)
Child: 3 of 4, gnu-opt-ompi-mtt-cn-0 (this is job 2) (1 in init)
Child: 1 of 4, gnu-opt-ompi-mtt-cn-0 (this is job 2) (1 in init)
[**ERROR**]: MPI_COMM_WORLD rank 1, file spawn_multiple.c:184:
ERROR: Spawn target rank 1 got argv[1]="this is job 2" when expecing "this is job 1"
This seems to be either an issue with the test or an MPI issue as the PRRTE equivalent works fine:
$ prterun -n 2 ./spawn_multiple
Parent [pid 88339] about to spawn!
Parent [pid 88338] about to spawn!
Parent done with spawn
Parent done with spawn
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88340 argv[1] = This is job 1
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88341 argv[1] = This is job 1
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88342 argv[1] = This is job 2
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88343 argv[1] = This is job 2
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88344 argv[1] = This is job 1
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88345 argv[1] = This is job 1
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88346 argv[1] = This is job 2
Hello from the child [email protected] on host Ralphs-iMac-2.local pid 88347 argv[1] = This is job 2
Metadata
Metadata
Assignees
Labels
No labels