ratt-ru / Stimela-classic

Containerized radio interferometry scripting framework -- NB: Classic version is no longer in active development, use stimela 2! See README for details.
GNU General Public License v2.0
28 stars 16 forks source link

Parallel-Affinity keyword in ddfacet parameters is duplicated. #777

Open KshitijT opened 1 year ago

KshitijT commented 1 year ago

The parameters file for the ddfacet cab has

`

        "info": "Sets affinity of the subprocesses / threads.  -1/1/2 determines stepping used in selecting cores. Alternatively specifies a list of length NCPU. Alternatively 'disable' to disable affinity settings Alternatively 'enable_ht' uses stepping of 1 (equivalent to Parallel.Affinity=1), will use all vthreads - the obvious exception is if HT is disabled at BIOS level. Alternatively 'disable_ht' autodetects the NUMA layout of the chip for Debian-based systems and don't use both vthreads per core. Use 1 if unsure.", 
        "default": "1", 
        "required": false, 
        "name": "Parallel-Affinity", 
        "dtype": "str"

        "info": "Pins parent process to specified core. This should be set to a vcore that is not used by forked processes, this option is ignored when using option 'disable' or 'disable_ht' for Parallel-Affinity.", 
        "default": "0", 
        "required": false, 
        "name": "Parallel-Affinity", 
        "dtype": "str"

`

Is there a reason why there are two parameters by the same name? Which one of these is the correct one to use?