OMP_NUM_THREADS error message. PreviousNext
Mplus Discussion > Latent Variable Mixture Modeling >
Message/Author
 Phil Wood posted on Friday, March 10, 2017 - 10:50 am
Hi all, I am using the montecarlo generator to investigate a mixture model recovery example.
analysis: miterations=5000;
type = mixture;algorithm=integration;starts=300 10;PROCESSORS=168 166;

When I submit the program specifying multiple threads, I receive the following error:
------------------------------
OMP: Error #34: System unable to allocate necessary resources for OMP thread:
OMP: System error #11: Resource temporarily unavailable
OMP: Hint: Try decreasing the value of OMP_NUM_THREADS.
 Tihomir Asparouhov posted on Friday, March 10, 2017 - 11:45 pm
It doesn't make sense to have more than 10 treads given starts=300 10;

You should use PROCESSORS=168 10;

With such a large number of threads you will be running 166 Mplus runs at the same time which will crush the memory.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: