If I run say egs_chamber it reports some dose for each geometry to me.

If I run say egs_chamber it reports some dose for each geometry to me. This dose is somehow normalized. For example its expected value does not depend on ncase. Its normalization seems to also depend on the simulation source. For instance scoring dose in the middle of a 5×5 and 40×40 beam give same dose up to maybe a factor of 2. My question is, how exactly is the dose reported by egs defined?

Hi

Hi,

I would like to simulate compton current. This means I would like to score things like how many electrons that were born in region 4 died in region 11.

1) Is it possible to do this with egs_track_scoring? I read the code and it seems to me, that it may splits tracks, that in fact belong together. For visualization, this makes of cource no difference. My understanding is limited however, can someone comment on this?

2) Is there another tool/code that provides a good starting point?

DOSXYZ style simulation with egs chamber?

DOSXYZ style simulation with egs chamber?

I would like to say get the dose at each point in each voxel of a 100x100x100 voxelized image. One way to do this is DOSXYZnrc. I wonder if this is also possible with EGSChamber or some other C++ code. At least there is the EGS_XYZGeometry class for voxelized images. But I don’t know if there is a way to score the dose in each voxel?

Is it possible to specify the geometry directly in an EGS++ code, instead of using an .egsinp file?

Is it possible to specify the geometry directly in an EGS++ code, instead of using an .egsinp file?

Could someone give a small working example of this (maybe tutor2pp code with hard coded geometry)?

Motivation:

The .egsinp format for EGS++ is great, but often I wish for a lot more. Like variables (e.g. DetectorWidth=10.4 ), basic arithmetic (TotalWidth=2*DetectorWidth+…), assertions (assert TotalWidth > …), linear algebra (rotationmatrix(angle, axis)) etc.

Really I would like to specify a simulation in some full fledged scripting language, like python or julia. The first step towards this would be to do it completely in C++ and the second to wrap the appropriate C++ functions.

I would like to use a debugger to see what EGSnrc is doing.

I would like to use a debugger to see what EGSnrc is doing. For example I would like to set some breakpoints in tutor2pp.cpp

and see what happens when someone types

“ex tutor2pp test1 tutor_data”

How to accomplish this? I am currently using eclipse-CDT under linux but would be open to use any other free IDE for the debugging.

One of my problems is that I have no idea what the “ex” does.

Hi

Hi,

I have tried running egs_chamber (Ubuntu14.04), but got an error which says that libBEAM_co60.so is missing. Any ideas?

make

ex egs_chamber example1_co60_Pfactors 521icru

The canonical system as returned by config.guess (x86_64-unknown-linux-gnu) is not the

same as the one found in the configuration file (linux64).

I hope you know what you are doing.

In EGS_Application::initSimulation()

********************************************

********************************************

********************************************

EGS_Library::load(): failed to load library /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so

  error was: /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so: cannot open shared object file: No such file or directory

EGS_Library::load(): failed to load library /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so

  error was: /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so: cannot open shared object file: No such file or directory

EGS_Library::load(): failed to load library /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so

  error was: /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so: cannot open shared object file: No such file or directory

EGS_Library::load(): failed to load library /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so

  error was: /home/admin/EGSnrc/egs_home/bin/linux64/libBEAM_co60.so: cannot open shared object file: No such file or directory

EGS_BeamSource: failed to resolve the init function

EGS_BeamSource: failed to resolve the sample function

EGS_BeamSource: failed to resolve the finish function

EGS_BeamSource: failed to resolve the max. energy function

createSource(beam source): the input is not sufficient to create a valid source

EGS_ObjectFactory::createObjects(): 1 errors occured while creating objects

EGS_ObjectFactory::createObjects(): an object with the name the_source does not exist

EGS_Application::initSimulation(): source initialization failed

EGS_RandomGenerator::createRNG: no ‘RNG definition’ input

EGS_Application::initRNG(): using default RNG

Hi all

Hi all,

I am currently trying to install EGSnrc on Ubuntu14.04. I followed the instructions from

https://github.com/nrc-cnrc/EGSnrc/wiki/install-EGSnrc-on-linux

(I used GUI config and tried both cloning from github and using the zip file)

In both cases there is no installation error. However when I try to run an application I get problems. I use egs_gui and compilation seems to be fine. However if I try to execute I get a cryptic error message:

The canonical system as returned by config.guess (x86_64-unknown-linux-gnu) is not the

same as the one found in the config file (linux64).

I hope you know what you are doing.

/home/admin/EGSnrc-master/HEN_HOUSE/scripts/run_user_code_batch: 474: /home/admin/EGSnrc-master/HEN_HOUSE/scripts/run_user_code_batch: at: not found

************ finished *********

Any ideas?