Forum: (Graphical) User Interfaces Not Logged In (login)
Show subscribers

Topics covering user interfaces, graphical user interfaces, and related messengers are discussed here.

The email gateway for this forum is: userinterface-g4hn@slac.stanford.edu


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

Question GUI problems in example N03  by Neoh <Neoh>,   Nov 03, 03:30
Hi,

As a newbie I have quite some things that I don't understand. I have compiled example N03 using GUIXm as GUI. In the terminal it shows this message:

You have successfully registered the following graphics systems.
Current available graphics systems are:

  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  FukuiRenderer (DAWN)
  OpenGLImmediateX (OGLIX)
  OpenGLStoredX (OGLSX)
  OpenGLImmediateXm (OGLIXm)
  OpenGLStoredXm (OGLSXm)
  RayTracerX (RayTracerX)
  VRML1 (VRML1)
  VRML2 (VRML2)

My first question is: What are the differences between the four drivers starting with OpenGL, ie OGLIX, OGLSX, OGLIXm, and OGLSXm?

The example N03 pops out a default OGLIX window. It shows the detector and beams, but there is no panel to click on.
My second question is: Do I have to set up those control buttons myself if I want to continue using OGLIX?

So far the one driver with this interactive control capability is OGLSXm, but their panels eg rotation & panning panel just won't close when I supposedly click on the close button.
My third question is: how can I close the panels in OGLSXm after I opened them?

Thanks,


Neoh
1 None: Re: GUI problems in example N03   (John Allison - Nov 03, 04:12)
(_ None: Re: GUI problems in example N03   (Neoh - Nov 03, 06:01)
(_ More: Re: GUI problems in example N03   (garnier - Nov 03, 08:18)
(_ None: Re: GUI problems in example N03   (Neoh - Nov 03, 14:45)
Question gui/addMenu COMMAND NOT FOUND in example N03  by Neoh <Neoh>,   Nov 02, 08:33
Hi,

After compiling and running the novice example N03, when I type "control/execute visTutor/gui.mac" it gives the following error:

/gui/addMenu file File
***** COMMAND NOT FOUND </gui/addMenu file File> *****

***** Batch is interupted!! *****

I found several threads that have similar problem to this one, I have ensured the environment variable eg G4UI_USE_XM=1 are set properly before compiling the example, but still the problem persists.

I notice another quirk which I'm not sure is causing this problem. When I type "make clean" and "make" in my <G4INSTALL>/source/interface/basic/ directory, this is what I get:

Cleaning up ...
Making dependency for file src/G4VUIshell.cc ...
Making dependency for file src/G4UIXm.cc ...
Making dependency for file src/G4UIXaw.cc ...
Making dependency for file src/G4UIWin32.cc ...
Making dependency for file src/G4UIterminal.cc ...
Making dependency for file src/G4UItcsh.cc ...
Making dependency for file src/G4UIQt.cc ...
Making dependency for file src/G4UIcsh.cc ...
Making dependency for file src/G4UIArrayString.cc ...
Compiling G4UIArrayString.cc ...
Compiling G4UIcsh.cc ...
Compiling G4UIQt.cc ...
Compiling G4UItcsh.cc ...
Compiling G4UIterminal.cc ...
Compiling G4UIWin32.cc ...
Compiling G4UIXaw.cc ...
Compiling G4UIXm.cc ...
src/G4UIXm.cc: In constructor ‘G4UIXm::G4UIXm(int, char**)’:
src/G4UIXm.cc:134: warning: deprecated conversion from string constant to ‘char*’
src/G4UIXm.cc: In member function ‘void G4UIXm::Prompt(G4String)’:
src/G4UIXm.cc:205: warning: deprecated conversion from string constant to ‘char*’
src/G4UIXm.cc: In member function ‘virtual void G4UIXm::AddMenu(const char*, const char*)’:
src/G4UIXm.cc:320: warning: deprecated conversion from string constant to ‘char*’
Compiling G4VUIshell.cc ...
Creating/replacing object files in /home/neohys/geant4/geant4.9.2.p02/lib/Linux-g++/libG4UIbasic.a ...
ar: creating /home/neohys/geant4/geant4.9.2.p02/lib/Linux-g++/libG4UIbasic.a


It still compiles, but with warnings, and I feel uneasy about it. Can anyone shed light on how to eliminate those warnings?

Thanks

Neoh
1 None: Re: gui/addMenu COMMAND NOT FOUND in example N03   (John Allison - Nov 02, 14:15)
(_ Idea: Re: gui/addMenu COMMAND NOT FOUND in example N03   (Neoh - Nov 03, 02:46)
Question Deleting a sub-G4UIdirectory deletes the entire hierarchy  by Kevin Lynch <Kevin Lynch>,   Oct 28, 12:23
In my application, I have volumes that I allow my users to turn on and off at run time through the Messenger framework. Works fine.

For some of those volumes, there are additional commands that should be present in the command hierarchy when the volume is enabled, and which I want to remove if the volume is disabled. So in one of my messengers, I have items like the following:

void octupoleMessenger::enable_field_messenger() {
  if( ofmess_ == 0 )
    ofmess_ = new octupoleFieldMessenger(this);
}

void octupoleMessenger::disable_field_messenger() {
  if( ofmess_ != 0 ){
    // FIXME ... this deletes the entire g2MIGTRACE hierarchy!
    delete ofmess_; 
    ofmess_ = 0;
  }
}

The enable_field_messenger call works just fine ... the whole sub-hierarchy appears as expected, and all the commands in it work fine.

The problem is the disable_field_messenger() call. For testing purposes, the destructor of ofmess_ is

octupoleFieldMessenger::~octupoleFieldMessenger(){
  delete ofDirectory_;
}

now, the constructor sets up ofDirectory_ as

  ofDirectory_ = new G4UIdirectory( "/g2MIGTRACE/octupole_coil/field/" );

When the destructor is called, the directory "/g2MIGTRACE" (and all its subdirectories and commands, of course) disappears entirely!

I'm using 4.9.2.p02, but I tried this back in the 4.8 days with the same results. Incidentally, this doesn't seem to be restricted to G4UIdirectory, but to the deletion of ANY G4UIcommand.

Am I doing something wrong, or is this a bug in the library?

1 More: PATCH: Deleting a sub-G4UIdirectory deletes the entire hierarchy   (Kevin Lynch - Oct 29, 18:17)
(_ More: Re: PATCH: Deleting a sub-G4UIdirectory deletes the entire hierarchy   (Kevin Lynch - Oct 29, 20:19)
Warning /control/execute not working, patch needed on G4VBasicShell.cc  by Luis Cardoso <Luis Cardoso>,   Oct 10, 11:55
I'd like to report what I think to be a bug and, happily, how I solved it.

In the graphical interfaces (Xm, Qt) commands strings that match some shorter commands are trimmed and executed as those shorter commands. For example: "/control/execute some_macro.mac" does not work because anything starting with "cont" is understood as the short for "continue".
I don't understand why the terminal UI doesn't get this mess, but the culprit is
/Geant/geant4.9.2.p02/source/interfaces/common/src/G4VBasicShell.cc
which I corrected, based on
/Geant/geant4.9.2.p02/source/interfaces/basic/src/G4UIterminal.cc
by replacing:

  } else if( command(0,2) == "cd" ) {
with
  } else if( command == "cd" || command(0,3) == "cd ") { // "cd"

  } else if( command(0,4) == "help" ) {
with
  } else if( command == "help" || command(0,5) == "help ") { // "help"

  } else if( command(0,4) == "hist" ) {
with
  } else if( command == "hist" || command == "history") { // "hist/history"

  } else if( command(0,4) == "cont" ) {
with
  } else if( command == "cont" || command == "continue"){ // "cont/continue"


Hope this helps someone!

Luis
Question G4UIterminal.hh and G4UItcsh.hh  by <lindx_lzu@hotmail.com>,   Sep 26, 19:39
Hi,friends, I am a freshman in this forum, and I got some problem in the examples/N02. When I tried to make N02 after osc-g4-vis,the error of G4UIterminal.hh and G4UItcsh.hh appeared. This is the step of my making: $osc-g4-vis (in the N02 directory) $unset CPPVERBOSE $make making dependency for file exampleN02.cc ... exampleN02.cc:44:27: error: G4UIterminal.hh: no such file or directory exampleN02.cc:45:23: error: G4UItcsh.hh: no such file or directory ..... .......

I have no idea how to deal with it. Could I ask for your help? Thank you very much in advance.

Darrell

1 None: Re: G4UIterminal.hh and G4UItcsh.hh   (Guy Barrand - Sep 27, 04:50)
1 None: Re: G4UIterminal.hh and G4UItcsh.hh   (lindx_lzu@hotmail.com - Sep 27, 06:53)
2 Ok: Re: G4UIterminal.hh and G4UItcsh.hh   (lindx_lzu@hotmail.com - Sep 28, 01:40)
3 Ok: Re: G4UIterminal.hh and G4UItcsh.hh   (lindx_lzu@hotmail.com - Sep 28, 01:41)
None G4UItcsh  by donato grassi <donato grassi>,   Sep 02, 13:03
Hi! I have installed g4.9.1.p01 on MW with MVC++9.0. When I try to compile an example with the EV G4UI_USE_TCSH set, where this setting make sense, I get the error message C2061 syntax error : identifier 'identifier'The compiler found an identifier where it wasn't expected. Someone can help me to fix this problem? Thank You in advance.

Question Qt and Geant 4.9.2 integration  by Deepak Samuel <Deepak Samuel>,   01 Apr, 2009
Hi,
I am a beginner in Geant and have just installed Geant 4.9.2 with QT driver
options turned on. I could run some of the novice examples. I would like to
know if Geant can be used in a Qt application. That is, I have a GUI designed
using Qt and I have a Opengl widget embedded in that GUI and now I want all
the Geant visualization to be output to this Widget. Is this currently possible?
 To begin with I just added the main Geant header files (and nothing else)
namely
#include "G4RunManager.hh"
#include "G4UImanager.hh"
to my Qt application and using  pro files I generated the make file. While
compiling I get the following errors :

mysim.o(.text+0x6fa): In function `global constructors keyed to _ZN5mysimC2EP7QWidget': : undefined reference to `CLHEP::HepRandom::createInstance()' mysim.o(.gnu.linkonce.t._ZNK12G4VTouchable9GetVolumeEi+0x18): In function `G4VTouchable::GetVolume(int) const': : undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)' mysim.o(.gnu.linkonce.t._ZNK12G4VTouchable8GetSolidEi+0x18): In function `G4VTouchable::GetSolid(int) const': : undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)' mysim.o(.gnu.linkonce.t._ZNK12G4VTouchable16GetReplicaNumberEi+0x18): In function `G4VTouchable::GetReplicaNumber(int) const': : undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)' mysim.o(.gnu.linkonce.t._ZN12G4VTouchable13MoveUpHistoryEi+0x18): In function `G4VTouchable::MoveUpHistory(int)': : undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)' mysim.o(.gnu.linkonce.t._ZN12G4VTouchable14UpdateYourselfEP17G4VPhysicalVolumePK19G4NavigationHistory+0x18): In function `G4VTouchable::UpdateYourself(G4VPhysicalVolume*, G4NavigationHistory const*)': : undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)' mysim.o(.gnu.linkonce.t._ZNK12G4VTouchable15GetHistoryDepthEv+0x18): more undefined references to `G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)' follow mysim.o(.gnu.linkonce.t._ZN11G4AllocatorI15G4CountedObjectI12G4VTouchableEEC1Ev+0xc): In function `G4Allocator<G4CountedObject<G4VTouchable> >::G4Allocator()': : undefined reference to `G4AllocatorPool::G4AllocatorPool(unsigned int)' mysim.o(.gnu.linkonce.t._ZN11G4AllocatorI15G4CountedObjectI12G4VTouchableEED1Ev+0xa): In function `G4Allocator<G4CountedObject<G4VTouchable> >::~G4Allocator()': : undefined reference to `G4AllocatorPool::~G4AllocatorPool()' collect2: ld returned 1 exit status gmake: *** [mysim] Error 1

My question is there anything that I need to add to the pro files to get rid of these. Geant has provided the make files for the examples only.How do I generate a makefile, or what else is required, in a case like mine ? Thanks and Regards, Deepak Samuel.

1 Feedback: Re: Qt and Geant 4.9.2 integration   (garnier - 20 Apr, 2009)
(_ Question: Re: Qt and Geant 4.9.2 integration   (Thomas Kluge - Sep 24, 06:04)
None MOMO  by Ritika Garg <Ritika Garg>,   24 Mar, 2009
In the users guide for application developers, on page 19 its mentioned that: If MOMO.jar is in your CLASSPATH, it can be run by a command: %java -jar MOMO.jar

Does the line if MOMO.jar is in your CLASSPATH mean that the path where MOMO.jar is present,should be added to the environment variable CLASSPATH? In my case MOMO.jar is in geant4/geant4.8.1.p01/environment/MOMO

Also when I give the command :echo $CLASSPATH, nothing is displayed. Does that mean that there is no variable called CLASSPATH?

1 None: Re: MOMO   (Joseph Perl - 27 Mar, 2009)
Question GUI problem in Geant 4.9.1 on Suse Linux 11.0  by M Tariq Siddique <M Tariq Siddique>,   10 Sep, 2008
i am new in geant4 users. i have install the Geant4.9.1 code on suse linux 11.0 with motif (xm enabled) successfully. it gave no errors. later when i compile and execute the exampleN03 to observe the GUI it run with simple UIterminal. during run it gives the list of registered graphic system which is given below.

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  OpenGLImmediateX (OGLIX)
  OpenGLStoredX (OGLSX)
  OpenGLImmediateXm (OGLIXm)
  OpenGLStoredXm (OGLSXm)
  RayTracerX (RayTracerX)

and when i try to run the gui.mac manually it gives following message

Idle> /control/execute visTutor/gui.mac /control/execute visTutor/gui.mac

#
# This file permits to customize, with commands,
# the menu bar of the G4UIXm, G4UIWin32 sessions.
# It has no effect with G4UIterminal.
#
# File :
/gui/addMenu file File ***** COMMAND NOT FOUND </gui/addMenu file File> *****

***** Batch is interupted!! *****

can some one tell me what is the problem and how to solve it for a working gui

1 None: Re: GUI problem in Geant 4.9.1 on Suse Linux 11.0   (John Allison - 11 Sep, 2008)
(_ More: Re: GUI problem in Geant 4.9.1 on Suse Linux 11.0   (M Tariq Siddique - 11 Sep, 2008)
(_ None: Re: GUI problem in Geant 4.9.1 on Suse Linux 11.0   (John Allison - 12 Sep, 2008)
(_ More: Re: GUI problem in Geant 4.9.1 on Suse Linux 11.0   (M Tariq Siddique - 14 Sep, 2008)
(_ None: Re: GUI problem in Geant 4.9.1 on Suse Linux 11.0   (John Allison - 15 Sep, 2008)
None geant4 and GUIRoot compilation error on MacOS X 10.5  Keywords: Cristian Bungau
by Cristian Bungau <Cristian Bungau>,   19 Apr, 2008

Hi,

When I compile my code (using Geant4.9.1.p01 and root 5.19) (on MacOSX 10.5) I get the following error:

Linking exampleN03 ...
Undefined symbols:
  "non-virtual thunk to G4RootTextFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootMainFrame::Class()", referenced from:
      G4RootMainFrame::IsA() const in libG4UIROOT.a(G4RootMainFrame.o)
  "ROOT::GenerateInitInstance(G4RootMainFrame const*)", referenced from:
      __static_initialization_and_destruction_0(int, int)in libG4UIROOT.a(G4RootMainFrame.o)
  "non-virtual thunk to G4RootMainFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "ROOT::GenerateInitInstance(G4RootTextFrame const*)", referenced from:
      __static_initialization_and_destruction_0(int, int)in libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootMainFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "G4RootTextFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "non-virtual thunk to G4RootTextFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootTextFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootMainFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "non-virtual thunk to G4RootMainFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "G4RootTextFrame::Class()", referenced from:
      G4RootTextFrame::IsA() const in libG4UIROOT.a(G4RootTextFrame.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Users/cristian/geant4/bin/Darwin-g++/DarkMatter] Error 1

I would be very grateful if you could please let me know how to solve this.

Thanks,

Cristian

None The GUI problem of N03  Keywords: GUI
by <yfdeng@student.dlut.edu.cn>,   31 Mar, 2008

Hello, 
   I have a problem with the example N03. When I run the N03 first time, the program can get the GUI 
window and I can use it to control the program. Then I stop the program by the command "exit" in Idel state. 
But, it very disappointting that there is no a GUI window when I compile and run the N03 again. And I try to 
run the file "gui.mac" manually, but the system give a error as "***** COMMAND NOT FOUND </gui/addMenu> *****". 
The same error is given to other gui command.
   Who knows the reasons fot the problem? Can you help me? Thank you very much!

1 None: Re: The GUI problem of N03   (John Allison - 31 Mar, 2008)
3 None: Re: The GUI problem of N03   (yfdeng@student.dlut.edu.cn - 06 Apr, 2008)
None How to create ASCII output?  Keywords: ASCII
by Anil <Anil>,   14 Dec, 2007

Hello, I started using GEANT newly. Can I request you to tell me how to store the output of an example application in ASCII file?

1 None: Re: How to create ASCII output?   (John Allison - 14 Dec, 2007)
(_ None: Re: How to create ASCII output?   (David Oxley - 16 Dec, 2007)
(_ None: Re: How to create ASCII output?   (John Allison - 16 Dec, 2007)
(_ None: Re: How to create ASCII output?   (David Oxley - 17 Dec, 2007)
(_ None: Re: How to create ASCII output?   (Anil - 02 Feb, 2008)
Question problem linking G4Sample Openscientist package  by Emanuele Santovetti <emanuele.santovetti@roma2.infn.it>,   09 Oct, 2007

Dear geant4 users, compiling the OpenScientist geant4 interface (G4Sample), in the link phase I got the error: /home/santovet/OpenScientist/v16r1/G4Lab/v8r1p0/bin_obuild/libG4LabCore.so: undefined reference to `Geant4_SoAlternateRepAction::getGenerate() const' /home/santovet/OpenScientist/v16r1/G4Lab/v8r1p0/bin_obuild/libG4LabCore.so: undefined reference to `Geant4_SoAlternateRepAction::getClassTypeId()'. I installed and compiled geant4 with the OpenInventor graphic interface apparently without any error and OpenInventor seems to work properly on my machine (linux fc7). Has anybody some ideas to suggest? Thanks in advance, Emanuele Santovetti.

1 None: Re: problem linking G4Sample Openscientist package   (Guy Barrand - 15 Oct, 2007)
Question Output text problem?  Keywords: G4cin, G4cout
by John <calculus7@gmail.com>,   29 Sep, 2007

I'm writing a program to take custom input from a user, just like with the standard cin and cout of C++. I tried using G4cout and G4cin in my RunAction class and in main. Both times I did not see the prompting text (i.e., the text I want to display using G4cout). When I tried to simulate, Geant4 started up and then halted with a blinking cursor. I realized that it was waiting for my input (G4cin) but strangely enough it had skipped my G4cin commands that came before it! Once I had entered in all the G4cin prompts the program finally showed the G4cout text. I just learned how to use messenger classes and I know that I could also use macros, but I really don't want to do that. I just want a simple input/output interface that a standard user (i.e., my professor) could use. I would appreciate any help on this matter. Thanks!

Warning Parameter range: operator * is not supported in G4UIcommand  Keywords: Parameter range: operator * is not supported in G4UIcommand
by Lam YiHua <LamYiHua@gmail.com>,   24 Jan, 2007

dear folks,

DMXDetectorMessenger::DMXDetectorMessenger
   (DMXDetectorConstruction* DC):detectorConstruction(DC) {
...
...
  EKineCutCmd->SetRange("ECut>=250.0*eV");
  RoomEKineCutCmd->SetRange("ECut>=250.0*eV");
...
...

Remove * in these two syntax

  EKineCutCmd->SetRange("ECut>=250.0*eV");
  RoomEKineCutCmd->SetRange("ECut>=250.0*eV");

else you will get error message Parameter range: operator * is not supported.

***** Illegal parameter (99) <XXX/MinEnergyCut  0.001 MeV>*****
***** Command ignored *****

regards,

YiHua

Question GAG and codepage problem  Keywords: encoding GAG
by Alain Ferragut <Alain Ferragut>,   14 Dec, 2006

Hi ! It seems that now, Red Hat Linux is using UTF-8 as codepage encoding. I have problems with french characters such as à, é ...etc They are displayed by ugly squares in GAG graphical output. What can I do ??? thanks... Alain

1 None: Re: GAG and codepage problem   (Alain Ferragut - 15 Dec, 2006)
None /gun command directory disappearing  Keywords: gun, command, UI
by Jonathan <Jonathan>,   28 Sep, 2006

Hi all. Hopefully this is an easy one I am missing. When I first start the simulation, my default /gun UI directory is present and normal. After I execute once, it disappears. Therefore, all of my subsquent /gun commands I try to issue are invalid. I don't know what could be causing this. I didn't think the /gun commands were state dependent, and I haven't had this problem in other simulations. I have not defined my own messenger classes either, just wanted to rely on the default ones. Any help would be greatly appreciated!

Jon

1 None: Re: /gun command directory disappearing   (Makoto Asai - 30 Sep, 2006)
None Running my project and output to ROOT  Keywords: ROOT
by <huikinglam02@hotmail.com>,   20 Jul, 2006

Hello, this is the first time I am here I have written a code in Geant4.8.0.p01, and part of the code is to output the track information into a ROOT Tree. However, when I tried to make the file, it said to me the following error:

LINK: fatal error LNK1181: cannot open input file 'libMinuit.a'
I am using the Windows XP newest version of ROOT.And I believe I am configured all the necessary environment, like setting G4UI_ROOT to 1, and have included the libraries. Thanks for your help

None G4UIRoot w/ Root5.11 and Geant4.8.0.p01  by <jmorris@slac.stanford.edu>,   29 Jun, 2006
Has anyone got this combonation to work:

G4UIRoot, Root5.11, Geant4.8.0.p01

I'm having a hell of a time.  Currently I'm getting this error when I
try and compile an example:

/home/jmorris/geant4/geant4.8.0.p01/lib/Linux-g++/libG4UIROOT.so: undefined reference to `TGCompositeFrame::SetEditDisabled(bool)'
collect2: ld returned 1 exit status
make: *** [/home/jmorris/geant4/bin/Linux-g++/exampleN01] Error 1


What is the general procedure to debug this error? Is it an environment
variable missing?  Is it a configuration problem?

Thanks

Here's my environment:
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home/jmorris/geant4/geant4.8.0.p01
On this machine the G4INCLUDE=/home/jmorris/geant4/geant4.8.0.p01/include
On this machine the G4TMP=/home/jmorris/geant4/geant4.8.0.p01/tmp
On this machine the G4LIB=/home/jmorris/geant4/geant4.8.0.p01/lib
On this machine the G4LEVELGAMMADATA=/home/jmorris/geant4/geant4.8.0.p01/data/PhotonEvaporation
On this machine the G4RADIOACTIVEDATA=/home/jmorris/geant4/geant4.8.0.p01/data/RadiativeDecay
On this machine the G4LEDATA=/home/jmorris/geant4/geant4.8.0.p01/data/G4EMLOW3.0
On this machine the NeutronHPCrossSections=/home/jmorris/geant4/geant4.8.0.p01/data/G4NDL3.7
On this machine the G4ELASTICDATA=/home/jmorris/geant4/geant4.8.0.p01/data/G4ELASTIC1.1
On this machine the CLHEP_BASE_DIR=/usr/local
On this machine the CLHEP_INCLUDE_DIR=/usr/local/include
On this machine the CLHEP_LIB_DIR=/usr/local/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_BUILD_ROOT_SESSION=1
On this machine the G4UI_USE_ROOT=1
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_OPENGLXM=1
On this machine the G4LIB_BUILD_SHARED=1
On this machine the G4LIB_USE_GRANULAR=1
export ROOTSYS="/home/jmorris/geant4/root"
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH="/usr/local/lib:/usr/X11R6/lib64:/usr/X11R6/lib:$ROOTSYS/lib"
export LIBRARY_PATH="/usr/local/lib:/usr/X11R6/lib64"
None G4VVisPrim in Geant4.7.1 and G4VVisManager in Geant4.8.0  Keywords: G4VVisPrim G4VVisManager
by <zhongwl@ihep.ac.cn>,   29 Mar, 2006

Hello,

It seems that there is no Class G4VVisPrim in Geant4.8.0 any more. However there is a new class G4VVismanager in source/graphics_reps. Is it the replacer of G4VVisPrim in Geant4.7.1? But the G4VVisPrim is inherited from G4Visible, and G4VVisManager is inherited from G4VisManager.

The Class G4Polyhedron is inherited from G4Visible in Geant4.8.0, however it is inherited from G4VVisPrim in Geant4.7.1. If I want to modify a class inherited from G4Polyhedron of Geant4.8.0 which was inherited from G4Polyhedron of Geant4.7.1 before, what should I do? If my class is only inherite from G4Polyhedron, the visulization doesn't work. Need I let the class derive both from G4Polyhedron and G4VVisManager?

Thank you.

1 None: Re: G4VVisPrim in Geant4.7.1 and G4VVisManager in Geant4.8.0   (John Allison - 30 Mar, 2006)
(_ None: Re: G4VVisPrim in Geant4.7.1 and G4VVisManager in Geant4.8.0   (zhongwl@ihep.ac.cn - 30 Mar, 2006)
(_ None: Re: G4VVisPrim in Geant4.7.1 and G4VVisManager in Geant4.8.0   (John Allison - 31 Mar, 2006)
(_ None: Re: G4VVisPrim in Geant4.7.1 and G4VVisManager in Geant4.8.0   (zhongwl@ihep.ac.cn - 31 Mar, 2006)
Question How to set ApplyCut to ON?  Keywords: ApplyCut
by <zhangqm@ihep.ac.cn>,   19 Dec, 2005

In the Geant4 User's Guide, The following content is mentioned: ....................................................................... ApplyCut is OFF: do nothing. All the secondaries are stacked (and then tracked later on), regardless of their initial energy. The Geant4 kernel respects the best that the physics can do, but neglects the overall coherence and the efficiency. Energy conservation is respected as far as the processes know how to handle correctly the particles they produced! ApplyCut in ON: the TrackingManager checks the range of each secondary against the production threshold and against the safety. The particle is stacked if range > min(cut,safety). ....................................................................... In the passage in this forum, the following content is mentioned: ..................................................................... The ApplyCut is Off by default, and needs to be On with /run/particle/applyCuts. ......................................................................

but I can't find the interface method in run.

1 None: Re: How to set ApplyCut to ON?   (vnivanch@mail.cern.ch - 19 Dec, 2005)
2 None: Re: How to set ApplyCut to ON?   (michel maire - 22 Dec, 2005)
Question Problems with G4UItcsh and Control-D  Keywords: G4UItcsh Control-D EOT
by Adrian Vogel <adrian.vogel@desy.de>,   07 Dec, 2005

Hello,

I'm using G4UItcsh and I see a strange problem: When I type Control-D (the end-of-text character in ASCII) at the Idle> prompt of my self-made application, the program exits as expected, but afterwards the behaviour of my shell is messed up – I don’t get an echo any more as I type. Only after calling the Unix command reset everything is okay again.

Moreover, when I hit Control-D in Mokka (the detector simulation for the ILC), I get nothing but a segmentation fault. The debugger says that this originates from:

#11 0x08097179 in main (argc=1, argv=0xbfffdc74) at Mokka.cc:171
#10 0x08368ecd in G4UIterminal::SessionStart ()
#9  0x08369712 in G4UIterminal::GetCommand ()
#8  0x08367f97 in G4UItcsh::GetCommandLine ()
#7  0x08367f2e in G4UItcsh::ReadLine ()
#6  0x407e4b0f in exit () from /lib/libc.so.6
#5  0x08ae0753 in __tcf_0 ()
#4  0x08add1c5 in G4LossTableManager::~G4LossTableManager ()
#3  0x08350ad4 in G4eIonisation::~G4eIonisation ()
#2  0x40764283 in operator delete (ptr=0x9464cd4) at /usr/src/packages/BUILD/gcc-3.3.3/libstdc++-v3/libsupc++/del_op.cc:39
#1  0x4082fa5f in free () from /lib/libc.so.6
#0  0x40830d68 in _int_free () from /lib/libc.so.6

I don’t think you can do a major mistake when instantiating a G4UIsession and calling G4UIsession::SessionStart(), so I suppose that Mokka is not to blame for the crash – at least not directly.

Has anybody else seen things like in the first and/or second case? What could be going wrong, and what can be done against it? I'm currently using Geant 4.7.1.p01 (but the same has occurred with earlier versions, too), gcc 3.2.3 20030502 (Red Hat Linux 3.2.3-14) (again, the same has also happened with another version of gcc), and bash 2.05b.0(1)-release (the problem with the missing echo does not occur in [t]csh, zsh, or ksh).

Cheers,
Adrian

1 Note: Re: Problems with G4UItcsh and Control-D   (Adrian Vogel - 09 Dec, 2005)
3 More: Re: Problems with G4UItcsh and Control-D   (Adrian Vogel - 04 Dec, 2007)
None Pythonized interface (beta release) will soon be available.  Keywords: Puythonised interface root
by Hajime YOSHIDA <Hajime YOSHIDA>,   20 Nov, 2005
At the Geant4 Workshop 2005, we reported on the new
Pythonized interface of Geant4 developed by Koichi Murakami of KEK.
The beta version will be available soon from the Web site at KEK,
after some documentation works.
After serious test period, we hope it can be distributed in the
Geant4 public release. So your collaboration is welcome.
Please contact Koichi.Murakami@kek.jp or yoshidah@naruto-u.ac.jp.

You might be interested in its feature that PyROOT can be
connected on the common Python bus, which Koich demonstrated at the
workshop.


  hajime Yoshida
Question GEANT4.7.1 and GAG  Keywords: GAG
by Alain Ferragut <Alain Ferragut>,   29 Sep, 2005

Hello, has anybody tried last 7.1 G4 version with GAG ? Any comments ? No problems ?

Thanks,

Alain

1 None: Re: GEANT4.7.1 and GAG   (Hajime YOSHIDA - 10 Nov, 2005)
Question problems with GAG and G4.7.1  Keywords: GAG
by Alain Ferragut <Alain Ferragut>,   05 Sep, 2005

Hi, I am currently using G4.7.1. I recompiled my application source code on G4.7.1. Before, I used G4.7.0. So I did not change the code. Unfortunately, I have a problem with the command "java gag". GAG is launched correctly, but when I try to launch my application with GAG, GAG seems to stop at the step :"Making command tree". Then the terminal screen comes back to the message "Welcome to Geant4 adaptative GUI". I know my application is working in batch mode, and the binary I made with G4.7.0 worked well with GAG. It looks as if GAG looses the communication with the user application. Any hints ? Thanks,

                  Alain

1 None: Re: problems with GAG and G4.7.1   (Alain Ferragut - 06 Sep, 2005)
3 None: Re: problems with GAG and G4.7.1   (Alain Ferragut - 07 Sep, 2005)
Question Verbose level of examples/novice/N06  Keywords: verbose level
by Maria Lucia <lucia.magliozzi@iss.infn.it>,   29 Aug, 2005
Hello!!

Can I control via macro
the verbose level?

particulary in examples/novice/N06
can i "turn off" the output

...
Photon at Boundary!
 Old Momentum Direction: (0.81043764,-0.31648314,-0.49297998)
 Old Polarization:       (-0.31578235,0.47278573,-0.8226513)
 New Momentum Direction: (0.61116244,-0.42759883,-0.66606285)
 New Polarization:       (0.43935541,0.8832385,-0.16387978)
....

?????
In which way?

Thank you a lot


MLucia
None Geant4 with Root  Keywords: Geant4.7.0 Root 4.02
by Courtine Fabien <courtine@clermont.in2p3.fr>,   17 Jun, 2005
Hello,
I work on my pc with geant4.7.0,gcc3.2.3 and Root 4.02.
I write a few code and it works very well.
Then, i put all the code (geant4+root+my code) on a cluster with gcc3.2.3.
I compile geant4 and it 's ok.
But when I want to compile my code, i have got a probleme with link :
Using granular libraries ...
Linking Csaa ...
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TROOT::TROOT[in-charge](char const*, char const*, void (**)())'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TStorage::ObjectAlloc(unsigned)'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TROOT::~TROOT [in-charge]()'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TNtuple::TNtuple[in-charge](char const*, char const*, char const*, int)'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TObject::operator delete(void*)'
/users_local2/tl/courtine/users_local/work/geant4/tmp/Linux-g++/Csaa/libCsaa.so: undefined reference to `TFile::TFile[in-charge](char const*, char const*, char const*, int)'
collect2: ld a retourné 1 code d'état d'exécution
gmake: *** [/users_local2/tl/courtine/users_local/work/geant4/bin/Linux-g++/Csaa] Erreur 1
I check that i have G4_BUILD_ROOT_SESSION, G4_UI_USE_ROOT, G4LIB_BUILD_SHARED and H4LIB_USE_SHARED set to 1.
I also check ROOTSYS and LD_LIBRARY_PATH (i add $G4WORKDIR/tmp/$G4SYSTEM/Csaa).
I don't understand why it fails when linking on this cluster.
Can anybody help me?
Thanks.
Fabien 
1 None: Re: Geant4 with Root   (S.Fonseca UERJ/Brazil - 27 Oct, 2005)
None Help:"/usr/bin/ld: cannot find -lCLHEP"  by zhang <windstep@sohu.com>,   19 Mar, 2005

This is the first time i using the lib. There is a problem when i build the first example. Please help me:

[root@scu2 N01]# gmake Using granular libraries ... Linking exampleN01 ... /usr/bin/ld: cannot find -lCLHEP

collect2: ld returned 1 exit status
gmake: *** [/root/geant4/bin/Linux-g++/exampleN01] Error 1

I don't understand above message,for I have install the "clhep" lib and installed the geant4.

the env.csh file is:

# g4clhep.U
#
if ( X/usr/clhep != X ) then setenv CLHEP_BASE_DIR "/usr/clhep" echo "On this machine the CLHEP_BASE_DIR=$CLHEP_BASE_DIR" endif

#+ if ( X/usr/clhep/include != X ) then setenv CLHEP_INCLUDE_DIR "/usr/clhep/include" echo "On this machine the CLHEP_INCLUDE_DIR=$CLHEP_INCLUDE_DIR" endif

#+ if ( X/usr/clhep/lib != X ) then setenv CLHEP_LIB_DIR "/usr/clhep/lib" echo "On this machine the CLHEP_LIB_DIR=$CLHEP_LIB_DIR" endif

#+ if ( XCLHEP != X ) then

setenv CLHEP_LIB "CLHEP" echo "On this machine the CLHEP_LIB=$CLHEP_LIB" endif

thanks a log                                
                    

1 Feedback: Re: Help:"/usr/bin/ld: cannot find -lCLHEP"   (timtran@jlab.org - 09 May, 2005)
Question undefined reference to `G4UIGAG::G4UIGAG()'  Keywords: link problem with libG4UIGAG.so
by Kazuyoshi Furutaka <Kazuyoshi Furutaka>,   22 Jan, 2005
I'm using geant4 7.0 (CLHEP-1.8.1.0) on a Fedora Core 3
system (gcc/g++ ver.3.4.2, GNU Make 3.80, GNU ld ver.2.15.92.0.2).

When I tried to make the modified exampleN02 to use GAG
with the modification attached at the bottom of this message
(and G4UI_USE_GAG=1, G4UI_USE_TCSH is unset), the link failed
because of the lack of the reference to 'G4UIGAG::G4UIGAG()'.
# It was ok at the time of geant4 6.1.

The same code could be compiled by unsetting G4UI_USE_GAG
(and even with G4UI_USE_TCSH=1).

The 'libG4UIGAG.so' file exists in the $G4LIB/$G4SYSTEM directory
with the 'libG4UIbasic.so' and 'libG4UIcommon.so' files.

What's happening?
Is there anyone who can compile the modified code on the
same configuration (Fedora core 3 or the like)?
Any suggestion/comments are welcome.

Thanks in advance.

Kazuyoshi


--- exampleN02.cc       2004-12-18 01:07:12.000000000 +0900
+++ exampleN02GAG.cc    2005-01-22 18:16:02.534190180 +0900
@@ -45,6 +45,10 @@
 #include "ExN02VisManager.hh"
 #endif

+#ifdef G4UI_USE_GAG
+#include "G4UIGAG.hh"
+#endif
+
 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

 int main(int argc,char** argv) {
@@ -85,6 +89,8 @@
     G4UIsession * session = 0;
 #ifdef G4UI_USE_TCSH
       session = new G4UIterminal(new G4UItcsh);
+#elif defined G4UI_USE_GAG
+      session = new G4UIGAG;
 #else
       session = new G4UIterminal();
 #endif
--- GNUmakefile 2004-12-18 01:07:12.000000000 +0900
+++ GNUmakefile.GAG     2005-01-22 18:13:55.765255783 +0900
@@ -3,7 +3,7 @@
 # GNUmakefile for examples module.  Gabriele Cosmo, 06/04/98.
 # --------------------------------------------------------------

-name := exampleN02
+name := exampleN02GAG
 G4TARGET := $(name)
 G4EXLIB := true

1 More: Re: undefined reference to `G4UIGAG::G4UIGAG()'   (Kazuyoshi Furutaka - 23 Jan, 2005)
3 None: Re: undefined reference to `G4UIGAG::G4UIGAG()'   (John Allison - 23 Jan, 2005)
1 Ok: Re: undefined reference to `G4UIGAG::G4UIGAG()'   (Kazuyoshi Furutaka - 23 Jan, 2005)
(_ None: Re: undefined reference to `G4UIGAG::G4UIGAG()'   (John Allison - 23 Jan, 2005)
(_ Sad: Re: undefined reference to `G4UIGAG::G4UIGAG()'   (Kazuyoshi Furutaka - 23 Jan, 2005)
1 None: Re: undefined reference to `G4UIGAG::G4UIGAG()'   (John Allison - 23 Jan, 2005)
... 2 Message(s)
3 None: Re: undefined reference to `G4UIGAG::G4UIGAG()'   (Hajime YOSHIDA - 26 Jan, 2005)
...
Question determining batch / interactive mode from within program  by Dipanjan Ray <DRay@lbl.gov>,   16 Nov, 2004
I was wondering what is the proper way to tell whether one is 
running in batch or interactive mode from within a Geant4 program.

Currently I am using RTTI as follows:


#include <typeinfo>
#include "G4UImanager.hh"
#include "G4UIsession.hh"
#include "G4UIbatch.hh"

<...>

   G4UIsession pSession =
      G4UImanager::GetUIpointer()->GetSession();
   if ( typeid(*pSession) == typeid(G4UIbatch) )  {
      /* batch mode */
   }
   else  {
      /* interactive mode */
   }


This seems to work OK, but I was wondering if there was a better way, 
if this will always work, etc.

None ROOT + GEANT4  by Jacek M. Holeczek <holeczek@us.edu.pl>,   05 Nov, 2004
Hi,
Maybe someone has met the following problem (root v4.00.08 / slc3,
geant4-06-02-patch-02).

When using the G4UI Xaw based session :
--------------------------------
### Run 0 start.
/vis/scene/notifyHandlers
Start Run processing.

---> Begin of event: 0

--------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 9876, 54321
----------------------------------------
---> End of event: 0
Run terminated.
Run Summary
  Number of events processed : 1
  User=20s Real=25s Sys=3.2s
/vis/viewer/update

 *** Break *** segmentation violation
 Generating stack trace...
 0x01264961 in <unknown> from /usr/X11R6/lib/libX11.so.6
 0x01225893 in XFindContext + 0xc3 from /usr/X11R6/lib/libX11.so.6
 0x06258dea in <unknown> from /usr/X11R6/lib/libXaw.so.7
 0x0625b5b3 in <unknown> from /usr/X11R6/lib/libXaw.so.7
 0x0624ebaf in <unknown> from /usr/X11R6/lib/libXaw.so.7
 0x0423ba3a in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x0423bf78 in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x0423c573 in _XtTranslateEvent + 0x83 from /usr/X11R6/lib/libXt.so.6
 0x04214834 in XtDispatchEventToWidget + 0x184 from /usr/X11R6/lib/libXt.so.6
...
--------------------------------

When using the G4UI Xm based session :

--------------------------------
 *** Break *** segmentation violation
 Generating stack trace...
 0x011a4961 in <unknown> from /usr/X11R6/lib/libX11.so.6
 0x01165893 in XFindContext + 0xc3 from /usr/X11R6/lib/libX11.so.6
 0x085711de in _XmGetWidgetExtData + 0x4e from /usr/X11R6/lib/libXm.so.3
 0x0856c02f in _XmGetFocusData + 0x7f from /usr/X11R6/lib/libXm.so.3
 0x0856af95 in _XmNavigSetValues + 0x25 from /usr/X11R6/lib/libXm.so.3
 0x085686d8 in <unknown> from /usr/X11R6/lib/libXm.so.3
 0x031d56f3 in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x031d56ac in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x031d5c33 in XtSetValues + 0x323 from /usr/X11R6/lib/libXt.so.6
 0x08503a36 in <unknown> from /usr/X11R6/lib/libXm.so.3
 0x085965e4 in _XmSFUpdateNavigatorsValue + 0xa4 from /usr/X11R6/lib/libXm.so.3
 0x08522269 in _XmChangeVSB + 0x109 from /usr/X11R6/lib/libXm.so.3
 0x08522f69 in <unknown> from /usr/X11R6/lib/libXm.so.3
...
--------------------------------

It seems that it happens only when from inside of the Geant4 application I
make "new TApplication("Application", ((int *)0), ((char **)0));" and then
I create and draw a TCanvas.
Is it possible that the X11 handling by both the ROOT and G4UI is a
problem nowadays?

It is possibly worth of noting that ... in case of Xaw based G4UI it dies
AFTER the event is fully processed (the canvas has been created and
refreshed all the time as expected), while in case of Xm based G4UI it
dies shortly after the canvas is created and drawn (in the beginning of
the event processing).

Any ideas?
Thanks in advance,
Best regards,
Jacek.
1 None: Re: ROOT + GEANT4   (Guy Barrand - 07 Nov, 2004)
3 None: Re: ROOT + GEANT4   (Guy Barrand - 22 Dec, 2004)
5 None: Re: ROOT + GEANT4   (Jacek M. Holeczek - 24 Feb, 2005)
Question Retrieving numerical values from G4UIcommand  by Dmitry Onoprienko <Dmitry Onoprienko>,   11 Apr, 2004
I have couple questions regarding G4UIcommand and G4UIparameter
classes.

First it looks like G4UIcommand doesn't provide any convenient
methods for retrieving double and integer values of its parameters
(like those provided by its subclasses, GetNewDoubleValue(...)
in G4UIcmdWithADouble, for example). Since G4UIcommand does know
types of its parameters and is capable of doing range checking,
the code for conversion from strings to numbers seems to be there,
but there are no public access methods. Or am I missing something
here ?

Second question - is there any way to add multi-line guidance to
parameters (not to the command itself) ?
Question Untitled  Keywords: UI
by Phil Matvey <phmatvey@yahoo.com>,   31 Mar, 2004
I would like to automatically execute a "login" 
macro file that would define a few aliases (among 
other things)at the start of an interactive Geant 
session. Could not figure out how to do this.
1 None: Re: Untitled   (Makoto Asai - 31 Mar, 2004)
Question Why not integrate G4UIRoot into the Geant4 offical releases?  Keywords: G4UIRoot
by Exaos Lee <Exaos Lee>,   23 Jan, 2004
Body-URL: http://i.home.cern.ch/i/iglez/www/alice/G4UIRoot/
Host unknown: i.home.cern.ch
1 None: Re: Why not integrate G4UIRoot into the Geant4 offical releases?   (Guy Barrand - 23 Jan, 2004)
1 None: Re: Why not integrate G4UIRoot into the Geant4 offical releases?   (Exaos Lee - 23 Jan, 2004)
2 More: Root Interface (G4UIRoot)   (valerie - 26 Jan, 2004)
Question Query regd. Importing solid models from CAD to GEANT4 via STEP  Keywords: Importing solid models, CAD,STEP Interface
by sowjanya <sowjanya.v@ge.com>,   04 Sep, 2003

Hi,

I want to know the feasibility of the process of Importing Solid models from CAD to GEANT4 via STEP interface. In the user guide, some limitations are mentioned regarding that. i want to know whether we can import solid models from CAD systems to GEANT4 successfully in all cases, if not in what cases it may fail?

Thankyou, Regards, Sowjanya.V

 

None How to put geant4's results into ntuple or Root files?  by Zhihong Li <Zhihong Li>,   03 Sep, 2003

Is the CERNLIB and ROOT library need to save geant4's simulation results to Ntuple and ROOT files?

None link to GGE broken  by Colleen A. Wilson <colleen.a.wilson-hodge@nasa.gov>,   01 Aug, 2003

Hi,
 I would like to try using GGE Geant4 Geometry Editor, since it sounds
like exactly what I need. How do I download it and the other GUI
interfaces? The link in the application developer's guide is broken.
Colleen

Question Scrambled characters on display using Gain with java web start  Keywords: java web start Gain
by Alain Ferragut <Alain Ferragut>,   30 Apr, 2003

Hi,
I have G4 running on a server computer. The problem is when I want
to connect with a client machine running on winNT using java web start
and Gain. I can connect properly to the server where G4 is installed.
But the window on the client computer showing the whole directory tree is unreadable. The
file names look like "L%$-&#-g++" instead of "Linux-g++". So I can't
read anything. 
On the other hand, I can run properly the demo applications on the 
sun web site. Why ?
Some details about the server configuration :
       --> OS : Linux Mandrake9.0

Thank you very much,

                     Alain

None help on Java  Keywords: Help
by june <alantisjun@hotmail.com>,   16 Dec, 2002

Could anyone help me? I am facing this problem. I went to delete the folder in /usr/java and i found i couldnt run java anymore. But i went to download the java file again, its in .sh after installing i place the folder in /usr but after which when i type java command, i get this error: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object

CAn anyone help me please??

Warning G4ApplicationState has been changed   Keywords: G4ApplicationState
by Makoto Asai <Makoto Asai>,   13 Dec, 2002
Dear Geant4 users,

 At Geant4 5.0 released on December 13th, 2002, definition of 
the state IDs in G4ApplicationState have changed to prepend the 
"G4State_" prefix to the original state ID (i.e. "Idle" becomes 
"G4State_Idle", "Init" becomes "G4State_Init", and so on...).
The user code (particularly, user defined messengers defining state
dependent commands) will need to migrate to this new convention.

 This change was originated by the users requirement. The old
state IDs were too simple so that they made serious conflicts
against some external packages. 

                                               Makoto Asai
                                               SLAC

None Dawn and GV  Keywords: visualization
by <znnx@yahoo.com>,   31 Oct, 2002

Hi,

we have problems with interface of dawn and ghostview; our new machine has Linux OS (Red Hat 7.3, Japanese Version).

whenever we run some Geant4 examples, we can see the window from dawn: camera, draw axes, solid wire, RGB, etc... But when when we click "ok" under this same window, our system is always complaning about "font".

The message at the "gv" viewer is like this:

Error:/ invalidfont in findfont Operand stack

Execution stack % interp-exit .runexec2 --nostringual -- ..... ........ ........ Dictionary stack. --dict : 1047/1123 (ro)(G) ...... ........ current allocation mode is local Last OS error: 2 Current file position is 139 GNU Ghostscript 7.0.5 : Unrecoverable error, exit code 1

The version of "gv" is 3.5.8.. and dawn is 3.85c

What is the cause odf this error? How do we correct this error? So that that we can have visualization of our detector.

Thank you very much....

Zaldy

None Usage of /control/loop  by Frank Gaede <Frank Gaede>,   16 Oct, 2002

Hi,
could so. tell me or point me to some documentation on the usage of the
/control/loop command. In particular I don't know how to use the aliased 
loop variable in the called macro.
 Thanx, Frank.

1 None: Re: Usage of /control/loop   (Makoto Asai - 16 Oct, 2002)
None DAWN and Suze Linux  Keywords: DAWN
by roccaz <roccaz@csnsm.in2p3.fr>,   11 Apr, 2002

Hi to everyone.

I've installed Geant and Dawn on my PC which runs with Suze Linux 7.2. Geant conpiles well, but when i want to vizualize with dawn, that viewer stay blocked. I wonder if DAWN can really work with my Linux release.

1 Feedback: Re: DAWN and Suze Linux   (Satoshi Tanaka - 29 Apr, 2002)
1 None: Re: DAWN and Suze Linux   (Jerome Roccaz - 29 Apr, 2002)
2 None: Re: DAWN and Suze Linux   (roccaz - 30 Apr, 2002)
None Java Installation  by Mike Bailey <Mike-Kez@bigpond.com>,   30 Jan, 2002
How do I install JSDK1.3?
The instruction on the Sun website tell me how to download 
but not how to configure?
Any help please?
Cheers,
Michael Bailey
1 None: Re: Java Installation   (Hajime Yoshida - 02 Feb, 2002)
Question Compilation of Geant4 with JAS  Keywords: JAS
by sylvian kahane <skahane@bgumail.bgu.ac.il>,   21 Sep, 2001

I am trying to compile Geant4.3.2 with JAS interface. The compiler (or the dependence checker) keeps complaining that it does not find the file "jni.h".

Where this file is supposed to be ?

1 Note: Re: Compilation of Geant4 with JAS, Suggestion   (valerie - 26 Sep, 2001)
1 More: Re: Compilation of Geant4 with JAS, link!!!   (valerie - 26 Sep, 2001)
2 None: Re: Compilation of Geant4 with JAS, Suggestion   (skahane@bgumail.bgu.ac.il - 01 Oct, 2001)
 Add Message Add Message
to: "(Graphical) User Interfaces"

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 ]