Error with layout of masks in MOM6

I don’t know what the first value stands for and whether I need to change something.

That’s the number of “masked” domains. If this has changed, it means you need to change the number of cpus used. There are 144x36=5184 domains in your calculation and previously there were 1268 masked domains. That means there were 5184-1268=3916 active domains, which is the number of CPUs that were requested.
Now you have 1260 masked domains, so you need 5184-1260=3924 CPUs instead.

So it should be enough to update the number of requested CPUs in the payu config to get this running correctly (assuming you’ve updated the mask filename where needed).