damonge / CoLoRe

CoLoRe - Cosmological Lofty Realizations
GNU General Public License v3.0
17 stars 13 forks source link

Number of populations #68

Closed psilvaf closed 11 months ago

psilvaf commented 11 months ago

I am running a loop to generate mocks. However, I keep getting the error:

MPI task 14, Fatal: You're asking for too many populations 100! Enlarge NPOP_MAX

Where can I write this specification 'NPOP_MAX'?I don't see anything about it in the doc.

cramirezpe commented 11 months ago

I successfully enlarged that value in the past modifying this line https://github.com/damonge/CoLoRe/blob/d19ef73ef049d772918edb38c69ce632542cff6c/src/common.h#L133

and compiling again.

psilvaf commented 11 months ago

It worked! Thanks! 🙂