User Tools

Site Tools


platform:redirecting_solver_output_under_unix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

platform:redirecting_solver_output_under_unix [2007/05/09 12:17] (current)
Line 1: Line 1:
 +====== 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://
 +<​code>​
 +*** Open logfile error: (R=0) FN="/​dev/​tty"​
 +*** Msg=Success
 +*** Logging to standard output </​code>​
  
 +//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)