replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 19 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Access Violation
MattMcD

Replies: 9
Views: 11460

PostForum: Support   Posted: Thu Apr 10, 2008 6:32 pm   Subject:
Problem seems to occur in files with two read subroutines not in a module.

Can't figure why it suddenly stopped, working but the cure seems to work so far for what ever reason, guess its good prac ...
  Topic: Access Violation
MattMcD

Replies: 9
Views: 11460

PostForum: Support   Posted: Wed Apr 09, 2008 12:47 pm   Subject:
I'll have a look through the assembler, not sure if I'll make much sense of it im afraid, or know how to fix it should I find something!

I'm afraid I don't have a backup for ftn95 software, have an ...
  Topic: Access Violation
MattMcD

Replies: 9
Views: 11460

PostForum: Support   Posted: Wed Apr 09, 2008 9:44 am   Subject:
I updated the executable, still no joy
Have tried to compile and run it on a couple of different machines now too.
Is there anything more I can do to debug it?
  Topic: Access Violation
MattMcD

Replies: 9
Views: 11460

PostForum: Support   Posted: Tue Apr 08, 2008 4:23 pm   Subject:
all of this is on Windows XP SP2

tried using inquire with a big list of arguments for more details too,
get the error in the same IOSTART__[+0214]

Conspicuously however it was trying to read fr ...
  Topic: Access Violation
MattMcD

Replies: 9
Views: 11460

PostForum: Support   Posted: Tue Apr 08, 2008 2:01 pm   Subject:
I can't remember exactly when, but I did update to 5.2.0 from 4.9.1, you've seen my other post recently on the forum (about allocating my arrays) .I updated the executable trying to fix one of the pro ...
  Topic: Access Violation
MattMcD

Replies: 9
Views: 11460

PostForum: Support   Posted: Tue Apr 08, 2008 12:51 pm   Subject:
I should describe some of the subroutines I guess, I use every day so forget...

lfdblk(block,rdunit,rdfile) is a function that reads the file looking for the string block, returns true if it is fou ...
  Topic: Access Violation
MattMcD

Replies: 9
Views: 11460

PostForum: Support   Posted: Tue Apr 08, 2008 12:42 pm   Subject: Access Violation
I have some code that used to work fine, and spontaneously stopped working

It is designed to read in a file

SUBROUTINE RDPD1( iyy )

USE utils
USE FUNCTIONS
INCLUDE ' ...
  Topic: allocateable array of integers / Ref through Null Pointer
MattMcD

Replies: 9
Views: 17616

PostForum: Support   Posted: Tue Apr 08, 2008 12:32 pm   Subject:
Using Nullify(array1) instead of deallocate(array1) seemed to do the trick

If allocatable and pointer are synonymous then should deallocate be synonymous (or incorporate) nullify?

No idea why it ...
  Topic: Allocation of variable length character arrays
MattMcD

Replies: 16
Views: 17165

PostForum: Support   Posted: Tue Apr 08, 2008 12:28 pm   Subject:
try using nullify(text_array) instead of deallocate
I think I had a similar problem and it worked for me!
  Topic: allocateable array of integers / Ref through Null Pointer
MattMcD

Replies: 9
Views: 17616

PostForum: Support   Posted: Wed Apr 02, 2008 11:02 am   Subject:
using the vars table before execution of the allocate statement reports that

array1 = integer * 4 (-2139062144:16843008)

which as far as my knowledge goes indicates that it is an array the size ...
  Topic: allocateable array of integers / Ref through Null Pointer
MattMcD

Replies: 9
Views: 17616

PostForum: Support   Posted: Wed Apr 02, 2008 10:57 am   Subject:
John,

use of

if (.not.allocated(array1))
allocate(array1(k))
else
deallocate(array1)
allocate(array1(k))
end if

was tested and didn't help

I haven't put in explicit check on k ...
  Topic: allocateable array of integers / Ref through Null Pointer
MattMcD

Replies: 9
Views: 17616

PostForum: Support   Posted: Wed Apr 02, 2008 9:54 am   Subject:
can I get an email address, its not in a simple program at all!
Don't think the boss would be very happy with me posting big chunks of real code up!
  Topic: allocateable array of integers / Ref through Null Pointer
MattMcD

Replies: 9
Views: 17616

PostForum: Support   Posted: Wed Apr 02, 2008 9:29 am   Subject:
well it turns out that k = 8 in this case incremented as expected,
I hope that an array of 8 integers is less than the heap size!

the code I posted was an over simplification, its in a read file ...
  Topic: allocateable array of integers / Ref through Null Pointer
MattMcD

Replies: 9
Views: 17616

PostForum: Support   Posted: Tue Apr 01, 2008 7:07 pm   Subject: allocateable array of integers / Ref through Null Pointer
I'm having an issue with the latest ftn95 5.2.1 which goes along the lines of "Error: Reference through NULL Fortran POINTER"

Module Mod_Name

integer,dimension(Smile,allocatable,save :: ...
  Topic: Error 410
MattMcD

Replies: 14
Views: 15412

PostForum: Support   Posted: Thu Sep 13, 2007 11:40 am   Subject:
Well I'm fairly sure I've built it correctly:
Removed all the existing object and module files
Used the makefile that works for the other files

What exactly constitutes I/O?
Read/Print/write?
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group