Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

[mpi_send, mpi_recv] array alignment

bucaioni__thomas
New Contributor I
187 Views

How to send and receive a line or a row in an array? For example, say a table T is dimensions 2x3x4x5, so

 

 

real allocatable :: T(:,:,:,:)
allocate(T(2,3,4,5))

 

 

What happens with

 

 

mpi_send(T(1,1,1,5),24,mpi_real4,iNumProc+1,1,mpi_comm_world,req_ps1(1),info_p)

 

 

or with

 

 

mpi_send(T(2,1,1,1),60,mpi_real4,iNumProc+1,1,mpi_comm_world,req_ps1(1),info_p)

 

 

? (By the way, would you have the link to mpi_send and mpi_recv documentation in Fortran?)

Labels (1)
0 Kudos
0 Replies
Reply