Results 1 to 7 of 7
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 ...
- 09-14-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 4
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
- 09-15-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
So, are you running the octave computational engine on a cluster of Linux systems, or Solaris/SunOS hardware?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-15-2010 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 4
Yes I am running my octave on a linux cluster
- 09-15-2010 #4
- 09-16-2010 #5Just Joined!
- Join Date
- Sep 2010
- Posts
- 4
I just got no experience on linux programming. All the instructions I read about sun grid engine were teaching you how to submit shell script jobs or program job. But I need to submit this shell scirpt that starts a .m file.
biowiki.org/SunGridEngineExamples
This is one of the links I found dat might be hepful, but I have no idea how to change it into something I can use.
How do change it into a script file that opens octave then allow me input the .m file I need to run then submit it through sun grid engine?
- 09-16-2010 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Shouldn't you be asking Sun/Oracle's Grid Engine support forums for this sort of help? Have you looked on their site for documentation? What about man pages?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-16-2010 #7Just Joined!
- Join Date
- Sep 2010
- Posts
- 4
Good point didn't think about Oracle's support! I will ask them Thanks


Reply With Quote
