Friday, August 27, 2010

【SGE】 Using Sun Grid Engine (SGE) in Rocks


  • To submit a serial program filename.out to SGE,

    Step 1. Make a sh file (call it "filename_sh.sh"), which contains:
    #!/bin/bash
    #
    #$ -cwd
    #$ -j y
    #$ -S /bin/bash
    #
    ./filename.out


    Step 2. Then, input the following in the command line:
    $ qsub filename_sh.sh

    In this case, output files are saved in the current folder. Messages displayed in the terminal in usual case are saved in "filename_sh.sh.ox" file.


  • To delete a job (let "id" denote the corresponding job ID) submitted but not being executed, command the following:
    $ qdel id


  • To delete a job (let "id" denote the corresponding job ID) being executed, command the following:
    $ qdel -k id

No comments:

Post a Comment