Need help on how to use sun grid engine
Hi
I am a newb on linux and I really need some help on how to get my job submitted through sun grid engine.
This is the script I need to submit
#!/bin/sh -f
FILE=$1
LGFL=`echo $FILE | sed 's/.$//' | sed 's/.$//'`
echo "Running -> " $FILE
echo "Octave Output -> " $LGFL".log"
nohup /home/guol2/octave-3.2.4/run-octave -q < $FILE >& $LGFL".log" &
echo "Command Started"
It basically stats Octave and run a file I typed after. So if I need to submit it through sun grid engine
how would I type it in command line or how should I do it in the sun grid engine control panel
I tried qsub -o <my path> -e <my path> run_octave Myfile.m (Myfile.m is the file I need to run)
Obviously it didn't work. So please help me out here