LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Bogdan Costescu (Bogdan.Costescu_at_[hidden])
Date: 2005-08-08 06:05:24


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]