Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

Seg Fault at MPI_INIT_THREAD

acr314
Beginner
444 Views

Hello,

 

I am trying to run a multi-processor program written in Fortran, using Intel MPI. The code crashes, giving a seg fault. I've attached a screenshot of the traceback. The command that produces the error (listed as mod_mpidriver.f90 line 72 in the traceback) is: CALL MPI_INIT_THREAD(MPI_THREAD_FUNNELED, provided, ierr).

 

I've tried running this code with impi/2018/release_multithread and impi/2018/release_multithread_debug, both of which produced the same error.

 

Also, this error appears even when I try to run the code with only one processor. That is, mpiexec -n 8 ./mhdtvd produces the same error as mpiexec -n 1 ./mhdtvd . However, if I try to run the code without MPI altogether (using ./mhdtvd) then it runs fine.

 

The program ran properly until a few weeks ago. It's unclear to me why it stopped working.

 

Does anyone have ideas of what's going wrong or how I could begin to debug it?

0 Kudos
1 Reply
TobiasK
Moderator
320 Views

@acr314 if the code was running fine a few weeks ago, the only thing you can and should do is to figure out what changed during that time. I would try to run
mpirun -np 2 IMB-MPI1
and make sure that this is working as expected before trying with your application again.

Btw, 2018 is too old, please always use the latest version available

0 Kudos
Reply