timothydmorton / isochrones

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

Running Multinest fit seems to use only one thread #187

Closed 3fon3fonov closed 4 months ago

3fon3fonov commented 6 months ago

I have a jupyter notebook which adopts the isochrones.

Running Multinest fit however, seems to use only one thread although I have 48 CPUs on my machine. For example:

mod = SingleStarModel(mist,**params)

mod.fit_multinest(n_live_points=1000,
basename=None,
verbose=False,
refit=True,
overwrite=True)

Any idea how can I speedup the fit calculations? Is there any argument in fit_multinest() of fit() which can tell the pymultinest/multinest to use N numbers of threads?

Many thnaks!

3fon3fonov commented 4 months ago

I found another solution for me, so I am closing.