Siva Bandhamravuri wrote:
>Hi,
> I need some clarification regarding LAM hostfile.
>In the hostfile, I specify
>
>mymachine.somthing.edu cpu=2
>
>
>
This line in the hostfile merely signifies that there are 2 processors
on this particular node. It will not affect how many processes one can
run on that particular node. A typical use case of that "hint" is if you
are scheduling one MPI process per processor, LAM will schedule 2 on
that node since it has been told it that this node has 2 processors.
Regardless of this, LAM will schedule on a round-robin basis, as many
MPI processes as you want (as specified to mpirun).
Hope this clarifies,
Anju
>My understanding was that the LAM environment will allow only 2 LAM-MPI
>processes to run in the machine. But when I tried 'mpirun -np 4 a.out' , it
>still ran with 4 processes.
>
>Can anyone help with my mis-understanding.
>
>thanks
>Siva
>_______________________________________________
>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
|