Error reading .lst file

416 views
Skip to first unread message

Thanh Tung

unread,
Mar 30, 2013, 8:50:03 AM3/30/13
to gams...@googlegroups.com

Dear GAMS experts,

After running a large set of data, I have got the error “Error = Error 0: The operation completed successfully” and can’t open .lst file. Then, from the new window of Gamside, I have tried to open that .lst file again and got error: “Access violation at address 006E5D38 in module ‘gamside.exe’. Read of address 00000356”.

My .lst file is more than 2.9Gb.

Please give me your advices. Thank you very much.

Diep Thanh Tung.

 

Tavallali

unread,
Apr 3, 2013, 11:39:25 AM4/3/13
to gamsworld
Dear Tung

That may happen when you have a large input file. If that is the same for you, use $offlisting and $onlisting to stop writing the LARGE input parameters to the listing file. These keywords should appear just before and after the targeted part, respectively.

If that does not work, adding other commands such as $offecho or MODEL_NAME.limcol = 0;   MODEL_NAME.limrow =0 might be helpful.

I hope that helps.
-----
      محمد صادق تولّلی
 
Mohammad Sadegh Tavallali
​National University of Singapore​


--
You received this message because you are subscribed to the Google Groups "gamsworld" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Paul Van der Eijk

unread,
Apr 3, 2013, 12:06:01 PM4/3/13
to gams...@googlegroups.com
Hi,

Are you using a Display statement inside a loop?
That can result in a lot of output.

At the end of your run, you can write your data to a gdx file
and view the gdx file inside the gamside.

--Paul

--
You received this message because you are subscribed to the Google Groups "gamsworld" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Paul van der Eijk
GAMS Development Corporation
Tel  : (202) 342-0180  Fax  : (202) 342-0181
Email: pvand...@gams.com  
Web : http://www.gams.com

Thanh Tung

unread,
Apr 3, 2013, 11:36:38 AM4/3/13
to gams...@googlegroups.com

Hi Paul, Hi Tavallali,

Thank you so much for your replies. You’re right, I have other large inputs including more than 10.000 observations and the .lst file is nearly 10Gb. GAMS runs well until the end and it cannot show .lst file because of the large file (I think so).Alternatively I tried to use LTF software for showing large .txt file from gamsdir folder saved, and it’s good.

However, I think your suggestions for using $offlisting and $onlisting, or write a gdx file may be better solutions. I am going to try both.

Again, thank you for your useful helps,

Tung.

Reply all
Reply to author
Forward
0 new messages