table overflow error on NEEShub interpreter

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
karimtarbali
Posts: 82
Joined: Fri Aug 14, 2009 12:11 am
Location: iiees

table overflow error on NEEShub interpreter

Post by karimtarbali »

Hi
i run a file in NEEShub interpreter and the results of the analysis has lots of out put in each step of the analysis, which i "puts" them into a text file. but in the middle of the analysis this error appears :
fileName.txt table overflow

and every time for different file this error happens,
in my computer no such an error appears. i suppose the capacity of the file is limited in NEEShub.
is this possible ??

could you please help me with this.

thanks
kt
karimtarbali
Posts: 82
Joined: Fri Aug 14, 2009 12:11 am
Location: iiees

Re: table overflow error on NEEShub interpreter

Post by karimtarbali »

i was leaving open, the file that i have opened for read. then i was opening it again for write. so the interpreter was getting confused after a few times of opening the file and not closing it,
so the error "table overflow for ?filename" was appearing.

the error was fixed by closing the file after reading or writing . for example :

set dir [open file.txt r]
set g [read $dir]
close $dir

set dir [open file.txt a] or set dir [open file.txt w]
puts $dir "$xxx"
close $dir

thank god i it got fixed
kt
karimtarbali
Posts: 82
Joined: Fri Aug 14, 2009 12:11 am
Location: iiees

Re: table overflow error on NEEShub interpreter

Post by karimtarbali »

there are a limit for the number of the files that can be leaved open in the NEEShub interpreter. so the files should not be open unnecessarily
kt
Post Reply