MUD - Michael's Utilities for Docking: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
==Job Control==
==Job Control==
    
    
*Submit a job to the cluser
*Main Workflow
Similar to startdockbksX, but records job submission
#Submit a parallel job to the cluser
  $mud/submit.csh
  $mud/submit.csh
*Check job status
Uses 'dirlist' to determine which directories to run. Similar to startdockbksX, but also indicates job submission by touching a submitted file in each directory.
#Check parallel job status
  $mud/check.py
  $mud/check.py
*Restart failed subjobs
Indicates the status of unfinished (or unsubmitted) jobs. Note that it simply returns nothing if everything is finished.
#Restart all failed subjobs
  $mud/restart.py
  $mud/restart.py
This works even if some subjobs are still running. Occasionally, however, jobs fail with no detectable remnants. To force those jobs to restart you can use the -f option, but beware that this will also restart all subjobs that are still running.
This works even if some subjobs are still running. Occasionally, however, jobs can fail with no detectable remnants. To force those jobs to restart you can use the -f option, but beware that this will also restart all subjobs that are still running.
 
Other more specialized commands
*Submit a single directory to the cluster
$mud/subsge_single.csh
*Submit a single directory to the local machine
$mud/sublocal.csh
*Remove docking output leaving only input - will even DELETE finished jobs
$mud/clean.py
*Restart single directory
$mud/restartdir.py
 
==Job Analysis==

Revision as of 08:39, 29 October 2008

What's in MUD?

  • Tools to start, check, and restart dock jobs
  • Tools to combine, enrich, plot, and view docking results

Setting up MUD

  • For convenience, point a shell variable to the base mud directory to save typing
set mud=~mysinger/code/mud/trunk
  • If you use MUD a lot, you can add this to your ~/.login
  • Then simply run commands like this:
$mud/submit.csh
$mud/check.py -h
  • Use -h or --help to get full help information for the .py (python) scripts
  • The .csh scripts will automatically print usage information if mis-used

Job Control

  • Main Workflow
  1. Submit a parallel job to the cluser
$mud/submit.csh

Uses 'dirlist' to determine which directories to run. Similar to startdockbksX, but also indicates job submission by touching a submitted file in each directory.

  1. Check parallel job status
$mud/check.py

Indicates the status of unfinished (or unsubmitted) jobs. Note that it simply returns nothing if everything is finished.

  1. Restart all failed subjobs
$mud/restart.py

This works even if some subjobs are still running. Occasionally, however, jobs can fail with no detectable remnants. To force those jobs to restart you can use the -f option, but beware that this will also restart all subjobs that are still running.

Other more specialized commands

  • Submit a single directory to the cluster
$mud/subsge_single.csh
  • Submit a single directory to the local machine
$mud/sublocal.csh
  • Remove docking output leaving only input - will even DELETE finished jobs
$mud/clean.py
  • Restart single directory
$mud/restartdir.py

Job Analysis