CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Can't profile shared libraries (http://www.cfd-online.com/Forums/openfoam-programming-development/67078-cant-profile-shared-libraries.html)

rsamuel August 3, 2009 08:19

Can't profile shared libraries
 
Dear Foamers,

I am currently CUDA'ising some lduMatrix functions and would like to gauge my progess but can't get profiling shared libraries to work. When I compile a Prof configuration, blank gmon.out files get generated in the directories where the shared libraries are stored before I have even run a case. When I run a case the expected gmon.out gets filled with counts from the application, such as sonicTurbFoam, but contains no mention of the time spent in the shared libraries, which is what I am really interested in. The previously described gmon.out files don't get touched after compilation and hence contain no useful information.

Has anyone seen this behaviour before ?? Suggestions greatly apperciated.

Regards
Richard

rsamuel August 3, 2009 09:58

Sorry, forgot to mention details - OpenSuse 11.1 (Gcc 4.3.2), OF-1.5.x

Richard


All times are GMT -4. The time now is 18:56.