[FLASH-USERS] Compilation error

Latif latife at astro.rug.nl
Fri Jul 9 07:11:43 EDT 2010


Hi
Dear All,
I came across this problem while compiling FLASH3.2 with extra  flags 
"-check bounds -check format -check output_conversion -real_size 64 
-check uninit -traceback -fp-stack-check ". It gets us stuck for few 
minutes and i have kill it manually. Any idea why is it happening?
Cheers
Latif


/net/abdussalam/data/users/latife/Libraries/lib64/mpich2-1.0.8p1/MPICH/bin/mpif90 
-mcmodel=large -i-dynamic -c -O3 -r8 -i4 -vec-report0 -check bounds 
-check format -check output_conversion -real_size 64 -check uninit 
-traceback -fp-stack-check -I 
/net/abdussalam/data/users/latife/Libraries/lib64/mpich2-1.0.8p1/MPICH/include  
-DMAXBLOCKS=3000 -DNXB=8 -DNYB=8 -DNZB=8 -DN_DIM=3 IO_init.F90
*** glibc detected *** 
/net/abdussalam/data/users/latife/ifort/intel64//fce/10.1.017/bin/fortcom: 
malloc(): memory corruption: 0x3ae281f8 ***
======= Backtrace: =========
/lib/libc.so.6[0x2ab2dd]
/lib/libc.so.6(__libc_malloc+0x67)[0x2ace97]
/net/abdussalam/data/users/latife/ifort/intel64//fce/10.1.017/bin/fortcom[0x809bb8d]
======= Memory map: ========
00222000-0023d000 r-xp 00000000 fd:00 35291357                           
/lib/ld-2.5.so
0023d000-0023e000 r-xp 0001a000 fd:00 35291357                           
/lib/ld-2.5.so
0023e000-0023f000 rwxp 0001b000 fd:00 35291357                           
/lib/ld-2.5.so
00241000-00393000 r-xp 00000000 fd:00 35291148                           
/lib/libc-2.5.so
00393000-00395000 r-xp 00152000 fd:00 35291148                           
/lib/libc-2.5.so
00395000-00396000 rwxp 00154000 fd:00 35291148                           
/lib/libc-2.5.so
00396000-00399000 rwxp 00396000 00:00 0
0039b000-003c2000 r-xp 00000000 fd:00 35291162                           
/lib/libm-2.5.so
003c2000-003c3000 r-xp 00026000 fd:00 35291162                           
/lib/libm-2.5.so
003c3000-003c4000 rwxp 00027000 fd:00 35291162                           
/lib/libm-2.5.so
003c6000-003c9000 r-xp 00000000 fd:00 35291185                           
/lib/libdl-2.5.so
003c9000-003ca000 r-xp 00002000 fd:00 35291185                           
/lib/libdl-2.5.so
003ca000-003cb000 rwxp 00003000 fd:00 35291185                           
/lib/libdl-2.5.so
003f0000-003fb000 r-xp 00000000 fd:00 35291164                           
/lib/libgcc_s-4.1.2-20080825.so.1
003fb000-003fc000 rwxp 0000a000 fd:00 35291164                           
/lib/libgcc_s-4.1.2-20080825.so.1
08048000-08eb8000 r-xp 00000000 08:11 43455510                           
/net/abdussalam/data/users/latife/ifort/intel64/fce/10.1.017/bin/fortcom
08eb8000-09024000 rwxp 00e70000 08:11 43455510                           
/net/abdussalam/data/users/latife/ifort/intel64/fce/10.1.017/bin/fortcom
09024000-094a2000 rwxp 09024000 00:00 0
0a724000-4a5c8000 rwxp 0a724000 00:00 0                                  
[heap]
e3c00000-e3c21000 rwxp e3c00000 00:00 0
e3c21000-e3d00000 ---p e3c21000 00:00 0
e3d11000-f793a000 rwxp e3d11000 00:00 0
f7983000-f7e8b000 rwxp f7983000 00:00 0
f7e8b000-f7f3a000 r-xp 00000000 fd:00 10755853                           
/usr/lib/libstdc++.so.5.0.7
f7f3a000-f7f3f000 rwxp 000ae000 fd:00 10755853                           
/usr/lib/libstdc++.so.5.0.7
f7f3f000-f7f44000 rwxp f7f3f000 00:00 0
f7f76000-f7f79000 rwxp f7f76000 00:00 0
ff527000-ffb4a000 rwxp 7fffff9dc000 00:00 0                              
[stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0
make: *** Deleting file `gr_hgProlongBndries.o'
make: *** [gr_hgProlongBndries.o] Error 2

I found following error while running on high memory machine with same 
environment.

/net/abdussalam/data/users/latife/Libraries/lib64/mpich2-1.0.8p1/MPICH/bin/mpif90 
-mcmodel=large -i-dynamic -c -O3 -r8 -i4 -vec-report0 -check bounds 
-check format -check output_conversion -real_size 64 -check uninit 
-traceback -fp-stack-check -I 
/net/abdussalam/data/users/latife/Libraries/lib64/mpich2-1.0.8p1/MPICH/include  
-DMAXBLOCKS=3000 -DNXB=8 -DNYB=8 -DNZB=8 -DN_DIM=3 IO_init.F90
fortcom: Severe: **Internal compiler error: segmentation violation 
signal raised** 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 gr_hgProlongBndries.F90 (code 3)
make: *** [gr_hgProlongBndries.o] Error 3




More information about the flash-users mailing list