scipy.linalg.sqrtm get stuck in SLURM clsuters
See original GitHub issueMy issue is about the scipy.linalg.sqrtm getting stuck in SLURM cluster. I do not know why, when I run scipy.linalg.sqrtm in the cluster, the program will get stuck in running. But It runs well on my personal computer
Reproducing code example:
covmean, _ = linalg.sqrtm(sigma1.dot(sigma2), disp=False,blocksize=32)
sigma1 and sigma2 are two 2048*2048 matrix
Error message:
the procedure will get stuck at " covmean, _ = linalg.sqrtm(sigma1.dot(sigma2), disp=False,blocksize=32)"
Scipy/Numpy/Python version information:
scipy 1.7.0+computecanada
numpy 1.20.1
python 3.7
So please help me! thank you!
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
SLURM and Python multiprocessing pool on a cluster
Pythons multiprocessing package is limited to shared memory parallelization. It spawns new processes that all have access to the main memory ...
Read more >DMRG for electronic structure calculations — BLOCK 1.5.0 ...
The class exposes the Block keywords to PySCF so that the Block code can be run and controlled in Python script. approx_maxIter ¶....
Read more >vocab.txt - Hugging Face
... de re ##ut ret to ##ro ##ce for co ##urn return ##ot ##re ##ame ##pe is ... ##mp variable cr term where...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, all!@ilayn @ev-br @czgdp1807 @brandon-beacher Thanks for your help! Now, I solved this problem. By setting ‘export MKL_NUM_THREADS=1’, my codes can run well. It seems there is some weird interaction between torch and scipy.
thank you, I met the same problem