User Tools

Site Tools


Redirecting solver output under Unix

Q: I use ssh to launch the command remotely (without login). Everything works fine, but I don't see the cplex output messages. The error messages says:

*** Open logfile error: (R=0) FN="/dev/tty"
*** Msg=Success
*** Logging to standard output 

With an interactive session, I get the cplex messages without problems.

By default GAMS wants to write to the console (/dev/tty) which does not exist for remote execution. The solution would be to log to stdout. You do that by adding parameter LogOption=3 (or short lo=3) to the GAMS command line.

IMPRESSUM / LEGAL NOTICEPRIVACY POLICY platform/redirecting_solver_output_under_unix.txt · Last modified: 2007/05/09 12:17 (external edit)