On May 16, 2005, at 1:07 AM, Michael Wheatley wrote:
> I am having a bit of trouble locating the code for myid() and
> nprocs() in the source. I was wondering if someone could point me in
> the right direction.
In LAM, the only instances of 'myid' are in tests and applications. Do
you perhaps mean a different function? If you mean MPI_Comm_rank(),
that's in share/mpi/crank.c. lam_nprocs() is an internal function in
share/mpi/lamprocs.c, but again, I'm wondering if you don't mean
MPI_Comm_size(), which is in share/mpi/csize.c. All three will end up
in LAM's libmpi.a, of course.
Hope this helps,
brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|