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
  meaning of NCAP in a simple test model Enya 2 45 02-04-2025, 03:33 PM
Last Post: Antti-L
  Sync error when including international trade [email protected] 4 340 03-02-2025, 08:01 PM
Last Post: [email protected]
  Running TIMES model on linux HPC cluster LucasRM 7 3,022 21-01-2025, 11:13 PM
Last Post: AKanudia
  Demo model on CCS [email protected] 0 179 12-12-2024, 07:35 PM
Last Post: [email protected]
  VEDA2 fatal error (unexpected case sensitivity) Antti-L 2 510 30-08-2024, 10:49 PM
Last Post: Antti-L
  An error when I read JRC-EU-TIMES Lee 7 2,386 03-06-2024, 05:28 PM
Last Post: Lee
  Model geographical expansion stevenss 0 430 17-05-2024, 02:36 PM
Last Post: stevenss
  Generating _Trade_Links for multi-regional model kushagra 4 1,190 03-04-2024, 07:29 PM
Last Post: kushagra
  Error at line 904570: Equation infeasible due to rhs value frangb99 12 3,215 03-04-2024, 12:19 AM
Last Post: frangb99
  Model Infeasible Question VanessaDing 4 1,406 14-03-2024, 07:47 PM
Last Post: Antti-L

Forum Jump:


Users browsing this thread: 1 Guest(s)