Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Srinivasan_R_1
Beginner
61 Views

PGO feature issue with Intel Fortran Compiler

Hi,

I was experimenting with the PGO (Profile-Guided-Optimization) feature for a large fortran application (Weather Modeling) and ran into a problem when trying to use the -prof-use option. Briefly, the steps I took are:

1. Compiled first with -prof-gen and -prof-dir options. (Successful)

2. Ran the application compiled with above options once. (Successful)

3. Tried compiling with -prof-use option. (Compilation failed).

Essentially, compilation itself failed when using the -prof-use option. I can see the .dyn files generated in the -prof-dir directory.

Hardware:

Intel Xeon E5-2650 v2 host, Intel Xeon Phi 7120P co-processor.

Compiler Version:

Intel Fortran (ifort) 2015.2.164

Below are the last few lines from my build log.

checking whether we are using the GNU Fortran compiler... no
checking whether ifort  accepts -g... yes
checking for Fortran flag to compile .F90 files... unknown
configure: error: Fortran could not compile .F90 files
gmake: *** [/home/srinivasan/cesm1_2_2/cases/ReducingOpenMPOverhead/exe/intel/mpich/nodebug/nothreads/mct/Makefile.conf] Error 1
if ( 0 == 1 ) then
cp -p Makefile.conf Makefile.conf.old
cp: cannot stat `Makefile.conf': No such file or directory

 

I'd be grateful if someone could tell me what is going wrong here.

Thanks in advance,

Srinivasan Ramesh

0 Kudos
0 Replies
Reply