Hey there!

Hey there! I’ve been using BEAMnrc and DOSxyznrc on Windows and using some tricks on notepad++ and Excel to plot my results.

As I know, DOSxyz_show is avaliable only on Linux platform. I also installed EGSnrc on Linux but I could not compile DOSxyz_show. What do I miss? How can I install it?

I checked the manual but I still could not do. Appreciate for your help…

Hello everyone

Hello everyone,

I am a novice in EGSnrc and I am following the first example of BEAMnrc reported in the manual “Getting started with EGSnrc”. I followed all the steps to create an accelerator with only jaws as described in the manual, but as I try to run the simulation I get an error (see please the attached screenshot). I do not understand why this happen. Has anyone a clue? Thank you very much in advance!

Hi

Hi,

I have a question for my installation of EGSnrc I installed it on linux but after I don’t the applications: egs_view_64, egs_gui_64 and egs_inprz_64don’t work. And I have not so the BEAMnrc, dosxyznrc and BEAMdp.

Hi all

Hi all,

I have a question regarding MC simulations for a Varian TrueBeam linac. I want to use the IAEA phase space (version 2) provided by Varian that is scored right above the dynamically changing part of the treatment head (i.e. my beamnrc egsinp file only consists of jaws, base plate, mlc, mylar window and scoring plane below the mlc). For the dosxyznrc input file I’m therefore using source 21 to account for different jaws and mlc positions during simulation. Resulting dose distributions are comparable to my ground truth plan data. However, when I’m simulating a pdd inside a water phantom there is a relatively high difference compared to the ground truth pdd provided by Varian (see attached image). My question is: Has anyone here successfully simulated such a geometry using the Varian IAEA phase space? Is there something I’ve to consider using this setup?

Thank you in advance.

Cheers,

Thilo

Hi all

Hi all,

this is a question concerning normalizations.

First off, how are results from g and dosrznrc normalized?

Secondly, can kerma results from g be somehow compared to dose results from egs_chamber, assuming that kerma is approximately dose (CPE)? Similarly with dosrznrc. I’ve been playing around with values and can’t come up with a conclusive answer so far.

Thank you.

Hi All

Hi All,

I am trying to simulate a cylinder (not chamber) in air (my first egs++).

I was able to simulate the EGS++ geometry for that.

I have two topics that I don’t not fully understand:

a) If I want to use a PHSP file source (already calculated) should it be only at x,y, “0”? Is it possible to change the position of it?

b) How do I divide my cylinder into voxels as in dosxyz? I tried to inscribe it into a XYZ_geometry but I wasn’t able to do it (I was trying to get a 3ddose file)

Or i.e. how could I get every 1 mm the dose deposited (even in a txt file)?

*Assuming it is a homogeneous medium – simple case

I tried to look at the site but since I am not familiar with programming at that level I didn’t understood anything

Hi everyone

Hi everyone,

I’m trying to use EGSnrc but i’m having issue during compile process.

when i try to compile the “myapp” following tutorial, it brings me the following error: undefined reference to `quadmath_snprintf’

i do have the same issue compiling “cavity” but no error ie. on “cavrznrc”.

the full error:

g++ -I. -IC:EGSnrcEGSnrcHEN_HOUSElibwin6432 -IC:EGSnrcEGSnrcHEN_HOUSEegs++ -IC:EGSnrcEGSnrcHEN_HOUSEinterface -DWIN32 -O3 -ffast-math -DWIN32 -c -o cavity_win6432.o cavity.cpp

g++ -I. -IC:EGSnrcEGSnrcHEN_HOUSElibwin6432 -IC:EGSnrcEGSnrcHEN_HOUSEegs++ -IC:EGSnrcEGSnrcHEN_HOUSEinterface -DWIN32 -O3 -ffast-math -DWIN32 -c -o egs_advanced_application_win6432.o C:EGSnrcEGSnrcHEN_HOUSEegs++egs_advanced_application.cpp

“Mortran compiling EGSnrc sources …”

x86_64-w64-mingw32-gfortran -O3 -ffast-math -lquadmath -c -o egsnrc_win6432.o egsnrc_win6432.F

g++ -I. -IC:EGSnrcEGSnrcHEN_HOUSElibwin6432 -IC:EGSnrcEGSnrcHEN_HOUSEegs++ -IC:EGSnrcEGSnrcHEN_HOUSEinterface -DWIN32 -O3 -ffast-math -DWIN32 -c -o egs_interface2_win6432.o C:EGSnrcEGSnrcHEN_HOUSEinterfaceegs_interface2.c

g++ -O3 -ffast-math -DWIN32 -o C:EGSnrcTestbinwin6432cavity.exe cavity_win6432.o egs_advanced_application_win6432.o egsnrc_win6432.o egs_interface2_win6432.o -LC:EGSnrcEGSnrcHEN_HOUSEegs++dsowin6432 -legspp -lgfortran

C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgfortran.a(write.o):(.text$get_precision+0x160): undefined reference to `quadmath_snprintf’

C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgfortran.a(write.o):(.text$get_float_string+0x16b): undefined reference to `quadmath_snprintf’

C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgfortran.a(write.o):(.text$get_float_string+0xa2f): undefined reference to `quadmath_snprintf’

C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgfortran.a(write.o):(.text$get_float_string+0x162c): undefined reference to `quadmath_snprintf’

C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/libgfortran.a(write.o):(.text$get_float_string+0x170a): undefined reference to `quadmath_snprintf’

collect2.exe: error: ld returned 1 exit status

mingw32-make: * [C:EGSnrcEGSnrcHEN_HOUSEmakefilescpp_makefile:44: C:EGSnrcTestbinwin6432cavity.exe] Error 1

ExitCode = 2

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

my pc specs:

-windows 10 pro version 1803

-64bit OS

-x64 processor architecture

software specs:

gfortran –version

GNU Fortran (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0

gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe

Target: x86_64-w64-mingw32

Configured with: ../../../src/gcc-8.1.0/configure –host=x86_64-w64-mingw32 –build=x86_64-w64-mingw32 –target=x86_64-w64-mingw32 –prefix=/mingw64 –with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 –enable-shared –enable-static –disable-multilib –enable-languages=c,c++,fortran,lto –enable-libstdcxx-time=yes –enable-threads=posix –enable-libgomp –enable-libatomic –enable-lto –enable-graphite –enable-checking=release –enable-fully-dynamic-string –enable-version-specific-runtime-libs –disable-libstdcxx-pch –disable-libstdcxx-debug –enable-bootstrap –disable-rpath –disable-win32-registry –disable-nls –disable-werror –disable-symvers –with-gnu-as –with-gnu-ld –with-arch=nocona –with-tune=core2 –with-libiconv –with-system-zlib –with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-pkgversion=’x86_64-posix-seh-rev0, Built by MinGW-W64 project’ –with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS=’-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include’ CXXFLAGS=’-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include’ CPPFLAGS=’ -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include’ LDFLAGS=’-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib ‘

Thread model: posix

gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)

g++ -v

Using built-in specs.

COLLECT_GCC=g++

COLLECT_LTO_WRAPPER=C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe

Target: x86_64-w64-mingw32

Configured with: ../../../src/gcc-8.1.0/configure –host=x86_64-w64-mingw32 –build=x86_64-w64-mingw32 –target=x86_64-w64-mingw32 –prefix=/mingw64 –with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 –enable-shared –enable-static –disable-multilib –enable-languages=c,c++,fortran,lto –enable-libstdcxx-time=yes –enable-threads=posix –enable-libgomp –enable-libatomic –enable-lto –enable-graphite –enable-checking=release –enable-fully-dynamic-string –enable-version-specific-runtime-libs –disable-libstdcxx-pch –disable-libstdcxx-debug –enable-bootstrap –disable-rpath –disable-win32-registry –disable-nls –disable-werror –disable-symvers –with-gnu-as –with-gnu-ld –with-arch=nocona –with-tune=core2 –with-libiconv –with-system-zlib –with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static –with-pkgversion=’x86_64-posix-seh-rev0, Built by MinGW-W64 project’ –with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS=’-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include’ CXXFLAGS=’-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include’ CPPFLAGS=’ -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include’ LDFLAGS=’-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib ‘

Thread model: posix

gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)

mingw32-make –version

GNU Make 4.2.1

Built for x86_64-w64-mingw32

attached there is my EGSnrc configuration file.

TY for your work and support!

Cosimo

https://drive.google.com/a/imaginalis.it/file/d/1JSUPIYqMvhbEjUxKaUpWS1lS7erUIiv3/view?usp=drive_web//cdn.embedly.com/widgets/platform.js