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

Profmerge does not generate spi file

Martin_C_
Beginner
1,067 Views
After running profmerge -a,
no merged instrumentation file is generated
I have also tried with the ifort 11.1.086 version of profmerge.
There is a pgopti.dpi.lock left behind.

Any ideas what would cause this?

[~/tmp/itsaccm1_1]$ ll
total 24932
drwxrwxr-x 2 mjcrawf mjcrawf 4096 Jan 12 09:07 ./
drwxr-xr-x 6 mjcrawf radeff 4096 Jan 11 08:58 ../
-rw-rw-r-- 1 mjcrawf mjcrawf 1065368 Jan 12 08:27 4d2dc885_01133.dyn
-rw-rw-r-- 1 mjcrawf mjcrawf 1065368 Jan 12 08:27 4d2dc893_01135.dyn
-rw-rw-r-- 1 mjcrawf mjcrawf 1065368 Jan 12 08:27 4d2dc896_01136.dyn
-rw-rw-r-- 1 mjcrawf mjcrawf 2769 Jan 11 14:42 cover.lst
-rw-rw-r-- 1 mjcrawf mjcrawf 830697 Jan 11 08:58 fort.11
-rw-rw-r-- 1 mjcrawf mjcrawf 15710226 Jan 12 08:27 fort.12
-rwxrwxr-x 1 mjcrawf mjcrawf 5600781 Jan 12 08:26 its.x*
-rw-rw-r-- 1 mjcrawf mjcrawf 1414 Jan 11 08:58 mdat
-rw-rw-r-- 1 mjcrawf mjcrawf 57449 Jan 12 08:27 output

[~/tmp/itsaccm1_1]$ profmerge -a -verbose
profmerge: looking at dynamic file: ./4d2dc885_01133.dyn
profmerge: looking at dynamic file: ./4d2dc896_01136.dyn
profmerge: looking at dynamic file: ./4d2dc893_01135.dyn
profmerge: looking at dynamic file: pgopti.dpi

[~/tmp/itsaccm1_1]$ ll
total 26264
drwxrwxr-x 2 mjcrawf mjcrawf 4096 Jan 12 09:08 ./
drwxr-xr-x 6 mjcrawf radeff 4096 Jan 11 08:58 ../
-rw-rw-r-- 1 mjcrawf mjcrawf 1065368 Jan 12 08:27 4d2dc885_01133.dyn
-rw-rw-r-- 1 mjcrawf mjcrawf 1065368 Jan 12 08:27 4d2dc893_01135.dyn
-rw-rw-r-- 1 mjcrawf mjcrawf 1065368 Jan 12 08:27 4d2dc896_01136.dyn
-rw-rw-r-- 1 mjcrawf mjcrawf 2769 Jan 11 14:42 cover.lst
-rw-rw-r-- 1 mjcrawf mjcrawf 830697 Jan 11 08:58 fort.11
-rw-rw-r-- 1 mjcrawf mjcrawf 15710226 Jan 12 08:27 fort.12
-rwxrwxr-x 1 mjcrawf mjcrawf 5600781 Jan 12 08:26 its.x*
-rw-rw-r-- 1 mjcrawf mjcrawf 1414 Jan 11 08:58 mdat
-rw-rw-r-- 1 mjcrawf mjcrawf 57449 Jan 12 08:27 output
-rw-rw-r-- 1 mjcrawf mjcrawf 1349248 Jan 12 09:08 pgopti.dpi
-rw-rw-r-- 1 mjcrawf mjcrawf 0 Jan 12 09:08 pgopti.dpi.lock

[~/tmp/itsaccm1_1]$ ifort -V
Intel Fortran Intel 64 Compiler Professional for applications running on Intel 64, Version 11.1 Build 20090630 Package ID: l_cprof_p_11.1.046
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY


0 Kudos
4 Replies
Ron_Green
Moderator
1,067 Views
I did a search in the bug database. I do see an open bug on the .lock file not being cleaned up, but in that bug report, profmerge did output a merged file and exited normally.

So if I read the above correctly, 11.1.086 DID create the pgopti.dpi file correctly BUT left the .lock file (known bug)

But 11.1.046 has a bug and never created the .dpi file.

If so, I can assign this issue as another instance of the existing bug on removing the .lock file, correct?

thanks

ron

0 Kudos
Martin_C_
Beginner
1,067 Views
No
No .spi file was generated though therefore no code coverage could be generated. You stated the above anomaly did create one.

I was working with ifort v11 and also v12:
Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.1.107 Build 20101116
0 Kudos
Ron_Green
Moderator
1,067 Views
I see, I misunderstood.

Yes, this is a new bug. can you tar/gzip your .dyn files and attach it to this issue? Attachment process is documented here: http://software.intel.com/en-us/articles/how-to-attach-file-insert-code-into-forum-post/
0 Kudos
Wendy_Doerner__Intel
Valued Contributor I
1,067 Views
Just to clarify ifort generates the .spi file not profmerge and I believe is now doing so for the originator of this thread.


------

Wendy

Attaching or including files in a post


0 Kudos
Reply