- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to profile elmer (www.csc.fi/elmer) an open source Finite Element solver. Other (simpler) applications I've tried appear to profile okay
I've tried compiling it with both gcc/g++/ifort and icc/ifort with no difference in vtune's ability to profile it.
The application runs perfectly okay normally.
using vtune I get:
I've tried compiling it with both gcc/g++/ifort and icc/ifort with no difference in vtune's ability to profile it.
The application runs perfectly okay normally.
using vtune I get:
[ erij 2.6.11.4-21.9 ] /opt/intel/vtune/bin/vtl activity ElmerSolver-gcc -c callgraph
-app ../bin/ElmerSolver -moi ../bin/ElmerSolver run
VTune Performance Analyzer 3.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2004 Intel Corporation. All rights reserved.
Sun Nov 20 14:02:00 2005 Writing property files failed.
The Activity is running.
Sun Nov 20 14:02:03 2005 Reading property files started...
Sun Nov 20 14:02:03 2005 error: the property 'buffer size' was not set in the property file.
Sun Nov 20 14:02:03 2005 Reading property files failed.
Sun Nov 20 14:02:03 2005 Static instrumentation started
Debug: Assertion failed 'false' at Bistro/elf/unwind_reader.cpp:316
Wrong lsda start
/local/richard/Apps/elmer-gcc/bin/ElmerSolver: error while loading shared libraries:
libelmersolver.so__local_richard_Apps_elmer-gcc_lib: cannot open shared object file:
No such file or directory
Sun Nov 20 14:02:06 2005 All functions instrumentation of module "ElmerSolver" was successful.
Sun Nov 20 14:02:06 2005 Exports instrumentation of module "libc.so.6" was skipped.
Sun Nov 20 14:02:06 2005 Minimal instrumentation of module "libdl.so.2" was skipped.
Sun Nov 20 14:02:07 2005 All functions instrumentation of module "libelmersolver.so" was successful.
Sun Nov 20 14:02:07 2005 Exports instrumentation of module "libgcc_s.so.1" was skipped.
Sun Nov 20 14:02:07 2005 All functions instrumentation of module "libifcore.so.5" was skipped.
Sun Nov 20 14:02:07 2005 All functions instrumentation of module "libifport.so.5" was skipped.
Sun Nov 20 14:02:07 2005 All functions instrumentation of module "libimf.so" was skipped.
Sun Nov 20 14:02:07 2005 All functions instrumentation of module "libm.so.6" was skipped.
Sun Nov 20 14:02:07 2005 Exports instrumentation of module "libstdc++.so.5.0.7" was skipped.
Sun Nov 20 14:02:07 2005 Static instrumentation done
Sun Nov 20 14:02:14 2005 Data collection finished...
Sun Nov 20 14:02:14 2005 No module from the activity was loaded
Sun Nov 20 14:02:14 2005 Error - Internal error while resolving the results file.
The Activity has finished running.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does a sampling session work? Would be interesting to see if you could get a nice 20 second collection of default events, instructions retired and clockticks. I'm guessing this will work but you want a callgraph of course.
For callgraph consider minimizing the instrumentation levels for ALL functions and trying the callgraph session again. If it runs, and it should, then you gradually edit the callgraph activity so that functions are added one at a time, to find out which one seems to be causing the problem. For more details:
$ man callgraph
cheers
jdg
Message Edited by jdgallag on 11-28-2005 02:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, it looks like several things are failing here:
1. check the global-options and make sure buffer-size is not zero. If it is zero, set it to 10 MB or something like that. Use 'vtl global-options' to examine.
2. make sure LD_LIBRARY_PATH is set so that the reference to libelmersolver.so__local_richard_Apps_elmer-gcc_lib is resolved.
If, after resolving those issues, you still get a BISTRO error, try running bistro standalone on the executable. To do that, first, source a script file:
$ source /opt/intel/vtune/bin/clscripts.common
Then run bistro on the executable:
$ /opt/intel/vtune/analyzer/bin/bistro -i ElmerSolver-gcc -symbol_info ElmerSolver-gcc -instr_type full
See 'bistro -?' for all options. By running it standalone, you can sometimes get better error messages and determine what is wrong.
If you get an error you can't resolve or understand, please submit an issue at Intel Premier Support.
Regards,
Message Edited by DaveA on 12-05-2005 02:35 PM
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page