Hi,
I am trying to use Opencoarrays for learning coarrays. I am trying to initialize coarray variable from a array.
This is the syntax I am trying
if ( this_image() == 1 ) then
do i=1,num_images()
write(*,*)"I : ",i,i_start(i),i_end(i)
cellCA(1:i_index(i),1:jmax-1)[i] = cell(i_start(i):i_end(i),1:jmax-1)
end do
end if
This particular point I am getting this error
CALLING CELL/AREA 105 1 105 1
I : 1 1 105
I : 2 106 210
[alpine-Latitude-7490:08892] *** An error occurred in MPI_Put
[alpine-Latitude-7490:08892] *** reported by process [7077889,0]
[alpine-Latitude-7490:08892] *** on win rdma window 9
[alpine-Latitude-7490:08892] *** MPI_ERR_RMA_RANGE: invalid RMA address range
[alpine-Latitude-7490:08892] *** MPI_ERRORS_ARE_FATAL (processes in this win will now abort,
[alpine-Latitude-7490:08892] *** and potentially your MPI job)
How can I assign a already existing data array to coarray for intialization.
Your guidance would be helpful.
Best Regards
Apurva