Security policies interference

Frequently asked questions about GAMS

Moderator: aileen

Forum rules
Please ask questions in the other sub-forums
Locked
abhosekar
Moderator
Moderator
Posts: 295
Joined: 3 years ago

Security policies interference

Post by abhosekar »

Q - “When I call GAMS the model compiles and calls the solver but the call fails and returns error code 13, System Failure. This happens with all solvers”

It almost sounds like GAMS is not allowed to execute a CMD script (that's what we do by default when GAMS runs a solver). One possibility is that the system security policies prevent running CMD scripts. You can verify this by running a model with a different “solvelink” setting (which runs the solver without going through a script): add solvelink=2 (starting from GAMS 32, this is the default) to the GAMS command line and see if the solver gets correctly executed. If this works, you might want to get together with your system admin and see if the security policy can be changed to allow you the execution of CMD scripts, or you can experiment with the solvelink option 2 (call the solver executable directly) and 5 (call the solver in memory).

Another possibility is that the interference is due to the virus scanner.
Locked