On Sat, 17 May 2003, Jerome BENOIT wrote:
> I have just noticed that
> including "--" as an argument of the a program
> in a LAM application schema produces a `mpirun' synthax error.
> Unchanging the attached samples produces this error,
> removing the "--" produces no error.
This actually isn't a bug in LAM :). Many applications, LAM included, use
the -- notation to seperate arguments for itself and the app it is going
to call. So LAM is getting confused about the --MPMD ... sdg.log
arguments once it finds the -- argument. If you do something like:
h -c 1 sdg-interface -- --MPMD --geomview --output sdg.log -- sdg.data
LAM will blindly pass everything after the first -- as arguments to
sdg-interface, which should do what you want.
Hope this helps,
Brian
> h -c 1 sdg-interface --MPMD --geomview --output sdg.log -- sdg.data
> C -c 1 sdg-manager --MPMD
> C -c 3 sdg-worker --MPMD
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|