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

IPO optimization still giving problems

Manfredo_d_
Beginner
282 Views

Hi, I am trying to compile my code with the -fast flag that includes the ipo (with ifort v. 17). The compilation proceeds until linking, throws a bunch of warnings and then stall forever.

This is the way I compile

ifort -c -fast -g -qopenmp -lz -lhdf5 -lhdf5_fortran -lhdf5_hl  -I../../src/include     radiate_utils.f90

(... + all compilation of all other src files)

xiar crs ../../build//ed_2.1-opt.a allometry.o radiate_utils.o (... + all other object files)

xiar: executing 'ar'

ifort -o ../../build//ed_2.1-opt edmain.o -fast -g -qopenmp -lz -lhdf5 -lhdf5_fortran -lhdf5_hl  -I../../src/include    ../../build//ed_2.1-opt.a -lz -lhdf5 -lhdf5_fortran -lhdf5_hl

ipo: warning #11021: unresolved H5Dget_offset
        Referenced in libhdf5_fortran.a(H5Dff.o)
ipo: warning #11021: unresolved H5Sget_regular_hyperslab
        Referenced in libhdf5_fortran.a(H5Sff.o)
ipo: warning #11021: unresolved H5Sis_regular_hyperslab
        Referenced in libhdf5_fortran.a(H5Sff.o)
ipo: warning #11021: unresolved H5Acreate2
        Referenced in libhdf5_fortran.a(H5Aff.o)
        Referenced in libhdf5_fortran.a(H5Af.o)

And the warnings go on for a while. The compilation is never terminated (I let it run for 3 h when without -ipo it takes around 15 min)

0 Kudos
1 Reply
Steve_Lionel
Honored Contributor III
282 Views

If ifort 18 does the same thing, report it to Intel and attach everything they need to reproduce the problem.

0 Kudos
Reply