Wednesday, March 2, 2011

Submitting jobs to maui

For submitting jobs from the computing element
  • Login as a user different of 'root'. In particular, when a computing element has been deployed with the OCD-gLite, it comes with a lot of user. Try 'ceta000'.
  • Create a basic bash script
    #!/bin/bash
    /bin/hostname
    Change its permissions as follows "chmod +x script.sh"; assuming that the script has been named as 'script.sh'
  • Submit the job, executing 'qsub -q ceta script.sh'. '-q ceta' indicates that this job would be enqueued to one queue named 'ceta'. 
  • If everything works as it is expected, a file called 'script.sh.o0' must contain something. ;-)
This notes were taken during my stay at CETA-CIEMAT and the information provided here is only relevant for usage scenarios experimented there.

No comments: