Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29279 Discussions

SIGSEGV, segmentation fault occurred

norgeus_es
Beginner
655 Views

Dear friends:
I have compiled a very simple MPI code (It write: "I am master", or "I am slave" ) by using intel fortran compiler. It was compiled and linked in a good way (ifort was used). However, when running by using: mpirun -np 2 -nolocal ./prueba_mpi, them I obtain:

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
libc.so.6 00007F6EB71190B0 Unknown Unknown Unknown
libc.so.6 00007F6EB7119C96 Unknown Unknown Unknown
libmpich.so.1.0 00007F6EB7B1F5BF Unknown Unknown Unknown
libmpich.so.1.0 00007F6EB7B2C0E2 Unknown Unknown Unknown
libmpich.so.1.0 00007F6EB7B2C259 Unknown Unknown Unknown
libmpich.so.1.0 00007F6EB7AFBDC8 Unknown Unknown Unknown
libmpich.so.1.0 00007F6EB7AECA43 Unknown Unknown Unknown
libmpich.so.1.0 00007F6EB7B106C9 Unknown Unknown Unknown
libmpich.so.1.0 00007F6EB7B0FFE4 Unknown Unknown Unknown
prueba_mpi 0000000000402F7C Unknown Unknown Unknown
prueba_mpi 0000000000402FDB Unknown Unknown Unknown
prueba_mpi 0000000000402EDB Unknown Unknown Unknown
prueba_mpi 0000000000402E6C Unknown Unknown Unknown
libc.so.6 00007F6EB70B5466 Unknown Unknown Unknown
prueba_mpi 0000000000402D69 Unknown Unknown Unknown

What can I do ?

best regards
Norge

0 Kudos
3 Replies
TimP
Honored Contributor III
655 Views
Quoting - norgeus.es


What can I do ?

Besides start debugging? Did your MPI pass its own test suite, so as to verify that you got it properly built to use ifort?
Intel Cluster Tools include advanced MPI debugging tools (message checker). If you have an MPI problem, rather than a Fortran problem, in principle, the HPC forum would be more appropriate. If you have a specific problem with an MPI other than Intel, the support forum associated with that MPI would be better. If you chose an MPI without such a forum, go back and make another choice.
0 Kudos
rreis
New Contributor I
655 Views
can you post the code?
0 Kudos
norgeus_es
Beginner
655 Views
Quoting - tim18
Quoting - norgeus.es


What can I do ?

Besides start debugging? Did your MPI pass its own test suite, so as to verify that you got it properly built to use ifort?
Intel Cluster Tools include advanced MPI debugging tools (message checker). If you have an MPI problem, rather than a Fortran problem, in principle, the HPC forum would be more appropriate. If you have a specific problem with an MPI other than Intel, the support forum associated with that MPI would be better. If you chose an MPI without such a forum, go back and make another choice.

0 Kudos
Reply