Date: Mon, 11 Aug 1997 16:24:08 +0200 From: Hans-Bernhard Broeker Subject: Re: djgpp vs lahey fortran To: leest96 AT dong DOT snu DOT ac DOT kr (Lee, Sung-Tae) Cc: djgpp AT delorie DOT com Message-id: <01IMBIU9ALBK8WVYK0@mail> Organization: RWTH Aachen, III. physikalisches Institut B Content-transfer-encoding: 7BIT Newsgroups: comp.os.msdos.djgpp Precedence: bulk In article <33EECB6E DOT 31471B8F AT dong DOT snu DOT ac DOT kr> you wrote: > > > What I want is ability of 'djgpp' in terms of Memory treatment > > compared > > > with 'Lahey Fortran'. [...] > > > Program made by Lahey fortan can use as large memory as possible. [...] > > > Trouble I have is I can't port my code in workstation to PC. [...] > Error message follows: > Exiting due to signal SIGFPE > Floating Point exception at eip=0000718f > eax=000505a3 ebx=ffd67404 ecx=0000001c edx=ffd65404 esi=00056934 > edi=000169d0 > ebp=0005689c esp=00056830 program=E:\SUNG-TAE\[unreadable korean]\FVM.EXE > cs: sel=00af base=842a3000 limit=ffd79fff > ds: sel=00b7 base=842a3000 limit=ffd79fff > es: sel=00b7 base=842a3000 limit=ffd79fff > fs: sel=0087 base=00011250 limit=0000ffff > gs: sel=00c7 base=00000000 limit=ffffffff > ss: sel=00b7 base=842a3000 limit=ffd79fff > Call frame traceback EIPs: > 0x0000718f > 0x00002478 > 0x00001c62 > 0x0000a7da This error message indicates quite clearly that memory is *not* your problem with this program. 'SIGFPE' (which you should recognize, if you have ever programmed on a Unix box for numerical applications) means: 'SIGnal: Floating Point Exception', i.e.: you've done something illegal with floating point numbers. You'll need to debug your program to find the exact reason. If you're used to debugging under Unix, you'll probably want to choose 'gdb' as your debugger. HBB