Help! using MPI_gather double precision# Computation - 科学计算
x*y
1 楼
I can use MPI_gather to gather integer and real, but I couldn't gather double
precision arrays.
The code for gather part is:
call MPI_gather(a,nipe,MPI_DOUBLE_PRECISION,b,nipe,
& MPI_DOUBLE_PRECISION, 0,MPI_COMM_WORLD,ierr)
I got the error when run the code as following:
p1_3410: (0.018301) xx_shmalloc: returning NULL; requested 4000048 bytes
p1_3410: (0.018301) p4_shmalloc returning NULL; request = 4000048 bytes
You can increase the amount of memory by setting the e
precision arrays.
The code for gather part is:
call MPI_gather(a,nipe,MPI_DOUBLE_PRECISION,b,nipe,
& MPI_DOUBLE_PRECISION, 0,MPI_COMM_WORLD,ierr)
I got the error when run the code as following:
p1_3410: (0.018301) xx_shmalloc: returning NULL; requested 4000048 bytes
p1_3410: (0.018301) p4_shmalloc returning NULL; request = 4000048 bytes
You can increase the amount of memory by setting the e