Skip to content

SCOOP-158 (SCOOP-191) add custom numthreads and log file

Stefano Corda requested to merge numthreads into main

The current version of the Python low self-cal calibration script has a hardcoded number of threads (40) for WSClean (WSclean, Restore and Deconvolution) and DP3. Similarly, the log file has a fixed name (logging.log).

These are two limitations that slow down the benchmarking capabilities:

  • a fixed number of threads does not behave well on different machines.
  • even if the script automatically appends different run results in the log file, it would be beneficial to generate differently named log files.

This MR adds:

  • a custom number of threads for all the phases as mentioned above
  • a custom name for the log file

Merge request reports