suite2p icon indicating copy to clipboard operation
suite2p copied to clipboard

latest suite2p only runs on one CPU socket in a dual CPU machine

Open hziyan opened this issue 3 years ago • 4 comments

Hello Carsen! Thank you for putting cellpose in suite2p! I ran a test on our server with two CPUs. Around a month ago before the upgrade I can ran suite2p on both CPUs but only one after the laster update. I reinstall the whole env but didn't help. Do you think it's related to python 'Global Interpreter Lock'?

image

hziyan avatar Nov 11 '21 10:11 hziyan

which part of the code is not running on multiple cores? I have not seen this problem before. and can you please clarify if in the same environment you have an older version that uses multiple cores and the latest (0.10.3) does not?

carsen-stringer avatar Nov 12 '21 15:11 carsen-stringer

Thanks Carsen! All parts run on single socket. I used ver 0.9.3 before. I uninstalled 0.10.3 and reinstalled 0.9.3. The old version also ran on one CPU now. :(

hziyan avatar Nov 12 '21 17:11 hziyan

hmm is this python=3.8 environment? in your old environment you can print out all the versions of software and see how they match to your new versions, specifically numpy

carsen-stringer avatar Jun 01 '22 10:06 carsen-stringer

Hi Carsen! yes. python=3.8. I printed out the env from another server with exactly same hardware which can run on both sockets. The env is the same as the one that can only run on one socket. I got confused.

hziyan avatar Jun 01 '22 21:06 hziyan