Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Profiler Error PRF1301

kkajino
Beginner
626 Views
I am trying to profile a code using the follwing batch file, provided in the page, titled, "Profiler Batch

Processing". Here is the provided code, which I've pasted in a file, named ftime.bat.

PREP /OM /FT /EXC nafxcwd.lib %1
if errorlevel == 1 goto done
PROFILE %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel == 1 goto done
PREP /M %1
if errorlevel == 1 goto done
PLIST /SC %1 >%1.lst
PLIST /t %1 >%1.xls
:done

I issue the following command to run the process:

ftime d:......ssme_pw_mail.exe

I get the following error when I try to profile my fortran code:

PREP : fatal error PRF1301: file d:...
...ssme_pw_main.exe has an incorrect (old) signature

The knowledge base tells me the following:

Profiler Error PRF1301 fatal error -- common -- file filename has an incorrect(old) signature. A PBI, PBO, PBT, _XE, or _LL file does not contain the correct header bytes. Perhaps the file is corrupted or was created by an old version of the profiler.

I've ...

0 Kudos
3 Replies
Steven_L_Intel1
Employee
626 Views
You also submitted this to vf-support (good!), but your company's mail server bounced the reply (bad!) - I think it thought it was spam, though the message was unclear.

Anyway, here is what I sent:

According to Microsoft Knowledge Base article Q170513, the description in the documentation of how to use FTIME.BAT is incorrect. It should read:

"If the preceding batch file was named FTIME.BAT, and you wanted to profile the program TEST from the Profile dialog box, you would select the Custom option, and then specify FTIME.BAT in the Custom Settings box. If you wanted to profile the TEST program from the command prompt, you would type: FTIME TEST"

Note - not FTIME TEST.EXE....

Please let me know if this resolves your problem.

Steve
0 Kudos
kkajino
Beginner
626 Views
Thank you, Steve!

This was the very answer I needed.

I now have the use of the profiler - what a neat tool!
0 Kudos
Steven_L_Intel1
Employee
626 Views
The MS Profiler has some serious limitations, but if it does the job for you, fine. May I suggest trying the evaluation version of Intel VTune Performance Analyzer? It leaves the MS profiler in the dust...

Steve
0 Kudos
Reply