Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
10 Views

MPI_Info_set crashes

Here is a small section of my test code

use mpi

.......

  call mpi_init(info)
  comm = mpi_comm_world
  
  call MPI_COMM_SIZE(comm, nproc, info)
  
  call MPI_COMM_RANK(comm, node_me, info)
  
  len0 = 300
  len1 = int8(len0)*10*100
  size = len1 
  disp_unit = 8
  size = size*disp_unit
  
  call MPI_Info_create(info_nc,ierr)
   
  call MPI_Info_set(info_nc, "alloc_shared_noncontig" , ".true." ,ierr)
  
  call MPI_Win_allocate_shared(size, disp_unit, info_nc, &
                             comm, baseptr, win,ierr)

.......

It always crashes when calling subroutine MPI_Info_set with a message as follows

Unhandled exception at 0x000007FEE07FDA6E (impi.dll) 

I used the lastest intel  fortran compiler 17.0 and intel mpi library 2017 (2017.1.143). It was tested on MS Windows 7.

 

Thanks.

Qinghua

 

 

 

 

0 Kudos
1 Reply
Highlighted
Moderator
10 Views

Can you provide a full reproducer?  When I put what you have provided into a small code, it is working correctly.

0 Kudos