Skip to content

Link to your applications

gmarkomanolis edited this page Feb 10, 2014 · 3 revisions

Instructions to link your application with Mini library

Compile your code with these libraries:

-lpapi -lmini -lmpi_f77 -lmpi

Be sure that the environment variable $LD_LIBRARY_PATH is updated to the mentioned libraries.

For example you can compile NAS benchmarks by adding the decaring the FMPI_LIB variable in make.def file as follows

FMPI_LIB = -L/path/to/mini/library -lmini -lpapi -lmpi_f77 -lmpi

After the compilation follow the execution instrucitons

Clone this wiki locally