[Gate-users] Parametrized Macros

Simon Stute gate.stute at gmail.com
Thu Mar 4 10:55:53 CET 2010


Hi Peter,

Can you please try with the attached Gate.cc main program file, recompile
and test again to see if your problem go away.
Let me know if it works.

Cheers,
Simon

On Fri, Feb 26, 2010 at 5:22 PM, Peter Bloomfield <
peter.bloomfield at camhpet.ca> wrote:

> 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
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gate.cc
Type: text/x-c++src
Size: 12045 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20100304/04e6f219/attachment-0001.cc>


More information about the Gate-users mailing list