I want to use the Intel Trace Collector on a 64-bit Windows HPC Server 2008 (2x Xeon E5450) to instrument a binary that uses Intel MPI 3.2.2.
Package ID: w_itac_p_8.0.3.008
Build Number: w_itac_p_8.0.3.04_intel64
Package Contents: Intel Trace Analyzer and Collector for Windows*
On a command line, I initialize the ITAC variables by executing "itacvars.bat". Then I start the application using the following command:
impiexec.exe -genv VT_DLL_DIR "%VT_DLL_DIR%" -genv VT_MPI_DLL "%VT_MPI_DLL%" -genv VT_LOGFILE_PREFIX "" -genv VT_FLUSH_PREFIX "" -genv VT_STF_PROCS_PER_FILE 2 -n 2 itcpin --verbose 3 --insert VT --run -- myProgram.exe
If so, my application fails after a couple of seconds with a segmentation violation (signal 11). If I run my application without itcpin, everything works fine.
During the very short run with itcpin, the Intel Collector either write 0 Byte files into the given directory, or sometime two 130MB dat-files.
Then, I tried to exchange the VT library by VTmc (using the --insert flag). Then, I get the following output:
[..] New thread #5, stack at 000000002484FAD8, flags 0x0. New thread #5, stack at 000000002483FAD8, flags 0x0.  ERROR: Signal 3 caught in ITC code section.  ERROR: Either ITC is faulty or (more likely in a release version)  ERROR: the application has corrupted ITC's internal data structures.  ERROR: Giving up now... [..]  WARNING: EXCEPTION_ACCESS_VIOLATION occurred  ERROR: Signal 3 caught in ITC code section.  ERROR: Either ITC is faulty or (more likely in a release version)  ERROR: the application has corrupted ITC's internal data structures.  ERROR: Giving up now... [..]Now, I don't know what to do. I don't have access to the sources. Is there another way of binary instrumentation?
What does the error mean? Can I change ITAC parameters (envrionment variables) to get it to work? I've already tried to decrease the memory block sizes and number, but without any success...
Any help is appreciated.
PS: Joe had a similar problem (http://software.intel.com/en-us/forums/showthread.php?t=101217&o=a&s=lr) some time ago. But in contrast to me, he had source access.