[Gate-users] parametrized macro

Marta.Lai at ca.infn.it Marta.Lai at ca.infn.it
Tue Oct 19 12:35:22 CEST 2010


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