| Re: Geant4 not working with mc generation [message #13694 is a reply to message #13690] | 
			Tue, 03 July 2012 15:52    | 
		 
		
			
				
				
				
					
						  
						Raghav Kunnawalkam
						 Messages: 63 Registered: February 2012  Location: Stony Brook, New York
						
					 | 
					continuous participant  | 
					From: *physics.sunysb.edu
  | 
		 
		 
	 | 
 
	
		Hi Mohammad 
 
UPDATE:: I got it working now, It was just a simple path mistake.  
Thanks for your help.  
 
 
When i installed fairsoft, i selected the option of installing them in their source directories itself.  
 
Here is the log file from my last installation: 
OpenGL found on this system 
C++ compiler found in PATH 
*** Compiling the external packages with the GCC compiler 
*** Building the libraries with best optimization 
The following parameters are set. 
System              :  64bit 
C++ compiler        :  g++ 
C compiler          :  gcc 
Fortran compiler    :  gfortran 
CXXFLAGS            :  -O3 
CFLAGS              :  -O3 
Compiler            :  gcc 
Debug               :  no 
Optimization        :  yes 
Platform            :  macosx 
Architecture        :  macosx64 
G4System            :  Darwin-g++ 
g4_data_files       :  yes 
g4_get_data         :  no 
Number of parallel     
processes for build :  4 
Found cmake version 2.8.7 which is newer than the 
required version 2.8.2 in PATH 
This version is okay. Don't install cmake as external package. 
*** Package gtest is OK *** 
*** Package glpk is OK *** 
*** Package gsl is OK *** 
*** Package Boost is OK *** 
*** Package ApMon is OK *** 
*** Package ml-gsoapclient is OK *** 
*** Package Pythia6 is OK *** 
*** Package pythia8 is OK *** 
*** Package Clhep is OK *** 
*** Package Geant4-Source is OK *** 
*** Package Geant4-lib is OK *** 
**** Installing the Geant4 data files **** 
*** Package G4EMLOW already unpacked *** 
*** Package G4NDL already unpacked *** 
*** Package RadioactiveDecay already unpacked *** 
*** Package PhotonEvaporation already unpacked *** 
*** Package G4ABLA already unpacked *** 
*** Package RealSurface already unpacked *** 
*** Package G4NEUTRONXS already unpacked *** 
*** Package G4PII already unpacked *** 
*** Compiling root ................  
Copied rootconfig.sh ...................... 
Configure Root .......................................... 
*** root compiled successfully *** 
*** Package pluto is OK *** 
*** Package Geant3 is OK *** 
*** Package VGM is OK *** 
*** Package Geant4_VMC is OK *** 
*** End installation of external packages without Errors*** 
 
It says that geant4 is installed properly. I think that there is something wrong with my libraries path.  
 
This is the output that you asked for, in the source directory fairsoft.  
raghav:fairsoft raghav$ svn info 
Path: . 
URL: https://subversion.gsi.de/fairroot/fairsoft/trunk 
Repository Root: https://subversion.gsi.de/fairroot 
Repository UUID: 0381ead4-6506-0410-b988-94b70fbc4730 
Revision: 15305 
Node Kind: directory 
Schedule: normal 
Last Changed Author: uhlig 
Last Changed Rev: 15284 
Last Changed Date: 2012-04-16 08:13:00 -0400 (Mon, 16 Apr 2012) 
 
Cheers 
Raghav 
 
UPDATE:: 
 
I played around with the libraries and copied the geant4-config file to the spot that it wanted and now it looks like it can see geant4 or atleast most of it.  
 
I am having some problems regarding specific files, namely the data file for low energy EM processes. I tried getting the new data file and unpacked it and placed it in the place of the old one (even though i think that they are both the same), i am still getting the same issues.  
 
--------------  input/output  -------------------------------------------------- 
first input: none 
second input: none 
output: 
OBJ: FairParRootFile	/Users/raghav/fairroot/example/EIC/macros/data/params_test_A_C.root	 : 0 at: 0x7ff5ecb49a70 
Root file I/O /Users/raghav/fairroot/example/EIC/macros/data/params_test_A_C.root is open 
detector I/Os:  FairGenericParIo 
 
-------- EEEE ------- G4Exception-START -------- EEEE ------- 
*** G4Exception : em0003 
      issued by : G4SeltzerBergerModel::ReadData() 
Bremsstrahlung data file </brem_SB/br1> is not opened! 
G4LEDATA version should be G4EMLOW6.23 or later. 
 
*** Fatal Exception *** core dump *** 
-------- EEEE -------- G4Exception-END --------- EEEE ------- 
 
 
		
		
		[Updated on: Tue, 03 July 2012 16:21] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |