Hello. I am attempting to get VTune Amplifier working to the point where I can collect data on a Linux system and view the results on my windows system. I have VTune installed on my windows box and am able to use it to attach to processes and perform Hotspot analysis. However I am having trouble doing the same on Linux. I have downloaded the trial version of VTune Amplifier XE for linux in order to use the CLI for collecting data. I believe that it is not necessary to have a full Linux license in order to do this, is this correct? So this is what I have done so far: 1. Written a short program called helloworld in VS2010 that simply runs in a loop for a period of time (a couple of minutes). 2. Compiled this on VS2010 and gcc 4.1.2. 3. Started helloworld from the command line on windows. 4. In the VTune GUI, created a project called HelloWorld and pointed it at the helloworld.exe process. It recognises the process name and attaches no problem. 5. 10 seconds later data collection stops, the results are finalised and displayed on the screen. 6. Started helloworld on my linux system. 7. Run the command line collector program: phil@lonschdev04 /opt/intel/vtune_amplifier_xe/bin32 $ amplxe-cl -collect hotspots -knob accurate-cpu-time-detection=true -follow-child -target-duration-type=short -no-allow-multiple-runs -no-analyze-system -data-limit=100 -slow-frames-threshold=40 -fast-frames-threshold=100 --duration 10 --target-process helloworld -result-dir /tmp/vtune Warning: Old version of OpenMP* runtime was detected. Collection results may be incomplete. Using result path `/tmp/vtune' Executing actions 16 % Loading data files Warning: Cannot load data file `/tmp/vtune/data.0/8849-4998.0.log' (). Executing actions 50 % Saving the result Warning: Skipped generation of report `summary': no valid license can be found (Your license file is unavailable for undetermined reasons. The error code is `-76'.). Executing actions 50 % done 8. This produces a set of files and directories within/tmp/vtune which I then copy to my windows system under a subdirectory within the VTune HelloWorld project directory. 9. Within the VTune GUI I then click File->Open->Project and browse tovtune.amplxe which is the file produced by the collector on linux. 10. The VTune GUI says 'Opening Result...' and stays there indefinitely. Any suggestions on what I am doing incorrectly? Are the warnings given above significant? If you need any more information or files then I can provide it. Regards.
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.