[Gate-users] [Fwd: parametrized macro]

Marta.Lai at ca.infn.it Marta.Lai at ca.infn.it
Thu Oct 21 12:07:56 CEST 2010


---------------------------- Original Message ----------------------------
Subject: parametrized macro
From:    mlai at ca.infn.it
Date:    Tue, October 19, 2010 12:35 pm
To:      gate-users at lists.opengatecollaboration.org
--------------------------------------------------------------------------

I have installed GATE v 6.0 p04.
I am trying to use the parametrized macros:
With the command:
Gate -a myfile testfile < mymacro.mac
or the command
Gate -a myfile testfile
I get the following error:
[Core-0] Starting macro -a
	[G4-cerr] ***** Can not open a macro file <-a>
[Gate] Sorry, error in a macro command : abort.

as if it does not recognize the alias command -a.

If I try the command:
Gate -a myfile

I get the error:
[G4-cerr] Not enough arguments after the option flag '-a'
The syntax to use this flag, which allows to create an alias, is:
	Gate -a ALIAS_NAME ALIAS_VALUE

As if the command is now recognized but there are not enough arguments.

Can anyone help me please?
Thanks.
Marta




More information about the Gate-users mailing list