<div dir="ltr"><div><div><br clear="all"><div><div><div><div>Hi, <br><br> I want to utilize the MPI Profiler "Scalasca" [1] within my CMake project.
<br>For this reason I need to compile my project differently.
<br>I need to use<br># scalasca -instrument mpicxx -c foo.cpp
<br>instead of
<br># mpicxx -c foo.cpp
<br><br></div>I've tried to specify CX compiler by:<br> export CXX="scalasca -instrument mpicxx",<br></div>but it seems like "scalasca -instrument" was ignored<br><br></div>I also tried to specify -D CMAKE_CXX_COMPILER="scalasca -instrument mpicxx",<br>
<br></div>but have got an Error during compilation.<br><br>Do you have any ideas how to make this work?
<br><br>Thanks for your time and help!<br></div><br></div>Irina<br></div>