Hi Folks!
I am cross-compiling and using the Open-MPI
on the Cell SDK 1.1 simulator.
Here is my config log.
When I try to use mpirun I get no output
with or without --verbose. If I use --debug I run into a different
bug that trys to malloc 1.5GB?? Anyhoo.. here is some output.
[root@(none) ~]# mpirun --verbose -np
1 mpihello
<nothing happens>
When I use the --debug-daemons flag
is seems to work.
[root@(none) ~]# mpirun --debug-daemons
-np 1 mpihello
My rank 0 of 1
[root@(none) ~]#
mpihello is a super simple test program.
Compiled with:
/opt/sce/toolchain-3.2/ppu/bin/ppu32-gcc
-m32 -mabi=altivec -maltivec -I/usr/local/ppu-openmpi/include -L/usr/local/ppu-openmpi/lib
mpihello.c -o mpihello -pthread -L/usr/local/ppu-openmpi/lib -lmpi
-lorte -lopal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ld
#include <stdio.h>
#include <mpi.h>
int main (int argc,char **argv) {
int ierr
= 0;
int rank;
int np;
ierr = MPI_Init(&argc,&argv);
ierr = MPI_Comm_size(MPI_COMM_WORLD,&np);
ierr = MPI_Comm_rank(MPI_COMM_WORLD,&rank);
printf("My
rank %d of %d\n",rank,np);
MPI_Finalize();
return ierr;
}
Any ideas where to look? I know
the Cell simulator isn't a standard env. but any info on the --debug-daemons
command will be helpful.
Jeff Ceason
Internet ceason@us.ibm.com