<div dir="ltr"><div><div><br clear="all"><div><div><div><div>Hi, <br><br> I want to utilize the MPI Profiler &quot;Scalasca&quot; [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&#39;ve tried to specify CX  compiler by:<br> export CXX=&quot;scalasca -instrument mpicxx&quot;,<br></div>but it seems like &quot;scalasca -instrument&quot; was ignored<br><br></div>I also tried to specify -D CMAKE_CXX_COMPILER=&quot;scalasca -instrument mpicxx&quot;,<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>