I am using 4 processor to run a fortran program.(2
processor in a CPU.)
two CPU connect with network.
question 1:
can I know what the name of this architecture. It
called shared distributed memory?
question 2:
I am sending a file let say PLK2(400,12,12).
call mpi_send(PLK2,57600,mpi_real,0,ja,mpi_comm_world,
ierr)
I just sending a file from master to slave to run then
send back to master.
Here is my simple algorithm:
if(master)
do i=1,N
sending to slave
receive from slave
enddo
else
10 continue
receive form master
calculation
send to master
goto 10
endif
When starting the calculation, all the answer from
salve is same, but after some do loop, I found that
the correct answer from slave when send to master
become not correct.
For example 2-5 value in this array : PLK2(400,12,12)
is not the same. the value is correct in slave but
after receive from master, the number become
different.
I dont know why this happen, got anybody can tell me.
thanks..
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
|