The AUDI imaging task will sometimes crash, most commonly when the restore on an early Cycle 5 dataset fails. This page details the steps needed to manually run the pipelineFor that specific case, a workaround known as "The Kludge" has been written by SSA. Other failure modes may still need manual runs. For fully manual runs, a dedicated node (currently cvpost016) is needed to run the interactive job, as the almapipe credentials are only supported on one processing node at a time.
Step-by-step guide - Kludged runs
- Run will send fail email with error code 2 (note that error code 2 can also refer to other issues such as incomplete ASDM downloads, so double-check that the ASDMs in the raw directory do not have any ASDMBinary files ending .missing)
- Starting in the image-qa/xxxx/xxxx/working directory, run almaReimage cube with specified restore and imaging versions (full path needed) and supply the job ID and directory uid (*not* the MOUS uid) to the --request parameter e.g. almaReimageCube --restore_casa home/casa/packages/RHEL7/release/casa-release-5.1.1-5 --image_casa /home/casa/packages/pipeline/casa-6.1.1-10-pipeline-2020.1.0.36 --request 475229560 uid___A002_Xc89480_X1a40 (note this only works in pipelines that have the separate imaging recipe, CASA 6+)
- The run should terminate as usual and the usual QA should be possible.
Step-by-step guide - fully manual runs
- Run the restore on the dataset using the appropriate version of CASA.
- Copy the <uid>casapipescript.py from the original failed imaging run's spool/<uid>/products directory into the working directory of the restore.
- Edit the imaging casapipescript to replace hifa_restore for the raw ASDM with hifa_importdata(vis=<calibrated msname[s]>, session=[sessionid], dbservice=False) for the restored MS, also add hifa_exportdata(imaging_products_only=True) at the end.
- Remove the products directory from the restore run.
- start casa --pipeline
- execfile('<uid>casapipescript.py')
- Make a <jobid>/<uid> directory in the image-qa area
- copy the rawdata, products and working into the image-qa area
- Do QA and run audiPass in the usual way.
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | SRDP |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "kb-how-to-article" and type = "page" and space = "SRDP" |
---|
labels | kb-how-to-article |
---|
|
...