LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Prashanth (pcharapa_at_[hidden])
Date: 2003-10-29 20:59:52


Hello,

If you are *not* going to have more than one process on each of your
processor 'usysv' will work better, however if you are going to have
more processes than processors then you should use 'sysv'. (for example
you lamboot on 2 nodes with 2 processors on each node and you run say
'mpirun -np 16 myprogram' you are overloading your processors, so you
should use 'sysv' in this case) If this is not clear, please see the
User guide for LAM-7.02 (Here's the link
http://www.lam-mpi.org/download/files/7.0.2-user.pdf)

Apply the attached patch to your lam-6.5.9/share/boot/asc_run.c file, go
to lam-6.5.9 directory and run 'make clean all install'. This should make
'-O' as default for the spawned processes.

Hope this helps. Sorry for the delay. Thanks

--
Prashanth
pcharapa_at_[hidden]
LAM-MPI Team
Thus spoke Troy Klein in the message sent on Mon, 27 Oct 2003
->Which would be more appropriate for a RedHat 9 Beowulf cluster, 2 processors
->per node, --with-rpi=sysv or --with-rpi=usysv?
->
->Please tell me what changes to make such that -O would be the default.
->
->Thanks, Troy.
->
->-----Original Message-----
->From: Prashanth [mailto:pcharapa_at_[hidden]]
->Sent: Sunday, October 26, 2003 11:57 AM
->To: General LAM/MPI mailing list
->Subject: RE: LAM: MPI_Comm_spawn and c2c
->
->
->
->Hello,
->
->If you configured lam with a c2c rpi (usysv, sysv), the spawned process will
->use c2c by default.  You can use --with-rpi=sysv or --with-rpi=usysv as a
->configure option to make one of the c2c rpi's as default rpi.
->
->By default, the -0 option is not set.  If you cannot upgrade to LAM-7.02,
->and if you are going to run your jobs on *homogenous* machines only, we
->could indicate to you where you could make changes to the LAM source so that
->-0 would no longer be required.  Let us know if this is the case.
->
->Hope this helps.  Thanks.
->
->--
->Prashanth
->pcharapa_at_[hidden]
->LAM-MPI Team
->
->
->Thus spoke Troy Klein in the message sent on Tue, 21 Oct 2003
->
->->Unfortunately, I'm using LAM 6.5.9.  Is there anyway to enable the
->->-c2c and -O functionalities outside of mpirun under LAM 6.5.9?  I'm
->->using MPI_Comm_spawn to start the multicomputer therefore mpirun is
->->not useful.
->->
->->Thanks, Troy.
->->
->->-----Original Message-----
->->From: Prashanth [mailto:pcharapa_at_[hidden]]
->->Sent: Monday, October 20, 2003 4:44 PM
->->To: General LAM/MPI mailing list
->->Subject: Re: LAM: MPI_Comm_spawn and c2c
->->
->->
->->
->->Hello,
->->
->->Apologies for the late reply.
->->
->->What version of LAM are you using?  Starting with LAM-7.0, users do
->->not have to specify the '-0' flag to mpirun for optimization as this
->->is taken careof automatically by LAM.  Also, you can select an RPI by
->->setting the Environment variable LAM_MPI_SSI_RPI to a valid RPI name
->->(tcp, sysv, usysv,
->->etc)
->->
->->Please see the LAM-7.02 User's Guide for more information on SSI
->->parameters. Hope this helps.
->->
->->--
->->Prashanth
->->pcharapa_at_[hidden]
->->LAM-MPI Team
->->
->->
->->Thus spoke Troy Klein in the message sent on Wed, 15 Oct 2003
->->
->->->I am using MPI_Comm_spawn in a MATLAB MEX file to spawn workers
->->->across a Beowulf cluster.  How can I optimize the communication in
->->->the way that the -c2c and -O options of mpirun usually do?  These
->->->options are not available to me because I am not using mpirun.
->->->
->->->Thanks, Troy.
->->->
->->->_______________________________________________
->->->This list is archived at http://www.lam-mpi.org/MailArchives/lam/
->->->
->->
->->
->->_______________________________________________
->->This list is archived at http://www.lam-mpi.org/MailArchives/lam/
->->
->
->
->_______________________________________________
->This list is archived at http://www.lam-mpi.org/MailArchives/lam/
->