setupparmdb

*Master Side of the recipe *

class lofarpipe.recipes.master.setupparmdb.setupparmdb

Create a distributed parameter database (ParmDB) for a distributed Measurement set (MS).

  1. Create a parmdb template at the master side of the recipe
  2. Call node side of recipe with template and possible targets
  3. Validate performance, cleanup of temp files, construct output

Command line arguments

  1. A mapfile describing the data to be processed.
  2. A mapfile with output location (If provide input and output are validated)

Recipe inputs

Parameters:
  • executable(ExecField) Full path to parmdbm executable (ExecField)
  • mapfile(StringField) Full path of mapfile to produce; it will contain a list of the generated empty parameter database files (StringField)
  • nproc(IntField) Maximum number of simultaneous processes per compute node (IntField)
  • suffix(StringField) Suffix of the table name of the empty parmameter database (StringField)
  • working_directory(StringField) Working directory used on output nodes. Results will be written here. (StringField)

Recipe outputs (job.results[parameter])

Parameters:mapfile(FileField) (FileField)

* Node Side of the recipe *

class lofarpipe.recipes.nodes.setupparmdb.setupparmdb(job_id, host, port)

Put the provided template parmdb at the target location:

  1. Remove a possible old parmdb at the target location.
  2. Copy the template to the target location

Previous topic

vdsreader

Next topic

sourcedb

This Page