caracal-pipeline / cult-cargo

Curated Stimela2 cargo for popular radio astronomy software
MIT License
0 stars 1 forks source link

wsclean cab failing when channel-range is set #54

Closed landmanbester closed 2 weeks ago

landmanbester commented 2 weeks ago

I am running into the following

### running wsclean -name output/wsclean/run1 -data-column DATA -channels-out 10 -channel-range 32 991 -pol I -j 64 -weight briggs -0.3 -size 7560 7560
-multiscale -multiscale-max-scales 8 -multiscale-gain 0.15 -scale 0.953795asec -niter 1000000 -nmiter 10 -auto-threshold 1.0 -auto-mask 4.0 -gain 0.1 -mgain
0.85 -join-channels -padding 2.0 -no-update-model-required -use-wgridder -log-time -temp-dir output/wsclean
/home/bester/projects/ESO137/msdir/ms1_target_ave4chan_bdafov2d98.ms /home/bester/projects/ESO137/msdir/ms2_target_ave4chan_bdafov2d98.ms
# + + + + + + + + + + + + + + + + + + +
# + An exception occured:
# + >>> Could not parse value '32 991' for parameter -channel-range to an integer
# + + + + + + + + + + + + + + + + + + +
2024-09-03 15:25:39 STIMELA.esoimage.image ERROR: step 'esoimage.image' has failed, aborting the recipe
────────────────────────────────────────────────────────────── detailed error report follows ───────────────────────────────────────────────────────────────
        ⚠ step 'esoimage.image' has failed, aborting the recipe
        └── error running cab 'wsclean'
            └── wsclean returns error code 255 after 0:00:00
──────────────────────────────────────────────────────────────────── profiling results ─────────────────────────────────────────────────────────────────────

                                                                    averages & total I/O
                                   ┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━┳━━━━━━┓
                                   ┃                ┃  time hms ┃ CPU % ┃ Mem GB ┃ Load ┃ R GB/s ┃ W GB/s ┃ R GB ┃ W GB ┃
                                   ┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━╇━━━━━━┩
                                   │ esoimage       │ 0:00:00.2 │  2.23 │  37.00 │ 1.14 │   0.00 │   0.00 │ 0.00 │ 0.00 │
                                   │ esoimage.image │ 0:00:00.1 │  2.50 │  37.00 │ 1.14 │   0.00 │   0.00 │ 0.00 │ 0.00 │
                                   └────────────────┴───────────┴───────┴────────┴──────┴────────┴────────┴──────┴──────┘

                                                                    peaks
                                   ┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━┳━━━━━━━━┳━━━━━━━━┓
                                   ┃                ┃  time hms ┃ CPU % ┃ Mem GB ┃ Load ┃ R GB/s ┃ W GB/s ┃
                                   ┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━╇━━━━━━━━╇━━━━━━━━┩
                                   │ esoimage       │ 0:00:00.2 │  3.50 │  37.00 │ 1.14 │   0.00 │   0.00 │
                                   │ esoimage.image │ 0:00:00.1 │  3.50 │  37.00 │ 1.14 │   0.00 │   0.00 │
                                   └────────────────┴───────────┴───────┴────────┴──────┴────────┴────────┘                                                 
2024-09-03 15:25:39 STIMELA.esoimage INFO: saved full profiling stats to logs/stimela.stats.full
2024-09-03 15:25:39 STIMELA.esoimage INFO: saved summary to logs/stimela.stats.summary.txt
2024-09-03 15:25:39 STIMELA ERROR: run failed, exiting with error code 1
2024-09-03 15:25:39 STIMELA.esoimage INFO: last log directory was logs

The command itself runs though so probably something in the cab definition. Anyone used -freq-range with the cab before?

o-smirnov commented 2 weeks ago

Try changing this policy https://github.com/caracal-pipeline/cult-cargo/blob/e4345766a51e59d0e7817e83c2b096525adad3c8/cultcargo/genesis/wsclean/wsclean-base.yml#L31 to repeat: list.

landmanbester commented 2 weeks ago

That works. Thanks. PR incoming

landmanbester commented 2 weeks ago

Fixed in https://github.com/caracal-pipeline/cult-cargo/pull/55