Example MPE Programs


Up: The MPE Library Next: mpeinstall Previous: Configure the mpe library as part of an existing MPI implementation

As previously noted, the mpe library is composed of 3 different profiling libraries. Each MPI implementation requires a slightly different way in which to link with these libraries. During configure, the link path and appropriate libraries are determined and assigned to variables. These variables are substituted in the Makefile in the mpe/contrib/test directory. The following is a list of these variables:

* LOG_LIB = link path needed to link with the logging library
* TRACE_LIB = link path needed to link with the tracing library
* ANIM_LIB = link path needed to link with the animation library
* FLIB_PATH = link path needed to link fortran programs with the logging library

During make, a small C program cpi (in the mpe/contrib/test directory) will be linked with each of the above libraries. In the output from make, a message will be writted regarding the success of each attempted link test. Also, in the mpe/contrib/test directory a small Fortran program fpi will be linked with the logging library using FLIB_PATH. The success of this link test will also be included in the make output. If the link tests were successful, then these library paths should be used for your programs as well.



Up: The MPE Library Next: mpeinstall Previous: Configure the mpe library as part of an existing MPI implementation