[CMake] Using MPI Profiler Scalasca in Cmake

Irina Demeshko dirishka at gmail.com
Tue Sep 24 13:13:41 EDT 2013


Hi,

I want to utilize the MPI Profiler "Scalasca" [1] within my CMake project.
For this reason I need to compile my project differently.
I need to use
# scalasca -instrument mpicxx -c foo.cpp
instead of
# mpicxx -c foo.cpp

I've tried to specify CX  compiler by:
 export CXX="scalasca -instrument mpicxx",
but it seems like "scalasca -instrument" was ignored

I also tried to specify -D CMAKE_CXX_COMPILER="scalasca -instrument mpicxx",

but have got an Error during compilation.

Do you have any ideas how to make this work?

Thanks for your time and help!

Irina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130924/20976f98/attachment.htm>


More information about the CMake mailing list