Re: [OMPI users] Multi-threading with OpenMPI ?

2009-10-05 Thread Ashika Umanga Umagiliya
Greetings all, First of all thank you all for the help. I tried using locks and still I get following problems : 1) When multiple threads calling MPI_Comm_Spawn (sequentially or in parallel), some spawned processes hang up on its "MPI_Init_thread(NULL,NULL,MPI_THREAD_MULTIPLE,&sup);" method.

Re: [OMPI users] Multi-threading with OpenMPI ?

2009-10-05 Thread Ralph Castain
Are these threads running for long periods of time? I ask because there typically are system limits on the number of pipes any one process can open, which is what you appear to be hitting. You can check two things (as the error message tells you :-)): 1. set -mca opal_set_max_sys_limits 1 o

Re: [OMPI users] Multi-threading with OpenMPI ?

2009-10-05 Thread Ashika Umanga Umagiliya
Ralph , thank you for your help. I set "-mca opal_set_max_sys_limits 1" and my "ulimit" us "unlimited" , but still I get the errors. What's happening now is ,for every user request(webservice request) a new thread is created and in the same thread I spawn processes and these newly spawned pro