jacopo-chevallard / BEAGLE-general

Basic information to get started with the galaxy spectral modelling tool Beagle
https://www.iap.fr/beagle/
9 stars 0 forks source link

BEAGLE/docker uses only one core in Ubuntu #73

Closed steveschulze closed 6 years ago

steveschulze commented 6 years ago

Hi,

BEAGLE uses only 1 of 4 cores on my linux machine. Is there an option to use more than one core like on Mac?

I tried to use the option --cpuset-cpus without success.

Cheers,

Steve

jacopo-chevallard commented 6 years ago

Hi Steve, for now you have to launch multiple instances of Beagle to fit multiple objects at the same time, Beagle will then take care of not re-fitting already fitted objects. The main drawback is that you need to load the models into memory every time, so you must be careful about the memory available, vs memory used (to reduce the memory usage you can for instance "rebin" and/or "shrink" the templates). Improving this is on our todo list though !

steveschulze commented 6 years ago

Hi Jacopo,

Thanks! This worked in Ubuntu. The Mac version of docker refused to run multiple instances of the same module.

Cheers,

Steve