[Gate-users] Parametrized Macros

Peter Bloomfield peter.bloomfield at camhpet.ca
Fri Feb 26 17:22:53 CET 2010


Hello,

I have downloaded, compiled and installed V6.0, and after checking the installation with the PET benchmark I went to execute one 
of my own simulations. I have hit a problem parametrized macros.

Using the example from the wiki documentation, it I execute the command
	Gate -a CoincWindow 10 -a lld 350 -a uld 650

I get the following
	[G4]
	[G4] *************************************************************
	[G4]  Geant4 version Name: geant4-09-02-patch-01    (13-March-2009)
	[G4]                       Copyright : Geant4 Collaboration
	[G4]                       Reference : NIM A 506 (2003), 250-303
	[G4]                             WWW : http://cern.ch/geant4
	[G4] *************************************************************
	[G4]
	[Core-0] Initialization of geometry
	[Core-0] Initialization of physics
	[Core-0] Initialization of actors
	[Core-0]
	[Core-0] **********************************************************************
	[Core-0]  GATE version name: gate_v6
	[Core-0]                     Copyright : OpenGATE Collaboration
	[Core-0]                     Reference : Phys. Med. Biol. 49 (2004) 4543-4561
	[Core-0]                     WWW : http://www.opengatecollaboration.org/
	[Core-0] **********************************************************************
		[Core-0]
	[Core-0] Starting macro -a
	        [G4-cerr] ***** Can not open a macro file <-a>
	[Gate] Sorry, error in a macro command : abort.

which is the same from my own macros. I have the following system
	OS : openSUSE 11.2 (i586)
	Gate : V6.0
	GEANT : V9.2.p01
	root : V5.25.04
	CLHEP : V2.0.4.2
	gcc : version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux)

Any hints/suggestions will be most appreciated, cheers

Peter



More information about the Gate-users mailing list