|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Sat Mar 18, 2006 7:36 am Post subject: Problem with Namelist? |
|
|
Newbie to FFTN95, running XP home, Celeron M, 256 MB ram
I am receiving an error which I cannot decipher when compiling code.
same program successfully compiled previously with different compiler,
and no changes made subsequent.
I receive two clear/understandable warnings and then what looks like
machine code/assembly. the content of the error log is below.
appreciate any assistance
TIA
Dan
*******
myprogram.F(387) : warning 21 - Label 6010 is declared, but not used
myprogram.F(997) : warning 21 - Label 1350 is declared, but not used
Access violation:
The instruction at address 0047746c attempted to read from location
017cb6dc
00476ecc build_namelist_blocks(void) [+05a0] 00479aad
do_function_top(<ptr>structÄtree_record) [+1254] 0051c24e
code_generator(<ref>structÄtree_ptr) [+201a] 00416941
end_function(int) [+10f0] 00418730
parse_end_statement(<ptr>char,int,<ref>int) [+0b7b] 0041200b
handle_token(<ptr>char,int,int,int,int,<ref>int) [+0e56] 0040514d
ProcessEntireLine(void) [+0695] 0040619b compile(<ptr>char) [+00ce]
eax=00000001 ebx=00000003 ecx=017cb680
edx=047d3f28 esi=00000000 edi=00000001
ebp=0383f448 esp=0383ef94 IOPL=0
ds=0023 es=0023 fs=003b
gs=0000 cs=001b ss=0023
flgs=00210283 [CA OP NZ NS DN NV]
0360/2820 TSTK=5 [ ]
0047746c mov edx,[ecx+0x54+eax*8] 00477470 mov
[ebp-0xb0],edx
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Sat Mar 18, 2006 8:29 am Post subject: Problem with Namelist? |
|
|
Dan
I assume that you are using a namelist and my first guess would be that your code is not standard conforming. Having said this, FTN95 should have given a sensible error report before shutting down.
If you can post a short program that illustrates the problem then it should be a simple matter to isolate the bug(s). |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed Mar 22, 2006 11:27 am Post subject: Problem with Namelist? |
|
|
The program I am using is an old (legacy) application. It does not declare variables explicitly prior to the namelist statement. others have siad I need to do this otherwise the compiler makes assumptions (i-p are integers) and if it encounters a contrary definition it fails. I am assuming this is what is happening. the code does compile with compaq fortran, but these larger compilers have alot of tolerance for non-standard conventions.
dan |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|