Problem with EPACTS and threads

700 views
Skip to first unread message

Raymond Wan

unread,
May 19, 2016, 1:28:29 AM5/19/16
to EPACTS

Dear all,

I've encountered a problem with EPACTS' use of threads.  It seems to be a problem with the system and *not* with EPACTS since this problem started after an OS upgrade.  Even so, I'm hoping someone here has seen this problem before and can offer some advice.

When running "epacts single" with --run having a value like 25, I get errors such as this:

OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 1061236 current, 1061236 max

However, with a lower number (i.e., 6), there are no problems.  The system does have enough cores to handle such a large number.  But, more importantly, the system definitely does not have 1061236 threads.  So, I don't quite understand the cause.

I've looked around and thought maybe I should increase some limit with ulimit, but since the system has only a few hundred processes, I'm not sure if that's something I should be looking at.

The last part of the puzzle is that if I run the program as usual, there are no problems -- 25 threads can be created fine.  However, this problem occurs if I use a job queuing system.  This leads me to think it is the queuing system and not EPACTS that is at fault.  But I can't figure out where the cause is and hope someone here can offer some advice?

Thank you!

Ray


Reply all
Reply to author
Forward
0 new messages