LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Salman Pervez (spervez_at_[hidden])
Date: 2005-11-25 07:31:38


Hi, I am attempting to study the code structure of LAM for a class
project. I am a little confused by something I saw and I'm hoping
someone (one of the programmers?) will clear this up for me. From what i
understand, lam daemons/modules are booted up once on each machine for
each mpi program. In particular, there is a single tcp-rpi module
running on each machine for point to point communication. The tcp rpi
module accesses certain global variables such as lam_rq_flblock,
lam_rq_nreqs, lam_rq_nactv and lam_ssi_rpi_tcp_haveadv. These global
variables are not protected by semaphores. Is it because each tcp mpdule
has its own lam_ssi_tpi_tcp_haveadv. But even if that is so, there is
only one lam_rq_nactv and lam_rq_nreqs etc.

I am possibly missing something trivial. I just havent studied enough of
the code base to figure things out for myself and am hoping for some
easy help. thanks!!

salman