You might also want to look at the LAM tutorials (e.g., the one in the
LAM/MPI User's Guide) -- they are a good introduction to the various
LAM commands (such as lamboot).
On Aug 8, 2005, at 7:05 AM, Bogdan Costescu wrote:
> On Sun, 7 Aug 2005 gsaxena_at_[hidden] wrote:
>
>> Most of the configurations in lam have to do with the bhost file.
>
> Your description is not very clear to me, but I think that your needs
> are satisfied by a simple bhost file.
>
>> for now I thought about making a temporary file and called
>> system("lamboot <file").
>
> Yes. Create a script (or do it in your program) that takes your
> program's config file and turns it into a bhost file, then run it just
> before running lamboot. From what I know, you can't feed node names to
> lamboot through stdin, you have to specify a file name on the command
> line or via an environment variable.
>
>> I wasn't sure if I could specify a string of hosts on the lamboot
>> command line to startup the LAM environment.
>
> If you know the list of hosts names, just write them to a file, one
> host per line, and give the name of this file to lamboot.
>
> --
> Bogdan Costescu
>
> IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
> Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
> Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
> E-mail: Bogdan.Costescu_at_[hidden]
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|