Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgomp: Thread creation failed: Resource temporarily unavailable #50

Closed
SC-Duan opened this issue Oct 21, 2017 · 2 comments
Closed

libgomp: Thread creation failed: Resource temporarily unavailable #50

SC-Duan opened this issue Oct 21, 2017 · 2 comments

Comments

@SC-Duan
Copy link

SC-Duan commented Oct 21, 2017

Dear,
I installed the SMC++ (1.9.3), and the GLIBC problem was solved by reinstalling GLIBC, but I got another problem for smc++ estimate, "libgomp: Thread creation failed: Resource temporarily unavailable", the log:
780 smcpp._smcpp INFO SMC++ 1.9.3
1294 smcpp.analysis INFO Loading data...
1971 smcpp.analysis INFO 0.02 Gb of data
1974 smcpp.analysis INFO 1 population
2364 smcpp.analysis INFO theta: 0.000100
2364 smcpp.analysis INFO rho: 0.000100
2364 smcpp.analysis INFO Thinning...
11648 smcpp.analysis INFO Running E-step
13591 smcpp.analysis INFO E-step completed
14006 smcpp.optimize.plugins.progress_printer INFO Starting EM algorithm...
14007 smcpp.optimize.plugins.progress_printer INFO EM iteration 1 of 20...
14007 smcpp.analysis INFO Running E-step
23491 smcpp.analysis INFO E-step completed
23528 smcpp.optimize.plugins.loglikelihood_monitor INFO Loglik: -48431.579379
23534 smcpp.optimize.plugins.parameter_optimizer INFO Updating rho, bounds (0.000002, 0.200000)

libgomp: Thread creation failed: Resource temporarily unavailable

I set the "soft nproc unlimited" in file "/etc/security/limits.d/90-nproc.conf", but It is no use. Could you give me some advice?

@SC-Duan SC-Duan closed this as completed Oct 21, 2017
@SC-Duan SC-Duan reopened this Oct 22, 2017
@SC-Duan
Copy link
Author

SC-Duan commented Oct 22, 2017

I set the "soft nproc 102400", but when "EM iteration 3 of 20..." , I got the same error "libgomp: Thread creation failed: Resource temporarily unavailable", my sample size is 62.

@terhorst
Copy link
Collaborator

I think this is related to #46. I've fixed the thread creation issue in the devel branch and will merge it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants