GRAS 4.0 as external application to Geant4

Hello experts,

I’ve been using GRAS as an external application to Geant4 until the (GRAS) version 3.4. After the release of version 4.0 I haven’t been able anymore to use it as external application, although I’m able to call the executable in batch mode. I’ve been performing always the same process:

  1. Change G4RunManager to GRASRunManager;
  2. source gras with bin/

Just to be sure I wasn’t doing anything wrong, I tried to run the examples inside GRAS for external applications. Unfortunately I get the exact the same error as in my own application:

[ 20%] Building CXX object CMakeFiles/app_exe.dir/
/home/lghizoni/Geant4/gras-04-00/examples/gras_in_external_application/N01_with_GRAS/ fatal error: GRASRunManager.hh: No such file or directory
#include “GRASRunManager.hh”
My only guess would be that I’m sourcing the wrong GRAS file?

I would be thankful for any help :slight_smile:


1 Like

I have the same problem with GRAS 5.
I am sourcing the file, but I get the same “No such file or directory” error.
Launching GRAS from the command line works without problems though.

Which path variable could be configured wrong here?