Message: Re: ExampleN03 problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: ExampleN03 problem 

Keywords: ExampleNO3 problem
Forum: Documentation and Examples
Re: Question ExampleN03 problem (Taylan Yetkin)
Date: 21 Oct, 2003
From: michel maire <michel maire>

User Taylan Yetkin wrote:

>> I compilled ExampleNO3 without any problem but when I typed
>> $G4WORKDIR/bin/$G4SYSTEM/exapmleNO3 I am getting the following error
>> message:
>> 
>> macro file <vis.mac> could not open.
>> 
>> Does anybody help?

 The macro vis.mac is in the directory: examples/novice/N03

 The program must be started from this directory.
 Otherwise you must update the main : exampleN03.cc in order to indicate
 the path for vis.mac

Inline Depth:
 0 0
 1 1
Add message: (add)

None Re: ExampleN03 problem  Keywords: ExampleNO3 problem
by Jeremy McCormick <Jeremy McCormick>,   21 Oct, 2003
Re: None Re: ExampleN03 problem (michel maire)

Specifying macros can also be done with a relative or absolute path. I sometimes prefer this method.

To keep my work area uncluttered, I usually create a mac directory, so I execute macros from G4 terminal by...

  /control/execute mac/some.mac.

An alternate way using this dir would be specifying a startup alias...

  /control/alias m "/control/execute mac/"

Then...

  /{m} some.mac

None correction to macro alias example  Keywords: ExampleNO3 problem
by Jeremy McCormick <Jeremy McCormick>,   21 Oct, 2003
Re: None Re: ExampleN03 problem (Jeremy McCormick)

I'm sorry, that should have been...

  /{m}some.mac

--Jeremy

 Add Message Add Message
to: "Re: ExampleN03 problem"

 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 ]