Enforced the num_cores limitation
Enforced the num_cores limitation


Former-commit-id: 36a8e785834f1ccad5c39029d61ed01138c81ff7 [formerly 5b986596261512a44153bd892fc811a1362a0c3b]
Former-commit-id: 1172b5950f6416fe3881781e471805f62fbb0c3c
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine