cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

gdebrecz
Journeyman III

CodeXL: Failed to merge temp files.

Hello !

I'm running CodeXL, but always get the same error: Unable to gather profile data / Failed to merge temp files

What I've did on my linux box:

1.) Erased the .amd directory

2.) Installed codexl 1.1.1537

3.) export COMPUTE=:0.0

3.) Tested the opencl executable on the command line which works fine

4.) Stared up CodeXl and created a project with the same settings , atgumants and environment variables

5.) Set Profiling: GPU: App trace

6.) Set "Always show API error codes"

7.) Set "Intervall at which to write...." to 10 ms

8.) Run the profiling and the program runs fine, it termoinates normally but no profiling info obtained just this error message:

"Unable to gather profiling data" in the pop up window and

4/19 15:33:6: DEBUG: (main) Normal program termination.
Failed to merge temp files.
Failed to generate profile result /home/XXXXX/.amd/AMD/CodeXL/XXXXXXXXX_ProfilerOutput/Apr-19-2013_15-32-50/Apr-19-2013_15-32-50.atp.
Failed to generate profile result /home/XXXXX/.amd/AMD/CodeXL/XXXXXXXXX_ProfilerOutput/Apr-19-2013_15-32-50/Apr-19-2013_15-32-50.occupancy.

in the console.

Ths system is:

Linux XXXXXX 2.6.32-279.1.1.el6.x86_64 #1 SMP Tue Jul 10 20:50:49 CEST 2012 x86_64 x86_64 x86_64 GNU/Linux

With a radeon5900. .amd directory is writeable and recreated. Every other opencl program runs fine without problem without codexl.

What else can be wrong ?

thanks for any help,

Gergely

0 Likes
1 Reply
lbin
Staff

Hi Gergely

Can you make sure you have write access to $HOME, temp files are saved to $HOME

0 Likes