[OMPI devel] mpiexec without -hosts option
HI team ( if this is not the proper channel please point me ) I am trying to implement MPI on yocto ( first try ) : http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb?id=824b6de96ddfe791a0013d96a84ad49de8e04d38 I tested running the mpibench http://icl.cs.utk.edu/projects/llcbench/mpbench.html On a minnow board MAX and work just amazing :) The problem is that I did the test with just one board, when I tried to implement it for more than one platform I decided to use the -hosts option ( or the -H hostfile ) but the only option that I have : root@qemux86:~# mpiexec --version invalid mpiexec argument --version Usage: mpiexec -usize -maxtime -exitinfo -l\ -n -soft -host \ -wdir -path \ -file -configfile \ -genvnone -genvlist -genv name value\ -envnone -envlist -env name value\ execname \ [ : -n ... execname ] I should have realize something was wrong because there was no mpirun I just have : root@qemux86:~# mpi mpic++mpichversion mpiexec mpicc mpicxxmpivars My configuration is something like : "--disable-fortran \ --disable-rpath \ --with-pm=gforker" The first one is just because I dont want fortran and the last 2 because of QA problems with Yocto I wonder if any part of my configurations is wrong or what part I am doing wrong :( . Cause I really need to run on multiple systems :( Best regards Victor Rodriguez
[OMPI devel] channel initialization failed MPI
Hi I am facing the following issue on my MPI build from source code: (the only change in config was disable fortran ) Any help is more than welcome root@intel-corei7-64:~/test# mpirun -n 2 ./mpi_hello Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(498)..: MPID_Init(187).: channel initialization failed MPIDI_CH3_Init(89).: MPID_nem_init(320).: MPID_nem_tcp_init(171).: MPID_nem_tcp_get_business_card(418): MPID_nem_tcp_init(377).: gethostbyname failed, intel-corei7-64 (errno 1) === = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES = PID 483 RUNNING AT intel-corei7-64 = EXIT CODE: 1 = CLEANING UP REMAINING PROCESSES = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES === Source code : https://github.com/VictorRodriguez/parallel/blob/master/mpi/hello.c Best Regards Victor Rodriguez
[OMPI devel] Error in ./configure for Yocto
Hi team I am porting open mpi to Yocto but at moment of ./configure I have this problem yctb03:~/poky/build/tmp/work/corei7-64-poky-linux/openmpi/1.8.6-r0/openmpi-1.8.6 # ./configure configure: loading site script /home/vrodri3/poky/meta/site/endian-little configure: loading site script /home/vrodri3/poky/meta/site/common-linux configure: loading site script /home/vrodri3/poky/meta/site/common-glibc configure: loading site script /home/vrodri3/poky/meta/site/x86_64-linux configure: loading site script /home/vrodri3/poky/meta/site/common configure: loading site script /home/vrodri3/meta-openembedded/meta-oe/site/endian-little configure: loading site script /home/vrodri3/meta-openembedded/meta-gnome/site/x86_64-linux configure: loading site script /home/vrodri3/poky/build/tmp/work/corei7-64-poky-linux/openmpi/1.8.6-r0/build/aclocal-copy/glibc_config == Configuring Open MPI *** Startup tests checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... x86_64-poky-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/home/vrodri3/poky/build/tmp/sysroots/intel-corei7-64 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/vrodri3/poky/build/tmp/work/corei7-64-poky-linux/openmpi/1.8.6-r0/openmpi-1.8.6': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details DO you know if there is any flag that I should enable to disable check cross compiling Also Yocto do not support fortran , how can I disable fortran ? Thanks a lot and regards Victor Rodriguez