在run smc++的时候,遇到问题,
OpenBLAS blas_thread_init: pthread_create failed for thread 16 of 48: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 1024 current, 4134580 max
export OPENBLAS_NUM_THREADS=1
or
import os
os.environ['OPENBLAS_NUM_THREADS'] ='1'
在网上搜的时候,发现了其他的知识:
linux 每一个线程都有独立的栈空间,unlimit -a 可以知道具体的数据。
https://blog.csdn.net/u012110870/article/details/106115577