Hi Rob,

I also tried your suggestion  but after running, there was no trace file
created.

cc  h5ex_d_chunk.c -o h5ex_d_chunk  -lhdf5 -lm
-L/nics/c/home/hluu/install/mpe-orig/lib -llmpe -lmpe

I'm running on Kraken (NICS) cluster. cc is the compiler wrapper they use
on Kraken. And I NEED to use a separate build of MPE for my research.

With regards,
Huong



On Wed, Apr 4, 2012 at 4:48 PM, Rob Latham <[email protected]> wrote:

> On Wed, Apr 04, 2012 at 04:18:35PM -0500, huong luu wrote:
> > Hi Rob,
> >
> > That's exactly my problem. I need to record those MPI functions called by
> > HDF5. All the I/O in my application is done using HDF5 (there's no
> explicit
> > MPI I/O function like MPI_File_write ..). So when I link my application
> > with just mpe as usual, I can't see those I/O functions.
>
> Oh, you can, but it can be tricky to get the libraries in the right
> order.
>
> For example, I'm using the mpi compiler wrappers that came with MPICH
> and a separate build of MPE:
>
> $ mpicc  h5test.c -o h5test -L${HDF5}/lib -lhdf5 -lm
> -L/soft/apps/mpe/install_ibm/lib -llmpe -lmpe
>
> you can also sometimes use your mpi wrapper scripts to do some of this
> for you, if you built MPICH2 with MPE support:
>
> $ mpicc -mpe=mpilog h5test.c -o h5test -L${HDF5}/lib -lhdf5 -lm
>
> ==rob
>
> --
> Rob Latham
> Mathematics and Computer Science Division
> Argonne National Lab, IL USA
>
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to