setupparmdb
*Master Side of the recipe *
-
class lofarpipe.recipes.master.setupparmdb.setupparmdb
Create a distributed parameter database (ParmDB) for a distributed
Measurement set (MS).
- Create a parmdb template at the master side of the recipe
- Call node side of recipe with template and possible targets
- Validate performance, cleanup of temp files, construct output
Command line arguments
- A mapfile describing the data to be processed.
- 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:
- Remove a possible old parmdb at the target location.
- Copy the template to the target location