| Thread Tools | Search this thread |
|---|
Amit
| July 2, 2009 5:14 PM PDT OpenMP-MPI hybrid code - SIGSEGV | ||||
Hi, I have a hybrid MPI-OpenMP fortran code which I run on 2 OpenMP threads and 1 MPI processor. Everything works correctly. (The code is loop level parallelized.) When I tried to run the code on 4 threads I got NANs in my solution. I went through previous forum posts and found that if I include the flag -shared-intel -mcmodel=medium then I can overcome the memory problem but now I run into following segmentation fault. I also went through the segmentation error guide and couldn't find an answer to this problem. (I have also tried setting the KMP_STACKSIZE to 25GB and ulimit -s unlimited) btw, I use ifort 10.0. amit@sys:~/openmp> mpirun -np 1 ./2009.x MPI: On host sys, Program /openmp/2009.x, Rank 0, Process 26346 received signal SIGSEGV(11) MPI: --------stack traceback------- MPI: MPI_COMM_WORLD rank 0 has terminated without calling MPI_Finalize() MPI: aborting job MPI: Received signal 11 Thanks, Amit | |||||
|
|||||||||||||
|
|||||||||||||
| 8285 users have contributed to 31229 threads and 99107 posts to date. |
|---|
| In the past 24 hours, we have 9 new thread(s) 39 new posts(s), and 55 new user(s). In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing... Escalated as Please welcome our newest member tvinni |