Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

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

Qun_L_
Beginner
1,035 Views

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
1 Solution
Dmitry_P_Intel1
Employee
1,035 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
Qun_L_
Beginner
1,035 Views

Hi,

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

0 Kudos
Dmitry_P_Intel1
Employee
1,036 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

 

0 Kudos
Qun_L_
Beginner
1,035 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
Dmitry_P_Intel1
Employee
1,035 Views

Hello Qun,

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

Thanks & Regards, Dmitry

0 Kudos
Qun_L_
Beginner
1,035 Views

Thank you, Dmitry-prohorov.

0 Kudos
Qun_L_
Beginner
1,035 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
Vitaly_S_Intel
Employee
1,035 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
Qun_L_
Beginner
1,035 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
Reply