Message: Cannot find ENDSDFSTATE.dat - Windows Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Cannot find ENDSDFSTATE.dat - Windows 

Forum: Documentation and Examples
Date: 19 Feb, 2017
From: Tom Roberts <Tom Roberts>

This is Geant4.10.03 on Windows 10. I built Geant4 and exampleB1 using Cmake 
and Visual Studio 2015, and copied all the DLLs into B1/bin. I then run this 
.bat from B1/bin:
   set G4LEDATA="C:/Geant4Data/G4EMLOW6.50"
   set G4NEUTRONXSDATA="C:/Geant4Data/G4NEUTRONXS1.4"
   set G4SAIDXSDATA="C:/Geant4Data/G4SAIDDATA1.1"
   set G4LEVELGAMMADATA="C:/Geant4Data/PhotonEvaporation4.3"
   set G4RADIOACTIVEDATA="C:/Geant4Data/RadioactiveDecay5.1"
   set G4ENSDFSTATEDATA="C:/Geant4Data/G4ENSDFSTATE2.1"
   .\exampleB1

It generates a G4Exception "PART70001 ... ENSDFSTATE.dat not found".

But that file is where I told it to look:

dir %G4ENSDFSTATEDATA%
 Volume in drive C has no label.
 Volume Serial Number is 5454-8CA5

 Directory of C:\Geant4Data\G4ENSDFSTATE2.1

02/16/2017  10:23 AM    <DIR>          .
02/16/2017  10:23 AM    <DIR>          ..
11/03/2016  04:22 PM         1,785,980 ENSDFSTATE.dat
11/03/2016  04:23 PM             1,302 History
09/16/2016  05:11 AM               436 README
               3 File(s)      1,787,718 bytes
               2 Dir(s)  43,573,948,416 bytes free

Why can't it find the file? (changing '/' to '\' in my .BAT made no difference.)

BTW my big program, G4beamline, does not get this exception; that .BAT references them where G4beamline expects them.

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

1 Ok: Re: Cannot find ENDSDFSTATE.dat - Windows   (Tom Roberts - 19 Feb, 2017)
 Add Message Add Message
to: "Cannot find ENDSDFSTATE.dat - Windows"

 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 ]