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

Problem when using profile-guided optimization

Hi everyone, I'm using the lastest ifort 12.1.5 and I'm tesing the pgo (profile-guided optimization) feature, but encoutered problems. Here's my program, a quite simple hello world: [fortran]program main print *, "hello" end program main [/fortran]
then i compile it like this:

[bash]ifort -prof-gen hello.f90
[/bash] then I run the program

[bash]./a.out[/bash]
and then compile it again:
[bash]ifort -prof-use hello.f90[/bash] but I got the following error message:
[bash]/tmp/hello.f90(1): warning #11507: Value profiling mismatch for 'MAIN__'.[/bash] Does anyone know why? did I miss something? Thanks.
0 Kudos
2 Replies
Highlighted
Employee
19 Views

Looks strange. Since this is specific to the compiler, I suggest that you ask in the Intel Fortran Compiler forum. I'm sure that they can help you there.
0 Kudos
Highlighted
Beginner
19 Views

Thank you!
I'll try to post this question there to see if anyone konws. :)
0 Kudos