Error reading .lst file

Archive of Gamsworld Google Group
Post Reply
Archiver
User
User
Posts: 7876
Joined: 2 years ago

Error reading .lst file

Post by Archiver » 5 years ago


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.



--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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.



Archiver
User
User
Posts: 7876
Joined: 2 years ago

RE: Error reading .lst file

Post by Archiver » 5 years ago


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.



From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Paul Van der Eijk
Sent: Wednesday, April 3, 2013 7:06 PM
To: gamsworld@googlegroups.com
Subject: Re: Error reading .lst file



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

On Sat, Mar 30, 2013 at 8:50 AM, Thanh Tung wrote:

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.



--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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: pvandereijk@gams.com
Web : http://www.gams.com

--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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.



--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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.



Archiver
User
User
Posts: 7876
Joined: 2 years ago

Re: Error reading .lst file

Post by Archiver » 5 years ago


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​


On Sat, Mar 30, 2013 at 8:50 PM, Thanh Tung wrote:

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.



--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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.




--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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.



Archiver
User
User
Posts: 7876
Joined: 2 years ago

Re: Error reading .lst file

Post by Archiver » 5 years ago


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

On Sat, Mar 30, 2013 at 8:50 AM, Thanh Tung wrote:

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.



--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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: pvandereijk@gams.com
Web : http://www.gams.com

--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@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.



betulkayisoglu
User
User
Posts: 4
Joined: 5 months ago

Re: Error reading .lst file

Post by betulkayisoglu » 3 months ago

Dear Paul,

I also have a similar problem just like 'Archiever'. At the end of the run I got an error massege saying 'Error reading listing file'

As you said I am using loops that result in a lot of output but eventhough I remove the display statement in the loop I got the same error massege.

You recommended to write data to a gdx file

How can I do this?

I searched to write output into a file and tried the below one

File results / results.txt /;
put results;
put "Connections" /;
loop((i,j),
put i.tl, j.tl, s.l(i,j) /
);
putclose;

However at the end of run no such a file is created.

Is there other ways to write my output?

Thanks...

Betül Kayışoğlu

Post Reply