Fortran-FOSS-Programmers / FOODIE

Fortran Object-Oriented Differential-equations Integration Environment, FOODIE
127 stars 30 forks source link

foodie_integrator_leapfrog.f90 does not compile with ifort 15.0.0 #22

Closed milancurcic closed 9 years ago

milancurcic commented 9 years ago

foodie_integrator_leapfrog.f90 fails to compile with Intel Fortran compiler 15.0.0 with an internal compiler error:

$ make foodie
make FC=ifort FCFLAGS="-cpp -g -O0 -C -traceback -assume realloc_lhs" --directory=src/lib
make[1]: Entering directory `/home/milan/FOODiE/src/lib'
ln -sfv ../../external/pyplot-fortran/src/pyplot_module.f90 .
‘./pyplot_module.f90’ -> ‘../../external/pyplot-fortran/src/pyplot_module.f90’
make foodie
make[2]: Entering directory `/home/milan/FOODiE/src/lib'
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_kinds.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs type_integrand.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_adams_bashforth.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_adams_moulton.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_adams_bashforth_moulton.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_euler_explicit.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_leapfrog.f90
foodie_integrator_leapfrog.f90(100): catastrophic error: **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.
compilation aborted for foodie_integrator_leapfrog.f90 (code 1)

Can anybody try to reproduce this with a later version? I am on a x86-64 linux.

szaghi commented 9 years ago

Hi @milancurcic

I am sorry but with my Intel Fortran 15.03 (on a Arch Linux 4.2.2-1-ARCH #1 SMP PREEMPT Tue Sep 29 22:21:33 CEST 2015 x86_64 GNU/Linux) I compile the library successfully:

stefano@zaghi(09:16 AM Mon Oct 12) on develop [!]
~/fortran/FOODiE 17 files, 132Kb
→ make foodie 
make FC=ifort FCFLAGS="-cpp -g -O0 -C -traceback -assume realloc_lhs" --directory=src/lib
make[1]: Entering directory '/home/stefano/fortran/FOODiE/src/lib'
ln -sfv ../../external/pyplot-fortran/src/pyplot_module.f90 .
‘./pyplot_module.f90’ -> ‘../../external/pyplot-fortran/src/pyplot_module.f90’
make foodie
make[2]: Entering directory '/home/stefano/fortran/FOODiE/src/lib'
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_kinds.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs pyplot_module.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs type_integrand.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_adams_bashforth.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_adams_moulton.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_euler_explicit.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_leapfrog.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_low_storage_runge_kutta.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_tvd_runge_kutta.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie_integrator_adams_bashforth_moulton.f90
ifort -c -cpp -g -O0 -C -traceback -assume realloc_lhs foodie.f90
make[2]: Leaving directory '/home/stefano/fortran/FOODiE/src/lib'
ar ruv libfoodie.a type_integrand.o foodie_integrator_adams_bashforth.o foodie_integrator_adams_bashforth_moulton.o foodie_integrator_adams_moulton.o foodie_integrator_euler_explicit.o foodie_integrator_leapfrog.o foodie_integrator_low_storage_runge_kutta.o foodie_integrator_tvd_runge_kutta.o foodie_kinds.o pyplot_module.o
ar: `u' modifier ignored since `D' is the default (see `U')
ar: creating libfoodie.a
a - type_integrand.o
a - foodie_integrator_adams_bashforth.o
a - foodie_integrator_adams_bashforth_moulton.o
a - foodie_integrator_adams_moulton.o
a - foodie_integrator_euler_explicit.o
a - foodie_integrator_leapfrog.o
a - foodie_integrator_low_storage_runge_kutta.o
a - foodie_integrator_tvd_runge_kutta.o
a - foodie_kinds.o
a - pyplot_module.o
make[1]: Leaving directory '/home/stefano/fortran/FOODiE/src/lib'
milancurcic commented 9 years ago

OK, good to know, probably some issue that was resolved with a later patch release.