It looks like your version of Open MPI is compiled and linked against the DAPL 
library, but the DAPL library is not present on your system (or it is 
incorrectly installed...?  I'm not very familiar with DAPL).  You should 
probably contact your sysadmin to ask about the DAPL installation.

FWIW, DAPL is not recommended for Linux systems.  It is mainly in the Open MPI 
code base to support Solaris.

You should be able to avoid these warnings by editing the Open MPI system-wide 
run-time parameters file and adding the following:

btl = ^udapl

This tells Open MPI to load all BTL plugins *except* the "udapl" plugin.  

I don't know where the Open MPI system-wide param file will be installed on 
your system; look for a file named "openmpi-mca-params.conf".



On Dec 5, 2009, at 11:17 PM, Zheng Li wrote:

> Hi,
> 
> I'm a new user of openmpi, and I tried to run hello world in mpi but
> get tons of warning during runing. I tried to go through the FAQ but
> still could not figure out why these warnings happen. Could anyone
> help to give me some hint?
> 
> 
> Thanks a lot!
> 
> Best,
> Zheng
> 
> 
> I'm running openmpi on a opensuse linux of a two quad core machine.
> 
> =======Code ===========
> #include "mpi.h"
> #include <stdio.h>
> 
> int main( argc, argv )
> int argc;
> char **argv;
> {
> MPI_Init( &argc, &argv );
> printf( "Hello world\n" );
> MPI_Finalize();
> return 0;
> }
> 
> ========Warnings during run time ========
> 
> > mpirun -np 1 a.out
> DAT: library load failure: /usr/lib64/libdaplcma.so.1: undefined
> symbol: dat_registry_add_provider
> --------------------------------------------------------------------------
> 
> WARNING: Failed to open "OpenIB-cma"
> [DAT_PROVIDER_NOT_FOUND:DAT_NAME_NOT_REGISTERED].
> This may be a real error or it may be an invalid entry in the uDAPL
> Registry which is contained in the dat.conf file. Contact your local
> System Administrator to confirm the availability of the interfaces in
> the dat.conf file.
> --------------------------------------------------------------------------
> DAT: library load failure: /usr/lib64/libdaplcma.so.1: undefined
> symbol: dat_registry_add_provider
> --------------------------------------------------------------------------
> 
> WARNING: Failed to open "OpenIB-cma-1"
> [DAT_PROVIDER_NOT_FOUND:DAT_NAME_NOT_REGISTERED].
> This may be a real error or it may be an invalid entry in the uDAPL
> Registry which is contained in the dat.conf file. Contact your local
> System Administrator to confirm the availability of the interfaces in
> the dat.conf file.
> --------------------------------------------------------------------------
> DAT: library load failure: /usr/lib64/libdaplscm.so.1: undefined
> symbol: dat_registry_add_provider
> DAT: library load failure: /usr/lib64/libdaplscm.so.1: undefined
> symbol: dat_registry_add_provider
> DAT: library load failure: /usr/lib64/libdaplscm.so.1: undefined
> symbol: dat_registry_add_provider
> DAT: library load failure: /usr/lib64/libdaplscm.so.1: undefined
> symbol: dat_registry_add_provider
> DAT: library load failure: /usr/lib64/libdaplcma.so.1: undefined
> symbol: dat_registry_add_provider
> --------------------------------------------------------------------------
> 
> WARNING: Failed to open "OpenIB-mthca0-1"
> [DAT_PROVIDER_NOT_FOUND:DAT_NAME_NOT_REGISTERED].
> This may be a real error or it may be an invalid entry in the uDAPL
> Registry which is contained in the dat.conf file. Contact your local
> System Administrator to confirm the availability of the interfaces in
> the dat.conf file.
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> 
> WARNING: Failed to open "OpenIB-mthca0-2"
> [DAT_PROVIDER_NOT_FOUND:DAT_NAME_NOT_REGISTERED].
> This may be a real error or it may be an invalid entry in the uDAPL
> Registry which is contained in the dat.conf file. Contact your local
> System Administrator to confirm the availability of the interfaces in
> the dat.conf file.
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> 
> WARNING: Failed to open "OpenIB-mlx4_0-1"
> [DAT_PROVIDER_NOT_FOUND:DAT_NAME_NOT_REGISTERED].
> This may be a real error or it may be an invalid entry in the uDAPL
> Registry which is contained in the dat.conf file. Contact your local
> System Administrator to confirm the availability of the interfaces in
> the dat.conf file.
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> 
> WARNING: Failed to open "OpenIB-mlx4_0-2"
> [DAT_PROVIDER_NOT_FOUND:DAT_NAME_NOT_REGISTERED].
> This may be a real error or it may be an invalid entry in the uDAPL
> Registry which is contained in the dat.conf file. Contact your local
> System Administrator to confirm the availability of the interfaces in
> the dat.conf file.
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> 
> WARNING: Failed to open "OpenIB-iwarp"
> [DAT_PROVIDER_NOT_FOUND:DAT_NAME_NOT_REGISTERED].
> This may be a real error or it may be an invalid entry in the uDAPL
> Registry which is contained in the dat.conf file. Contact your local
> System Administrator to confirm the availability of the interfaces in
> the dat.conf file.
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> [0,1,0]: uDAPL on host ecee189-99-dhcp was unable to find any NICs.
> Another transport will be used instead, although this may result in
> lower performance.
> --------------------------------------------------------------------------
> Hello world
> 
> 
> =====System configuration========
> > ompi_info
>                 Open MPI: 1.2.8
>    Open MPI SVN revision: r19718
>                 Open RTE: 1.2.8
>    Open RTE SVN revision: r19718
>                     OPAL: 1.2.8
>        OPAL SVN revision: r19718
>                   Prefix: /usr/lib64/mpi/gcc/openmpi
>  Configured architecture: x86_64-suse-linux-gnu
>            Configured by: abuild
>            Configured on: Wed Dec  3 11:38:52 UTC 2008
>           Configure host: build21
>                 Built by: abuild
>                 Built on: Wed Dec  3 11:48:22 UTC 2008
>               Built host: build21
>               C bindings: yes
>             C++ bindings: yes
>       Fortran77 bindings: yes (all)
>       Fortran90 bindings: yes
>  Fortran90 bindings size: small
>               C compiler: gcc
>      C compiler absolute: /usr/bin/gcc
>             C++ compiler: g++
>    C++ compiler absolute: /usr/bin/g++
>       Fortran77 compiler: gfortran
>   Fortran77 compiler abs: /usr/bin/gfortran
>       Fortran90 compiler: gfortran
>   Fortran90 compiler abs: /usr/bin/gfortran
>              C profiling: yes
>            C++ profiling: yes
>      Fortran77 profiling: yes
>      Fortran90 profiling: yes
>           C++ exceptions: no
>           Thread support: posix (mpi: no, progress: no)
>   Internal debug support: no
>      MPI parameter check: runtime
> Memory profiling support: no
> Memory debugging support: no
>          libltdl support: yes
>    Heterogeneous support: yes
>  mpirun default --prefix: no
>            MCA backtrace: execinfo (MCA v1.0, API v1.0, Component v1.2.8)
>               MCA memory: ptmalloc2 (MCA v1.0, API v1.0, Component v1.2.8)
>            MCA paffinity: linux (MCA v1.0, API v1.0, Component v1.2.8)
>            MCA maffinity: first_use (MCA v1.0, API v1.0, Component v1.2.8)
>                MCA timer: linux (MCA v1.0, API v1.0, Component v1.2.8)
>          MCA installdirs: env (MCA v1.0, API v1.0, Component v1.2.8)
>          MCA installdirs: config (MCA v1.0, API v1.0, Component v1.2.8)
>            MCA allocator: basic (MCA v1.0, API v1.0, Component v1.0)
>            MCA allocator: bucket (MCA v1.0, API v1.0, Component v1.0)
>                 MCA coll: basic (MCA v1.0, API v1.0, Component v1.2.8)
>                 MCA coll: self (MCA v1.0, API v1.0, Component v1.2.8)
>                 MCA coll: sm (MCA v1.0, API v1.0, Component v1.2.8)
>                 MCA coll: tuned (MCA v1.0, API v1.0, Component v1.2.8)
>                   MCA io: romio (MCA v1.0, API v1.0, Component v1.2.8)
>                MCA mpool: rdma (MCA v1.0, API v1.0, Component v1.2.8)
>                MCA mpool: sm (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA pml: cm (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA pml: ob1 (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA bml: r2 (MCA v1.0, API v1.0, Component v1.2.8)
>               MCA rcache: vma (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA btl: openib (MCA v1.0, API v1.0.1, Component v1.2.8)
>                  MCA btl: self (MCA v1.0, API v1.0.1, Component v1.2.8)
>                  MCA btl: sm (MCA v1.0, API v1.0.1, Component v1.2.8)
>                  MCA btl: tcp (MCA v1.0, API v1.0.1, Component v1.0)
>                  MCA btl: udapl (MCA v1.0, API v1.0, Component v1.2.8)
>                 MCA topo: unity (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA osc: pt2pt (MCA v1.0, API v1.0, Component v1.2.8)
>               MCA errmgr: hnp (MCA v1.0, API v1.3, Component v1.2.8)
>               MCA errmgr: orted (MCA v1.0, API v1.3, Component v1.2.8)
>               MCA errmgr: proxy (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA gpr: null (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA gpr: proxy (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA gpr: replica (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA iof: proxy (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA iof: svc (MCA v1.0, API v1.0, Component v1.2.8)
>                   MCA ns: proxy (MCA v1.0, API v2.0, Component v1.2.8)
>                   MCA ns: replica (MCA v1.0, API v2.0, Component v1.2.8)
>                  MCA oob: tcp (MCA v1.0, API v1.0, Component v1.0)
>                  MCA ras: dash_host (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA ras: gridengine (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA ras: localhost (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA ras: slurm (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA rds: hostfile (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA rds: proxy (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA rds: resfile (MCA v1.0, API v1.3, Component v1.2.8)
>                MCA rmaps: round_robin (MCA v1.0, API v1.3, Component v1.2.8)
>                 MCA rmgr: proxy (MCA v1.0, API v2.0, Component v1.2.8)
>                 MCA rmgr: urm (MCA v1.0, API v2.0, Component v1.2.8)
>                  MCA rml: oob (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA pls: gridengine (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA pls: proxy (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA pls: rsh (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA pls: slurm (MCA v1.0, API v1.3, Component v1.2.8)
>                  MCA sds: env (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA sds: pipe (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA sds: seed (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA sds: singleton (MCA v1.0, API v1.0, Component v1.2.8)
>                  MCA sds: slurm (MCA v1.0, API v1.0, Component v1.2.8)
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 


-- 
Jeff Squyres
jsquy...@cisco.com


Reply via email to