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

''-collect does't accept option -format'', how to solve it? is version difference problem?

Jump to solution

Hi,

I am using amplxe-cl to process analysis, but when I was using the same script which works no problem in Vtune Amplifier 2011 has problem occurred in Vtune Amplifier 2016, the script is below:

/usr/foo/intel/vtune_amplifier_xe_2011/bin64/amplxe-cl --collect custom_analysis_0 -follow-child -target-duration-type=short -allow-multiple-runs -no-analyze-system -data-limit=100 -result-dir=/usr/foo/intel/MyProjects/test/dealII -format csv -report-output=/usr/foo/intel/MyProjects/test/dealII -summary -- /usr/foo/cpu2006/rundealII

the problem occurred described as:

''-collect does't accept option -format''

So does anyone knows this problem? I tried make changes according the newest reference documents, but still not work, hope anyone can help.

Thank you.

0 Kudos

Accepted Solutions
Highlighted
27 Views

Hello Qun,

Since currently -collect command does not operate with report options like -format or -report-output you can divide it by to CL invocations:

>amplxe-cl --collect custom_analysis_0 -follow-child -target-duration-type=short -allow-multiple-runs -no-analyze-system -data-limit=100 -result-dir=/usr/foo/intel/MyProjects/test/dealII  -- /usr/foo/cpu2006/rundealII

>amplxe-cl -report summary -format csv -report-output=/usr/foo/intel/MyProjects/test/dealII -r /usr/foo/intel/MyProjects/test/dealII

Hope this helps.

Thanks & Regards, Dmitry

 

View solution in original post

0 Kudos
8 Replies
Highlighted
Beginner
27 Views

Hi,

Or is anyone knows where can download Vtune Amplifier XE 2011? I did not find the archives on this website...

0 Kudos
Highlighted
28 Views

Hello Qun,

Since currently -collect command does not operate with report options like -format or -report-output you can divide it by to CL invocations:

>amplxe-cl --collect custom_analysis_0 -follow-child -target-duration-type=short -allow-multiple-runs -no-analyze-system -data-limit=100 -result-dir=/usr/foo/intel/MyProjects/test/dealII  -- /usr/foo/cpu2006/rundealII

>amplxe-cl -report summary -format csv -report-output=/usr/foo/intel/MyProjects/test/dealII -r /usr/foo/intel/MyProjects/test/dealII

Hope this helps.

Thanks & Regards, Dmitry

 

View solution in original post

0 Kudos
Highlighted
Beginner
27 Views

dmitry-prohorov (Intel) wrote:

Hello Qun,

Since currently -collect command does not operate with report options like -format or -report-output you can divide it by to CL invocations:

>amplxe-cl --collect custom_analysis_0 -follow-child -target-duration-type=short -allow-multiple-runs -no-analyze-system -data-limit=100 -result-dir=/usr/foo/intel/MyProjects/test/dealII  -- /usr/foo/cpu2006/rundealII

>amplxe-cl -report summary -format csv -report-output=/usr/foo/intel/MyProjects/test/dealII -r /usr/foo/intel/MyProjects/test/dealII

Hope this helps.

Thanks & Regards, Dmitry

 

 

Hi Dmitry,

Thank you for this, I have tried in this way, so we cannot define that two in one command line right?

 

Best,

Qun

0 Kudos
Highlighted
27 Views

Hello Qun,

This is correct, VTune "-collect" command does not accept report related knobs.

Thanks & Regards, Dmitry

0 Kudos
Highlighted
Beginner
27 Views

Thank you, Dmitry-prohorov.

0 Kudos
Highlighted
Beginner
27 Views

dmitry-prohorov (Intel) wrote:

Hello Qun,

Since currently -collect command does not operate with report options like -format or -report-output you can divide it by to CL invocations:

>amplxe-cl --collect custom_analysis_0 -follow-child -target-duration-type=short -allow-multiple-runs -no-analyze-system -data-limit=100 -result-dir=/usr/foo/intel/MyProjects/test/dealII  -- /usr/foo/cpu2006/rundealII

>amplxe-cl -report summary -format csv -report-output=/usr/foo/intel/MyProjects/test/dealII -r /usr/foo/intel/MyProjects/test/dealII

Hope this helps.

Thanks & Regards, Dmitry

 

 

Hi Dmitry,

Do you know this problem?

I have installed the Vtune in a new computer, but it showed:

amplxe: Error: File "/home/SPEC/cpu2006/scripts/runastar" is not an executable binary.

It works well in my previous computer, I am sure.

Thank you.

0 Kudos
Highlighted
Employee
27 Views

Well, this error message says that the file "runastar" that you specified as an application to launch is not an executable. Please check this file is accessible on your new system and has executable permission.

0 Kudos
Highlighted
Beginner
27 Views

Vitaly Slobodskoy (Intel) wrote:

Well, this error message says that the file "runastar" that you specified as an application to launch is not an executable. Please check this file is accessible on your new system and has executable permission.

 

Thank you. Have solved this in another post. So, do you know why it can not output CSV file?

0 Kudos