caracal-pipeline / caracal

Containerized Automated Radio Astronomy Calibration (CARACal) pipeline
GNU General Public License v2.0
28 stars 6 forks source link

NCPU for crystalball skymodel #1516

Closed ktrehaeven closed 1 year ago

ktrehaeven commented 1 year ago

Hi. This is just a request to add an option to be able to change the number of cpus crystalball uses when predicting the primary model in the crosscal.set_model. Currently you can only set the ram memory usage, so even though I'm only using 0.5 of the ram memory, I'm hogging up all the cpus. Not sure how this affects the node performance for other users. Plus sometimes my run aborts like in the attached log and I think its because of the unintentional hogging. Screenshot from 2023-06-04 20-41-37 log-crosscal-set_model_cal-0-20230604-164044.txt

paoloserra commented 1 year ago

can you see whether this branch does what you need? https://github.com/caracal-pipeline/caracal/tree/issue1516

ktrehaeven commented 1 year ago

Hi @paoloserra yes it does! Thank you very much.