timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
123 stars 63 forks source link

Isochrones not working correctly. #151

Open jvines opened 3 years ago

jvines commented 3 years ago

Hi

I'm installing isochrones on ubuntu in a fresh environment the way the documentation says so and when trying to run the code in fitting stellar parameters, the computer freezes and then it says killed, and nothing else.

Can you help me with this issue, please??

burakulas commented 2 years ago

Hello.

Just here to write that I exactly have the same issue on Ubuntu. I put two print checkpoints in sample code before and after fit, and found that the code can not reach the second one. It freezes during "mod2.fit()" and then says killed as seen in screenshot. I could not find a solution and any help on this problem will be appreciated.

Best wishes.

The result: ss

The code: ss2

timothydmorton commented 2 years ago

I'm sorry you're having this issue; I don't recall seeing this. Are you able to run any basic multinest tests on your machine? Seems like the issue might be on that side? It was a goal of mine to separate isochrones from requiring multinest, but I never got around to that.

burakulas commented 2 years ago

Hi,

I dug the kernel log and realized that the process was killed by OOM (Out of Memory) killer. The problem is probably raises from usage of big portion of the memory.

timothydmorton commented 2 years ago

Thanks for sharing this. That does make sense-- I don't remember the exact memory requirements, but I do remember having problems in containers with only 2Gb of RAM, I think. Let me know if you can run things OK with more memory available and I'll close this.