Andreas,
I am going to guess at a minimum the interfaces are up and you can ping
them. On Solaris there is an additional step required and that is
initializing the dat registry. If "/usr/sbin/datadm -v" does not show
some driver output then you would need to run "/usr/sbin/datadm -a
/usr/share/dat/SUNWudaplt.conf". I don't know if there is an equivalent
on Linux.
Attached is a simple udapl program which will check if the interfaces
are available in the dat registry.
-DON
Andreas Kuntze wrote:
Hello,
I finally managed to run open MPI with uDAPl but all MPI programs
hang up, when they use MPI_Recv. If I use TCP or native InfiniBand
instead, it works. Maybe you have an idea where the problem could be.
Thanks
Andreas
------------------------------------------------------------------------
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
/*
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
*
* Desc: Simple uDAPL program to check if interface available in registry.
*
* % gcc dat_reg.c -o dat_reg -ldat
* % dat_reg
* provider 1: ibd1
*/
#include<stdio.h>
#include <dat/udat.h>
int main() {
DAT_PROVIDER_INFO provider_list[10];
DAT_PROVIDER_INFO *providers = provider_list;
DAT_COUNT entries;
int i;
if (dat_registry_list_providers(10, &entries, &providers) !=
DAT_SUCCESS) {
printf("ran into problems\n");
exit(-1);
}
for(i=0; i< entries; i++) {
printf("provider %d: %s\n", entries, provider_list[i].ia_name);
}
}