You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

This work is a joint effort of SCG and ARDG to decompose imaging in small work units that can be processed as independent jobs on an HTC environment, making use of HTCondor's dagman.

Initial testing consists of running a single gridding cycle on a previously partitioned MS. Original scripts are located at /lustre/aoc/users/sbhatnag/11B-157/Continuum/IMAGING_CTB80/MTWBAWP/PARALLEL/HTCondor/SCRIPT_TEST

At this stage, all scripts assume a shared file system across all compute nodes (lustre). Follows a short description of each script.

imaging.py

Python script that splits the input MS into smaller MSes and produces the DAG (in tclean.dag file)

This also has the tclean parameters

mkres.py

The Python script that sets up the SynthesisImager tool of CASA, runs the gridder on the input MS and produces images with the given basename.

The input MS (via the DAG nodes) are the sub-MSes produced by imaging.py

tclean.dag

The DAG to convert sub-MSes to sub-images.

Uses tclean.htc HTCondor script.

tclean.htcThe HTCondor script that uses CASA to run mkres.py with the (sub-)MS and Image name.

The convolution functions have to be obtained prior to the partition of the MS. They are contained in the (sub)directory cf.tt_tclean_allSPW_withW.ps. A copy of the original scripts, data (before and after partition) and convolution functions is located in the directory script_test_0 under /lustre/aoc/sciops/fmadsen/HTCondor/imaging_ctb80, that will be used as root directory for subsequent testing.

A top-level diagram of the imaging process is shown below. This is updated dynamically as the development progresses, to represent software structure, as well as important findings and remarks.


The DAG condor_imaging.dag under /lustre/aoc/sciops/fmadsen/HTCondor/imaging_ctb80/script_test_1 calls a first job MSpartition, that runs stage1.py. This script partitions the MS based on inputs and writes the subdag new_tclean.dag, that is called by condor_imaging.dag as the child of MSpartition. The file new_tclean.dag is needed at DAG submission, but it can be empty.


  • No labels