Reproduce this in a small about of code (sounds easy in this case) and then email the code out; your verbal descriptions is not detailed enough to determine the problem. Also send a make file that links the .so library, it could be a problem related to that.
Barry On May 16, 2014, at 6:21 PM, 张国熙 <[email protected]> wrote: > Hi, > > I write a piece of code containing SLEPc calling and compile it into a .so > library. Then I call this library in my program. I call MPI_Init in the main > program, but it turns out that function SlepcInitialize in SLEPc .so library > will not return, and the program stuck at that line. I don't know if this > problem related to the place of MPI_Init calling, but the library works well > if I only use one process and not initialize MPI outside. > > Guoxi
