Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4641 Discussions

VTStartSampling error: unknown error code: 42

paulatz
Beginner
224 Views
I don't know if this post should go here or in the vtune forum.

I am trying to generet profiling data for one application. I have compiled it with the appropriate options ( -prof-gen -prof-gen-sampling) but I cannot run it with profrun because of this error message:
$ profrun -dcache myapp.x
VTStartSampling error: unknown error code: 42



On the other hand vtune seem to work well when used directly, e.g. if I run
$ vtl activity -d 30 -c sampling -c callgraph -master sampling -app myapp.x -moi myapp.x run
it just works.


Do you have any hints? What does the error mean?

Thank you in advance.

0 Kudos
3 Replies
Steven_L_Intel1
Employee
224 Views
I moved this here from the Fortran forum.
paulatz
Beginner
224 Views
Ok, I posted it there in the first place because a similar topic (search for VTStartSampling error) was moved in the opposite direction.

I also wished to specify that profiling works, and that the executable correctly produces the *.dyn files if run directly. The error is only triggered by the attempt to use profrun (wich should used hardware collection, if I undestood it correctly) .
desmo3re
Beginner
224 Views
I get the same error. VTune works well, but profrun gives this error. Does anyone know how to solve this error?
Reply