[Nek5000-users] Nek MPI subroutine
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Wed Jan 7 18:02:18 CST 2015
Hello,
I don't understand the following subroutine in the Nek mpi_dummy.f file:
---------------------------------------------------------------------------------------------------------
subroutine mpi_comm_rank ( comm, me, ierror )
implicit none
integer comm
integer ierror
integer me
integer MPI_FAILURE
parameter ( MPI_FAILURE = 1 )
integer MPI_SUCCESS
parameter ( MPI_SUCCESS = 0 )
ierror = MPI_SUCCESS
me = 0
return
end
---------------------------------------------------------------------------------------------------------
This will always return one. How does this give the rank of the process
then? Can someone please explain the reason for this function?
Thanks,
Pradeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20150107/6b2c9da8/attachment.html>
More information about the Nek5000-users
mailing list