Hi all, So i don't know what the issue with this code snippet is but i cannot get the scatter call to work. When i print out the recieve_buffer it comes out as all zeros. The counters without the underscore are the core domains, with the o, the global domains. rec_count = (imaxo-imino+1)*(jmaxo-jmino+1)*(kmaxo-kmino+1) send_count = (imax_-imin_+1)*(jmax_-jmin_+1)*(kmax_-kmin_+1) call MPI_GATHER (send_buffer, send_count, MPI_REAL, gsend_buffer, send_count, MPI_REAL, iroot, comm, ierr) rec_count = (imaxo-imino+1)*(jmaxo-jmino+1)*(kmaxo-kmino+1) send_count = (imaxo-imino+1)*(jmaxo-jmino+1)*(kmaxo-kmino+1) call MPI_SCATTER (gsend_buffer, send_count, MPI_REAL, recieve_buffer, rec_count, MPI_REAL, iroot, comm, ierr) thanks for the help. Ryan Crocker University of Vermont, School of Engineering Mechanical Engineering Department [email protected]
participants (1)
-
Ryan Crocker