PrepareJob

From BIOcrunch
Revision as of 17:46, 13 July 2014 by WikiSysop (Talk | contribs)

Jump to: navigation, search

Always prepare your jobs fir on your local machine and follow for each job some guidelines.

name your job file and your data files in a consistent way job file: myjobfile.sh User: gerhard email: gerhard@recher.de

you may use this as a template for Beast simply change all occurrences of "myjobfile" to your actual project name. also change User and email to your settings.

example:

  1. #!/bin/csh
  2. #
  3. # Which account to be charged cpu time
  4. #$ -A gerhard
  5. #
  6. #
  7. # If you want to make it queue now, get rid of the -a option by adding ## before $
  8. # If you want to make it queue later, use this format [[CC]yy]MMDDhhmm[.SS]
  9. ##$ -a 201407300600
  10. #
  11. #
  12. # Send mail to these users
  13. #$ -M gerhard@recher.de
  14. #
  15. # Mail at beginning/end/on suspension
  16. #$ -m bes
  17. #
  18. # Export these environmental variables
  19. #$ -v PVM_ROOT,LD_LIBRARY_PATH=/share/apps/beaglenew
  20. #
  21. # The job is located in the current
  22. # working directory.
  23. #$ -cwd
  24. #$ -o myjobfile.out
  25. #$ -e myjobfile.err
  26. #
  27. env >./xenv
  28. /share/apps/beast180/bin/beast -beagle -beagle_CPU -beagle_instances $NSLOTS -overwrite ./myjobfile.xml > ./myjobfile.out
Personal tools
Namespaces

Variants
Actions
Navigation
Tools