TAU Installation issue : Profiler.cpp : error : solved

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   😀


Simple , Artistic , Meaningful

Tagged with: , , , , , , , , ,
Posted in computer, debug, GPGPU, install, Passion, Science, troubleshoot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: