[Pvfs2-developers] Using MPE with BMI?
Scott Atchley
atchley at myri.com
Tue Jan 9 17:02:25 EST 2007
Ok, I got this working. I had to recompile mpich2 with CFLAGS="-
DCLOG_NOMPI", add "-lmpe-nompi" to bmx_mx's LIBS in Makefile.in and
then rerun PVFS2's configure, make and make install.
I am now trying to find a Java that will let me view the log. :-P
Scott
On Jan 8, 2007, at 2:45 PM, Scott Atchley wrote:
> Hi all,
>
> I am attempting to use MPE within bmi_mx. I configure pvfs with:
>
> ./configure --prefix=/path/to/pvfs2-mx --with-mx=/path/to/mx --with-
> kernel=/usr/src/linux-2.6.16.19-io-686 --with-mpe=/path/to/mpich2
>
> It compiles and links without any problems.
>
> If I do not include MPE_Init_log(), I get a segfault on
> MPE_Log_get_event_number().
>
> If I include MPE_Init_log(), I do not get an error, but it exits with:
>
> [D 14:39:59.280516] PVFS2 Server version
> 2.6.1pre1-2007-01-08-193345 starting.
> Attempting to use an MPI routine before initializing MPICH
>
> My BMI_mx_initialize() code has:
>
> #if BMX_LOGGING
> MPE_Init_log();
> MPE_Start_log();
> send_start = MPE_Log_get_event_number();
> send_finish = MPE_Log_get_event_number();
> recv_start = MPE_Log_get_event_number();
> recv_finish = MPE_Log_get_event_number();
> sendunex_start = MPE_Log_get_event_number();
> sendunex_finish = MPE_Log_get_event_number();
> recvunex_start = MPE_Log_get_event_number();
> recvunex_finish = MPE_Log_get_event_number();
> MPE_Describe_state(send_start, send_finish, "Send", "red");
> MPE_Describe_state(recv_start, recv_finish, "Recv", "blue");
> MPE_Describe_state(sendunex_start, sendunex_finish,
> "SendUnex", "orange");
> MPE_Describe_state(recvunex_start, recvunex_finish,
> "RecvUnex", "green");
> #endif
>
> Is it possible to use MPE this way? If so, what am I missing?
>
> Scott
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
More information about the Pvfs2-developers
mailing list