how to choose not to output lst file in Linux

Hi Ping,

There is a page on how to to supress/reduce output to the listing file in the GAMS Support Wiki: http://support.gams.com/gams:how_do_i_reduce_the_size_of_my_listing_.lst_file
To completely supress creation of the lst file you could run the trnsport example as follows (on a Windows machine):

gams trnsport o=Nul

Please note furthermore that running

gams trnsport  o myrun.lst

will NOT create trnsport.lst but myrun.lst.

I hope that helps!

Best,
Fred

Ping,

The example referred to Windows (I overlooked that you explicitly asked for a solution under Linux). However, under the Link I sent (http://support.gams.com/gams:how_do_i_reduce_the_size_of_my_listing_.lst_file) you can find the relevant information:
You can completely shut off output to the lst file from the GAMS model by sending it to NUL under Windows or to /dev/null on most Unix machines. To run a model completely quietly (i.e. without any output to the screen or to the log file), run:
Windows: gams trnsport o=nul lo=2 lf=nul or gams trnsport o=nul lo=0
Unix: gams trnsport o=/dev/null lo=2 lf=/dev/null or gams trnsport o=/dev/null lo=0