I need to submit octave jobs through sun grid engine which I am not so familiar with. More than that I, the jobs need to be started by a shell script file. Can someone tell me the right way to use the qsub command in sun grid engine to start my job. I thought it would be something like qsub ./run_octave myfile.m run_octave is the shell script I wrote listed below
#!/bin/sh -f FILE=$1 LGFL=`echo $FILE | sed 's/.$//' | sed 's/.$//'` echo "Running -> " $FILE echo "Matlab Output -> " $LGFL".log" nohup Octave -q < $FILE >& $LGFL".log" & echo "Command Started" It doesn't seem to work though. Also after job started, how can I check which .m file is running? qstat seems to only describe the job as run_octave. Thanks -- View this message in context: http://old.nabble.com/submitting-jobs-through-grid-engine-tp29647222p29647222.html Sent from the octave-dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev