- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm getting an ICE when compiling a module:
[bash]ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -fpp -warn all -fpp -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -FR -c -o mod_instance.o `test -f 'src2/mod_instance.f90' || echo '../'`src2/mod_instance.f90 ../src2/mod_instance.f90(16): error #6404: This name does not have a type, and must have an explicit type. [RTP] CONTAINS ^ (46): catastrophic error: Internal Compiler Error: possible out of order or missing USE compilation aborted for ../src2/mod_instance.f90 (code 1) make: *** [mod_instance.o] Error 1 [/bash]
The strange thing is that RTP is not part of this module - it is a derived type defined a module USEd by a module which is USEd by the one which I can't compile.
I have attached the source files, and here are the commands I use to compile them:
[bash]if gcc -DPACKAGE_NAME=\"Frealix\" -DPACKAGE_TARNAME=\"frealix\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"Frealix\ 0.1\" -DPACKAGE_BUGREPORT=\"rohou@brandeis.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"frealix\" -DVERSION=\"0.1\" -I. -I.. -g -O2 -MT ioc.o -MD -MP -MF ".deps/ioc.Tpo" -c -o ioc.o `test -f 'src/ioc.c' || echo '../'`src/ioc.c; \ then mv -f ".deps/ioc.Tpo" ".deps/ioc.Po"; else rm -f ".deps/ioc.Tpo"; exit 1; fi ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -warn all -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -c -o iof.o `test -f 'src/iof.f' || echo '../'`src/iof.f ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -warn all -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -c -o calcsinc.o `test -f 'src/calcsinc.f' || echo '../'`src/calcsinc.f ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -warn all -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -c -o boxft_lut.o `test -f 'src/boxft_lut.f' || echo '../'`src/boxft_lut.f ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -fpp -warn all -fpp -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -FR -c -o runtime_parameters.o `test -f 'src2/runtime_parameters.f90' || echo '../'`src2/runtime_parameters.f90 ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -fpp -warn all -fpp -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -FR -c -o parsers.o `test -f 'src2/parsers.f90' || echo '../'`src2/parsers.f90 ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -fpp -warn all -fpp -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -FR -c -o ui.o `test -f 'src2/ui.f90' || echo '../'`src2/ui.f90 ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -fpp -warn all -fpp -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -FR -c -o mod_rtp.o `test -f 'src2/mod_rtp.f90' || echo '../'`src2/mod_rtp.f90 ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -fpp -warn all -fpp -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -FR -c -o mod_mode.o `test -f 'src2/mod_mode.f90' || echo '../'`src2/mod_mode.f90 ifort -I. -Isrc/ -Isrc2/ -I/gusr/alr99/linux/apps/include/ifort -fpp -warn all -fpp -gen-interfaces -static -warn notruncated_source -assume realloc_lhs -heap-arrays -openmp -O3 -pg -FR -c -o mod_instance.o `test -f 'src2/mod_instance.f90' || echo '../'`src2/mod_instance.f90[/bash]
This is with ifort 11.1.064.
Any comments welcome
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - we'll take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can reproduce this and have escalated it to the developers. The issue ID is DPD200150589.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I expect the fix for this problem to appear in Update 6, scheduled for April.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, while Update 6 fixes the ICE, the compiler gives an inappropriate error for this source. I have reopened the issue with the developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This last problem is fixed in version 12 (Composer XE 2011), available now.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page