Veda2.0 Released!


Unexpected error in model run
#1
Hi all,

Recently I installed GAMS and Veda on a new laptop and when running the model it did not work. GAMS generates the model but then when it is turn to run the CPLEX it gives an error "Access is denied" Does anyone know why this happens? 

Please see the attached screenshot from the run.

Thank you,
Bakytzhan


Attached Files Thumbnail(s)
   
Reply
#2
I think the error code 5 is probably coming from the operating system.
That code usually signifies insufficient privileges for the file system. You need to check full access is granted to your user account for the VEDA folder and its subfolders. So, if you had installed VEDA by using a different (administrative) account and didn't make sure your normal account has full access to the folder, that could be one possible reason.

Looking at your console log suggests to me the error might be related to the creation of the GAMS scratch directory (which is normally under the work folder), which is getting blocked.

Another possibility is your malware detection software, which might be blocking GAMS when it launches the solver. If the problem persists, I would suggest to contact your IT support.
[+] 2 users Like Antti-L's post
Reply
#3
(08-07-2024, 11:58 PM)Antti-L Wrote: I think the error code 5 is probably coming from the operating system.
That code usually signifies insufficient privileges for the file system. You need to check full access is granted to your user account for the VEDA folder and its subfolders. So, if you had installed VEDA by using a different (administrative) account and didn't make sure your normal account has full access to the folder, that could be one possible reason.

Looking at your console log suggests to me the error might be related to the creation of the GAMS scratch directory (which is normally under the work folder), which is getting blocked.

Another possibility is your malware detection software, which might be blocking GAMS when it launches the solver. If the problem persists, I would suggest to contact your IT support.

Thanks a lot, Antti.

Indeed it was some operation system error. After multiple restarts, it started running normally.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error 170: Domain violation for element in syssettings kushagra 7 522 15-01-2026, 06:26 PM
Last Post: Antti-L
  Unexpected ObjZ discrepancy in single-year model (DEMOS_012, G_DYEAR = 2005) KristofferEML 6 450 16-12-2025, 04:40 PM
Last Post: KristofferEML
  Fatal Error Anuradha 2 268 20-09-2025, 08:31 PM
Last Post: Anuradha
  Subject: How to prevent VEDA from generating vd-files during model runs? KristofferEML 4 792 22-08-2025, 11:48 AM
Last Post: KristofferEML
  Error 170 Domain violation for element BrageAG 14 13,268 01-07-2025, 06:18 PM
Last Post: AKanudia
  How to speed up model generation? lbtermansen 11 1,840 09-06-2025, 03:21 PM
Last Post: Antti-L
  Issues in Scaling the Model Anuradha 14 3,245 29-04-2025, 09:10 PM
Last Post: Anuradha
  meaning of NCAP in a simple test model Enya 2 787 02-04-2025, 03:33 PM
Last Post: Antti-L
  Sync error when including international trade xiao.li8@mcgill.ca 4 1,493 03-02-2025, 08:01 PM
Last Post: xiao.li8@mcgill.ca
  Running TIMES model on linux HPC cluster LucasRM 7 9,353 21-01-2025, 11:13 PM
Last Post: AKanudia

Forum Jump:


Users browsing this thread: 1 Guest(s)