TAU( Tuning Analysis Utilities) a profiling and tracing toolkit for performance analysis of parallel programs written in Fortran, C, C++, Java, Python. TAU is also enabled for nvidia cuda application.
While installing TAU, I got following error –
“Profiler.cpp : 1163 : error : i was not declared in this scope. “
This is a simple bug in source file of TAU-2.20 package. Please follow the steps bellow to solve the issue.
1) go to directory tau-2.20.1/src/Profile
2) open file Profiler.cpp
3) go to line no : 1163
change “ for ( i =1; i < TAU_MAX_THREADS; i++)”
as “for (int i =1; i < TAU_MAX_THREADS; i++)”
4) done 😀