Message: Problem running an example in vGate. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Problem running an example in vGate. 

Forum: Documentation and Examples
Date: 17 Aug, 2017
From: Kurt Van Delinder <Kurt Van Delinder>

I AM HAVING PROBLEMS RUNNING AN EXAMPLE IN vGATE.

The Gate installation was saved in the standard vGate working directory using Virtual Box (Ubuntu-64 bit)

/Progs/Gate

The example I want to run is saved in the example1 folder located here.

/Progs/Gate/gate_v7.2/examples/example_Radiotherapy/example1

Suppose I open a command terminal. I want to run example 1 located within the example_Radiotherapy/example1 folder called main.mac

I type Gate main.mac and I receive an error because the directory path to the location is not set.

So, now i set the directory path by writing.

cd ./Progs/Gate/gate_v7.2/examples/example_Radiotherapy/example1

Now, I type Gate main.mac

The example runs but, there is a problem within the main macro which states that it cannot find GateMaterials.db or verbose.mac so, I must set the macroPath within the main.mac for the location of these files.

So, in-front of the verbose.mac, I now set the macroPath as listed below.

/control/macroPath /Progs/Gate/ /control/execute mac/verbose.mac

Now, the problem is solved for the verbose.mac and GateMaterials.db but, the other commands in my main.mac file now have directory problems of there own.

THIS IS MY MAIN PROBLEM. A DIRECTORY PROBLEM FOR RUNNING AN EXAMPLE.

I can try using Gate first to run the example and type Gate then run the main.mac macro file.

Gate

Gate runs properly and I now type.

Idle> /control/execute main.mac

I receive an error that says set directory path to main.mac by /control/macroPath .

So, I try to set the macroPath in Gate.

Idle>/control/macroPath /Progs/Gate/gate_v7.2/examples/example_Radiotherapy/example1 /control/execute main.mac

I get no response from Gate

DOES ANYONE KNOW HOW TO GET PAST THIS DIRECTORY PROBLEM? ANY SUGGESTIONS WOULD BE GREATLY APPRECIATED.

Thanks, Kurt Van Delinder

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Problem running an example in vGate.   (Makoto Asai - 17 Aug, 2017)
 Add Message Add Message
to: "Problem running an example in vGate."

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]