I am not sure this is the right forum, but I hope someone can help me out.
I am running an parallel program (using Intel MPI) compiled with icc (composer_xe_2013.3.163) under Linux. In my Makefile, I added the options:
-profile-functions -profile-loops=all -profile-loops-report=2
in order to get some profiling information.To run the code, I did:
mpiexec.hydra -n 20 -hostfile cluster_file_localhost.txt ./close_loop > close1_10jobs.txt
(the mpiexec comes from: /opt/intel/impi/4.1.0.024/intel64/bin/mpiexec.hydra)
The code completed fine, and there was an output XML file (and the dump files). I then tried to use /opt/intel/composer_xe_2013.3.163/bin/intel64/loopprofileviewer.csh to analyze the resulting XML file. The java GUI starts, but reports an error by popping up a window:
"Failed to parse input file"
Once I click ok, the GUI starts and pops another window: "Unable to open file: [...]'. I can see the file using Open, but it doesn't open it. On the command line, I see the following error apperaing:
[Fatal Error] loop_prof_1365148121.xml:13750:1: Content is not allowed in trailing section.
My programm is iterative, so I tried reducing the number of loops (to see if perhaps the XML file was too large). This didn't solve the problem, but the command line error message is slightly different:
[Fatal Error] loop_prof_1365148865.xml:7761:45: The element type "loop" must be terminated by the matching end-tag "</loop>".
Looking at the XML file doesn't show anything "obvious". But I am no XML expert...
Any ideas on how I could understand what's going on ?
I have attached an example XML file to the end of this message (but had to rename the file from .xml to .xml.txt - don't understand why), so maybe someone can see if the problem is the XML file itself (maybe I did something wrong compiling) or the profiler.
Any ideas welcome....