wiki:WikiStart

Welcome to disparm

What is disparm

Disparm is a tool to manage large number of tasks, mostly started in jobs. Tasks ask disparm for a command line. Disparm takes care that lines that are committed, will not be committed again, unless the user specifically requires to re-commit lines.

Typical usage

  • The user fills a pool with lines, consisting of parameters that are to be used by a program.
  • In a job: as many tasks as there are cores are started in parallel.
  • Each task asks disparm a line: disparm will give each task another line.
  • The task executes the required command using the line as parameter.
  • The task tells disparm that this line is now invalidated, it must not be committed ever again.

Disparm is not server-based

Disparm is not based on a server, but works with files in the (NFS-mounted) HOME file system. File locking is based on the atomicity of creating links.

Licence

Apache 2.0 2004

Download and install

svn co https://oss.trac.surfsara.nl/disparm/svn disparm
cd disparm/trunk
# edit the script makeit to your taste
./makeit

After succesfull compilation, there are:

  • disparmcmd, the program
  • a script makefunction that creates a shell function called disparm. This shell function is normally used when invoking the program. It takes care of setting environment variables.
  • a man page: disparm.1 which describes the usage, also containing an example.
  • modulefile: an example of a modulefile to activate the disparm command. (Only useful if you use modules, but otherwise, it illustrates how to create a suitable alias (called disparm)) for the C-shell

More documentation

We have more ‚Äčuser documentation on SURFsara's website.

Last modified 4 years ago Last modified on 01/31/13 14:06:14