I have a bash script that calls an executable (some commercial software) in "batch mode". On the commandline, if X is available the program runs to completion and then quits, but if not the program hangs. I think this because:
- It works over VNC
- It doesn't work over ssh if
ssh -Xhas not been specified.
- It works over ssh if -X has been specified
- It doesn't work with Grid Engine. When I qsub the script it just stays on status 'r' indefinitely and I cannot see any output in the .sh.o.XXX or .sh.e.XXX files
The upshot is, I want to submit this script to Grid Engine, but I can't!
The program never asks for user input when in the so-called "batch mode".
Is there some way to provide an X environment in Grid Engine, just to allow the program to complete on its own? I guess one problem is that, since I cannot see the source code, it is difficult to see exactly what the program is asking for.