Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,452
    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!

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    4
    Yes I am running my octave on a linux cluster

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,452
    Quote Originally Posted by aaronw View Post
    Yes I am running my octave on a linux cluster
    So, what's the deal with the Sun Grid Engine? I'm not familiar with that software. I just assumed it was something for Solaris systems.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just 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?

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,452
    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!

  7. #7
    Just Joined!
    Join Date
    Sep 2010
    Posts
    4
    Good point didn't think about Oracle's support! I will ask them Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •