Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
61 Views

PMU resource(s) currently being used by another profiling tool or process

The following command

mpirun -n 4 /opt/intel/vtune_amplifier_xe/bin64/amplxe-cl -collect-with runsa -knob event-config=FP_COMP_OPS_EXE.X87 -result-dir /home/fabrizio/Desktop/testt/ -- /home/fabrizio/Desktop/test

returns error in subject.

I tried a solution explained in an another post (./insmod -sep3 -r), but it seems not to be my case, because with ONE process I don't have error about PMU resource(s), but an error about "Failed to create a tb6 file".

How could I solve?

Thanks!

 

0 Kudos
1 Reply
Highlighted
Employee
61 Views

In general speaking, you can use "ps -ae | grep amplxe-cl" to find remained processes to kill them, then start a new session.

Also was it possible that some "defunct" process(es) remained? If so, you can use "ps -axl | grep defunct" then kill their parent processes.

You may do "rmmod_sep3" to uninstall drivers, then use "insmod_sep3" to install them again.

If above has no help, you might reboot the system:-(

Running mpirun with event-based collections, it is better to run such as:

amplxe-cl -collect-with runsa -knob event-config=FP_COMP_OPS_EXE.X87 -r result_dir -- mpirun -n 4 ./prog,

which will generate aggregated performance data (from multiple processes) in one result file. Does it solve your problem?  

0 Kudos