ICE on ipo

ICE on ipo

I got an Internal compiler error like this when I enable release optimizations. As you can see, there are many source files present, so I cannot show the complete code here.

lada@meop37:~/f/CLMM/src> ./make_intel_release
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
ifort -o /home/lada/f/CLMM/bin/intel/release/parameters.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release parameters.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/strings.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release strings.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/endianness.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release endianness.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/freeunit.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release freeunit.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/wallmodels.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release wallmodels.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/turbinlet.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release turbinlet.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/multigrid.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release multigrid.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/limiters.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release limiters.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/multigrid2d.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release multigrid2d.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/tiling.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release tiling.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/filters.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release filters.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/geometric.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release geometric.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/boundaries.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release boundaries.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/laxfried.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release laxfried.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/poisson.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release poisson.F90
ifort -o /home/lada/f/CLMM/bin/intel/release/cds.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release cds.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/laxwend.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release laxwend.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/subgrid.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release subgrid.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/scalars.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release scalars.f90
scalars.f90(1847): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [TEMPIN]
subroutine InitTemperature(TempIn,Temperature)
-----------------------------^
ifort -o /home/lada/f/CLMM/bin/intel/release/outputs.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release outputs.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/tsteps.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release tsteps.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/initial.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release initial.f90
ifort -o /home/lada/f/CLMM/bin/intel/release/main.o -c -cpp -g -fast -openmp -ipo -DCUSTOMSB -I/home/lada/f/CLMM/bin/intel/release -I/usr/local/poisfft_intel -module /home/lada/f/CLMM/bin/intel/release main.f90
'ifort' -o /home/lada/f/CLMM/bin/intel/release/CLMM -fast -openmp -ipo /home/lada/f/CLMM/bin/intel/release/parameters.o /home/lada/f/CLMM/bin/intel/release/strings.o /home/lada/f/CLMM/bin/intel/release/endianness.o /home/lada/f/CLMM/bin/intel/release/freeunit.o /home/lada/f/CLMM/bin/intel/release/tiling.o /home/lada/f/CLMM/bin/intel/release/limiters.o /home/lada/f/CLMM/bin/intel/release/multigrid.o /home/lada/f/CLMM/bin/intel/release/multigrid2d.o /home/lada/f/CLMM/bin/intel/release/wallmodels.o /home/lada/f/CLMM/bin/intel/release/geometric.o /home/lada/f/CLMM/bin/intel/release/turbinlet.o /home/lada/f/CLMM/bin/intel/release/boundaries.o /home/lada/f/CLMM/bin/intel/release/scalars.o /home/lada/f/CLMM/bin/intel/release/filters.o /home/lada/f/CLMM/bin/intel/release/subgrid.o /home/lada/f/CLMM/bin/intel/release/outputs.o /home/lada/f/CLMM/bin/intel/release/poisson.o /home/lada/f/CLMM/bin/intel/release/initial.o /home/lada/f/CLMM/bin/intel/release/cds.o /home/lada/f/CLMM/bin/intel/release/laxfried.o /home/lada/f/CLMM/bin/intel/release/laxwend.o /home/lada/f/CLMM/bin/intel/release/tsteps.o /home/lada/f/CLMM/bin/intel/release/main.o /home/lada/f/CLMM/custom/emptySB.o -L/usr/local/poisfft_intel -lpoisfft -llapack -lfftw3 -lfftw3f -lfftw3_omp -lfftw3f_omp
ipo: warning #11003: no IR in object file /home/lada/f/CLMM/custom/emptySB.o; was the source file compiled with -ipo
ipo: warning #11021: unresolved sswap_
Referenced in liblapack.a(sgetri.o)
Referenced in liblapack.a(sgetf2.o)
ipo: warning #11021: unresolved sgemv_
Referenced in liblapack.a(sgetri.o)
Referenced in liblapack.a(sgerfs.o)
ipo: warning #11021: unresolved strsm_
Referenced in liblapack.a(sgetri.o)
Referenced in liblapack.a(sgetrf.o)
Referenced in liblapack.a(sgetrs.o)
Referenced in liblapack.a(strtri.o)
ipo: warning #11021: unresolved sgemm_
Referenced in liblapack.a(sgetri.o)
Referenced in liblapack.a(sgetrf.o)
ipo: warning #11021: unresolved dswap_
Referenced in liblapack.a(dgetri.o)
Referenced in liblapack.a(dgetf2.o)
ipo: warning #11021: unresolved dgemv_
Referenced in liblapack.a(dgetri.o)
Referenced in liblapack.a(dgerfs.o)
ipo: warning #11021: unresolved dtrsm_
Referenced in liblapack.a(dgetri.o)
Referenced in liblapack.a(dgetrf.o)
Referenced in liblapack.a(dgetrs.o)
Referenced in liblapack.a(dtrtri.o)
ipo: warning #11021: unresolved dgemm_
Referenced in liblapack.a(dgetri.o)
Referenced in liblapack.a(dgetrf.o)
ipo: warning #11021: unresolved _gfortran_compare_string
Referenced in liblapack.a(ilaenv.o)
ipo: warning #11021: unresolved _gfortran_st_write
Referenced in liblapack.a(xerbla.o)
ipo: warning #11021: unresolved _gfortran_string_len_trim
Referenced in liblapack.a(xerbla.o)
ipo: warning #11021: unresolved _gfortran_transfer_character_write
Referenced in liblapack.a(xerbla.o)
ipo: warning #11021: unresolved _gfortran_transfer_integer_write
Referenced in liblapack.a(xerbla.o)
ipo: warning #11021: unresolved _gfortran_st_write_done
Referenced in liblapack.a(xerbla.o)
ipo: warning #11021: unresolved _gfortran_stop_string
Referenced in liblapack.a(xerbla.o)
ipo: warning #11021: unresolved _gfortran_concat_string
Referenced in liblapack.a(strtri.o)
Referenced in liblapack.a(dtrtri.o)
ipo: warning #11021: unresolved strmm_
Referenced in liblapack.a(strtri.o)
ipo: warning #11021: unresolved dtrmm_
Referenced in liblapack.a(dtrtri.o)
ipo: warning #11021: unresolved isamax_
Referenced in liblapack.a(sgetf2.o)
Referenced in liblapack.a(sgecon.o)
Referenced in liblapack.a(slacn2.o)
Referenced in liblapack.a(slatrs.o)
ipo: warning #11021: unresolved sger_
Referenced in liblapack.a(sgetf2.o)
ipo: warning #11021: unresolved sscal_
Referenced in liblapack.a(sgetf2.o)
Referenced in liblapack.a(strti2.o)
Referenced in liblapack.a(slatrs.o)
Referenced in liblapack.a(srscl.o)
ipo: warning #11021: unresolved idamax_
Referenced in liblapack.a(dgetf2.o)
Referenced in liblapack.a(dgecon.o)
Referenced in liblapack.a(dlacn2.o)
Referenced in liblapack.a(dlatrs.o)
ipo: warning #11021: unresolved dger_
Referenced in liblapack.a(dgetf2.o)
ipo: warning #11021: unresolved dscal_
Referenced in liblapack.a(dgetf2.o)
Referenced in liblapack.a(dtrti2.o)
Referenced in liblapack.a(dlatrs.o)
Referenced in liblapack.a(drscl.o)
ipo: warning #11021: unresolved scopy_
Referenced in liblapack.a(sgerfs.o)
Referenced in liblapack.a(slacn2.o)
ipo: warning #11021: unresolved saxpy_
Referenced in liblapack.a(sgerfs.o)
Referenced in liblapack.a(slatrs.o)
ipo: warning #11021: unresolved dcopy_
Referenced in liblapack.a(dgerfs.o)
Referenced in liblapack.a(dlacn2.o)
ipo: warning #11021: unresolved daxpy_
Referenced in liblapack.a(dgerfs.o)
Referenced in liblapack.a(dlatrs.o)
ipo: warning #11021: unresolved strmv_
Referenced in liblapack.a(strti2.o)
ipo: warning #11021: unresolved dtrmv_
Referenced in liblapack.a(dtrti2.o)
ipo: warning #11021: unresolved sasum_
Referenced in liblapack.a(slacn2.o)
Referenced in liblapack.a(slatrs.o)
ipo: warning #11021: unresolved strsv_
Referenced in liblapack.a(slatrs.o)
ipo: warning #11021: unresolved sdot_
Referenced in liblapack.a(slatrs.o)
ipo: warning #11021: unresolved dasum_
Referenced in liblapack.a(dlacn2.o)
Referenced in liblapack.a(dlatrs.o)
ipo: warning #11021: unresolved dtrsv_
Referenced in liblapack.a(dlatrs.o)
ipo: warning #11021: unresolved ddot_
Referenced in liblapack.a(dlatrs.o)
ipo: remark #11000: performing multi-file optimizations
ipo-1: remark #11006: generating object file /tmp/ipo_ifortJTXDUd1.o
ipo-2: remark #11006: generating object file /tmp/ipo_ifortJTXDUd2.o
ipo-3: remark #11006: generating object file /tmp/ipo_ifortJTXDUd3.o
ipo-4: remark #11006: generating object file /tmp/ipo_ifortJTXDUd4.o
IERROR_MODULE_ID_1451

fortcom: Severe: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
in file scalars.f90, line 1788, column 48

ipo-4: error #11005: multi-object compilation 3 returned error status 3
ifort: error #10014: problem during multi-file optimization compilation (code 3)
scons: *** [/home/lada/f/CLMM/bin/intel/release/CLMM] Error 3
scons: building terminated because of errors.

The indicated subroutine with the indicated line:

subroutine InitTemperatureProfile(TempIn)
real(KND),intent(out) :: TempIn(-1:,-1:)
integer :: SectionToUse(-1:ubound(TempIn,2))
integer :: section,nSections,s
integer :: i,j,k
real(KND) :: temp

nSections = size(TemperatureProfile%Sections)

if (nSections > 0) then

if (size(TemperatureProfile%Sections)>0) then
if (TemperatureProfile%Sections(1)%jump<=0) TemperatureProfile%Sections(1)%jump = temperature_ref
endif

TemperatureProfile%Sections(1)%height = TemperatureProfile%Sections(1)%top

do i = 2,nSections
if (TemperatureProfile%Sections(i)%top < TemperatureProfile%Sections(i-1)%top)&  !this is line 1788
TemperatureProfile%Sections(i)%top = TemperatureProfile%Sections(i-1)%top

TemperatureProfile%Sections(i)%height = TemperatureProfile%Sections(i)%top - TemperatureProfile%Sections(i-1)%top
enddo

if (TemperatureProfile%Sections(nSections)%top < zW(Prnz+2) )&
TemperatureProfile%Sections(nSections)%top = zW(Prnz+2)

section = 1

do k = -1, Prnz+2
do while (zPr(k) > TemperatureProfile%Sections(section)%top) !should be safe, because last top is adjusted above
section = section + 1
enddo
SectionToUse(k) = section
enddo

else

SectionToUse = 0

endif

do k=-1,Prnz+2

s = SectionToUse(k)

if (s==0) then

temp = temperature_ref

else

temp = 0

do i = 1, s-1
temp = temp + TemperatureProfile%Sections(i)%jump
temp = temp + TemperatureProfile%Sections(i)%height * TemperatureProfile%Sections(i)%gradient
enddo

temp = temp + TemperatureProfile%Sections(s)%jump

if (s>1) then
temp = temp + (zPr(k) - TemperatureProfile%Sections(s-1)%top) * TemperatureProfile%Sections(s)%gradient
else
temp = temp + zPr(k) * TemperatureProfile%Sections(s)%gradient
endif

endif

do j=-1,Prny+2
Tempin(j,k) = temp
enddo

enddo
end subroutine InitTemperatureProfile

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

Please provide a gzipped tar file with the sources and makefile, if any. You can attach it here or submit through Intel Premier Support.

Steve - Intel Developer Support

发表评论

登录添加评论。还不是成员?立即加入