Studio runs when first opened but then gives an error

Post Reply
Rob Davies
User
User
Posts: 25
Joined: 3 years ago

Studio runs when first opened but then gives an error

Post by Rob Davies »

When I run a model in Studio after I have just opened it the process log shows normal completion.
But when I next run it I get the error message:

gams: **** Error: Parameter error(s)
: Reading parameter(s) from "command line"
: *** Error Cannot open parameter file "."
: *** Error Error code = 13; Permission denied
: Finished reading from "command line"
: *** Error command line = I "C:\Users\Rob Davies\Downloads\D-drive\AMODELS\IFPRI-Standard-CGE-2-1\1CGEmod2-1.gms" logoption=3 ide=1 errorlog=99 errmsg=1 pagesize=0 lstTitleleftaligned=1 pf="."

If I close and reopen, I can run it once.
Rob
Online
User avatar
bussieck
Moderator
Moderator
Posts: 1042
Joined: 7 years ago

Re: Studio runs when first opened but then gives an error

Post by bussieck »

Rob,

Studio adds a couple of parameters to the GAMS command line. Obviously, the last one pf="." is wrong. pf points to a GAMS parameter file with more command line options. Studio recently introduced the "GAMS Parameter File" feature, see https://www.gams.com/latest/docs/T_STUD ... METER_FILE. I assume something goes wrong here. If the problem continues with the latest version GAMS 44, please contact support@gams.com with a way to reproduce the problem.

-Michael
Rob Davies
User
User
Posts: 25
Joined: 3 years ago

Re: Studio runs when first opened but then gives an error

Post by Rob Davies »

Thank you, Michael.
I thought that it was something like that. It has not been occurring under 44, so there is no point worrying about it further. I will let you know if it happens again.
Much appreciated
Rob
Post Reply