compile error with PMPI wrapper

Hi,

I am following the instructions in


to compile c wrapper, but I got the following error:

$ mpicxx -c nvtx_pmpi.c -L{/usr/local/cuda/lib64} -lnvToolsExt
nvtx_pmpi.c:34:10: fatal error: 'nvToolsExt.h' file not found
#include <nvToolsExt.h>
         ^~~~~~~~~~~~~~
1 error generated.
Error while processing nvtx_pmpi.c.

Can anyone show me what I should add in order to find this header file?

Thanks,
M.

I resolved it on my own. I need to add “-I/usr/local/cuda/include”

Hi,

Good to here that you resolved the issue.


Thanks,
Ramesh