[Gate-users] Enable ASCII output - using vGATE
Marc Chamberland
MarcChamberland at cmail.carleton.ca
Wed Aug 7 19:55:24 CEST 2013
Hi Amy,
You have two options.
1) The first and easiest option is to not use the ascii (or binary) output. Instead, you can use the Root output and get the exact same information. The drawback is that you need to learn how to use the Root output. I could provide you with a sample Root script which shows you how to extract the results from a Root file. It's based on C++, so hopefully you have some experience with it.
2) The second option is to apply the fix that you've read about on the mailing list. Namely:
In the GateConfiguration.h.in file found within the home folder of Gate, change this line:
#cmakedefine GATE_USE_FILE @GATE_USE_FILE@
to this:
#cmakedefine GATE_ANALYSIS_USE_FILE @GATE_ANALYSIS_USE_FILE@
Then, recompile Gate. I realize that you may not know how to recompile Gate in vGate, so do the following;
a) Navigate to /home/gate/Progs/Gate and create a new folder called, for example, gate_v6.2_build
b) From the terminal, navigate to that new directory (i.e. /home/gate/Progs/Gate/gate_v6.2_build) and type the following:
ccmake ../gate_v6.2
The cmake menu should open up. Type 'c' to configure, then 'g' to generate. You should be back on the command line.
c) Type:
make
d) I can't remember if the next step is needed, but to be safe type:
sudo make install
(you'll need to enter the admin password, which is 'virtual')
That should re-enable the ascii output.
Cheers,
Marc
__________________________
Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)
On 2013-08-07, at 1:00 PM, Amy Meldrum <ameldru at g.clemson.edu>
wrote:
> Hello all,
>
>
> I am currently running through the example given in the first section of the User's Guide so I can familiarize myself with vGATE. However, when I get to the command '/gate/output/ascii/enable' I get a message saying "Command not found." Is there a way to solve this issue? I had read that something had to be changed in a file somewhere, but I am not sure how to do this using vGATE. I use vGATE because I could not properly install GATE on my own computer.
>
> I hope this is a quick fix so that I will be able to continue using vGATE for my work.
>
>
> Thank you,
>
> -Amy
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list