[mvapich-discuss] Segmentation fault when compiling with Intel 15, mvapich2 2.1, and openmp
Craig Tierney - NOAA Affiliate
craig.tierney at noaa.gov
Thu Sep 10 16:07:35 EDT 2015
Hello,
I am having a problem building and running codes with Intel 15.X and
Mvapich2 2.1 that use openmp. The following code shows the problem:
program test
use mpi
integer :: ierr, iprov
real(8) :: a
call mpi_init_thread(MPI_THREAD_FUNNELED,iprov,ierr)
call random_number(a)
write(*,*)"hello"
call mpi_finalize(ierr)
end program test
If this is compiled as:
# mpif90 -openmp -O3 test.f90 -o test
And run, the following error message is generated.
# mpiexec.hydra -np 2 ./testmpifort
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 17905 RUNNING AT fe8
= EXIT CODE: 11
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault
(signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
When you get the stack trace, you see:
(gdb) bt
#0 0x000000000040b0c4 in init_resource ()
#1 0x000000000040b02a in reentrancy_init ()
#2 0x000000000040af48 in for__reentrancy_init ()
#3 0x00002aaaab329115 in for_rtl_init_ () from
/home/admin/software/apps/mvapich2/2.1-intel/lib/libmpi.so.12
#4 0x0000000000403249 in main ()
Intel believes this is a mvapich2 issue, not a compiler issue.
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/540673
Thanks,
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20150910/e768b92d/attachment.html>
More information about the mvapich-discuss
mailing list