caracal-pipeline / crystalball

Distributed prediction of visibilities from a sky model
GNU General Public License v2.0
2 stars 5 forks source link

Make the -mem switch idiot-proof #18

Closed IanHeywood closed 4 years ago

IanHeywood commented 5 years ago

I just ran crystalball with -mem 90 forgetting that I should specify a fraction and not a wsclean-style percentage.

I didn't spot the

expected memory usage = 5081.70 GB

message until I had caused the server to grind to a halt for some time. Entirely my fault of course, but making this idiot-proof by capping this parameter at 1 shouldn't be too much effort!

Cheers.

paoloserra commented 5 years ago

:D !!! will do

paoloserra commented 4 years ago

@sjperkins I'm going to fix this before making a new release.