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