MPI

Alex Merritt merritt.alex at gmail.com
Wed Jul 22 17:02:43 PDT 2015


Hello,

Has anyone successfully been able to execute an MPI program? I have tried
with both mpich and mpich2 from the pkg library on DF 4.0.6:

// mpicc mpitest.c -o mpitest
#include <mpi.h>
int main(int narg, char **arg) {
        int me,nprocs;
        MPI_Init(&narg,&arg);
        MPI_Comm_rank(MPI_COMM_WORLD,&me);
        MPI_Comm_size(MPI_COMM_WORLD,&nprocs);
        MPI_Finalize();
        return 0;
}

With mpich2 1.5_2,5

% ./mpitest
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(420)..............:
MPID_Init(180).....................: channel initialization failed
MPIDI_CH3_Init(38).................:
MPID_nem_init(244).................:
MPID_nem_tcp_init(108).............:
MPID_nem_tcp_get_business_card(354):
MPID_nem_tcp_init(288).............:
MPID_Get_processor_name(33)........: Failed to get processor name

% mpirun -np 1 ./mpitest
mpiexec failed: gethostbyname_ex failed for

With mpich 3.1.4_1

% ./mpitest
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(352).............:
MPID_Get_processor_name(33)........: Failed to get processor name

% mpirun -np 1 ./mpitest
[mpiexec@] HYD_pmcd_pmiserv_proxy_init_cb (pm/pmiserv/pmiserv_cb.c:445):
assert (!closed) failed
[mpiexec@] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76):
callback returned error status
[mpiexec@] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:198):
error waiting for event
[mpiexec@] main (ui/mpich/mpiexec.c:344): process manager error waiting for
completion


Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20150722/621f7606/attachment.html>


More information about the Users mailing list