LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jerome BENOIT (jgmbenoit_at_[hidden])
Date: 2003-05-21 01:50:56


Brian W. Barrett wrote:
> 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,

and included the app :-)

  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
>
>