Hi Everybody

Hi Everybody,

I am trying to configurate the MLC’s.

Nevertheless, I can’t find the file where I could modify settings such as this one : (MLCQ parameters)

1, Leaves open in X direction

65.0, ZMIN

7.5, ZTHICK

64, 52.0, NUM_LEAF, TWIDTH

-1000.0, ZFOCUS(1)

10.0,65.0 R0LEAF,Z0LEAF

-10.0,10.0,15, 15 leaves closed at top

-10.0,12.0,5, 5 leaves with opening 0.0 – 2.0 at top

-9.5,13.0,2 2 leaves with 0.5 – 3.0 at top

-9.0,14.0,3 3 leaves with 1.0 – 4.0 at top

-8.0,17.0,10, 10 leaves with opening 2.0 – 7.0 at top

Best regards,

Emeric

A question about photonuclear attenuation:

A question about photonuclear attenuation:

Is it OFF by default in the latest version of EGSnrc? I don’t see any documentation for it in PIRS701.

The only information I could find is in a report by Ali and Rogers, http://physics.carleton.ca/sites/default/files/clrp/databases/photonuclear/Ali_et_al_clrp_12_01.pdf

Curious to know the latest development! Thanks.

http://physics.carleton.ca/sites/default/files/clrp/databases/photonuclear/Ali_et_al_clrp_12_01.pdf//cdn.embedly.com/widgets/platform.js

Hello everybody

Hello everybody,

I have tried to install this software but I find this error in the configuration process.

Can someone of you, please help me?

Thank you

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

Using xml test file D:Disque localEGSnrcHEN_HOUSEpiecestests_win.xml

===> Checking for availability of system dependent functions

gfortran -c -o HasObject.obj HasObject.f

gfortran -o DoesExe.exe DoesExe.f

gfortran -o ExitFun.exe ExitFun.f

./ExitFun.exe 1

exit

Exit code is 1

Reference is 1”

./ExitFun.exe 5

exit

Exit code is 5

Reference is 5

./ExitFun.exe 25

exit

Exit code is 25

Reference is 25

gcc -c -o egs_exit.obj egs_exit.c

egs_exit.c: In function ‘my_exit’:

egs_exit.c:6:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]

exit(s);

^~~~

egs_exit.c:6:4: warning: incompatible implicit declaration of built-in function ‘exit’

egs_exit.c:6:4: note: include ” or provide a declaration of ‘exit’

gfortran -o SystemFun.exe SystemFun.f

./SystemFun.exe 0

hallo

0

Exit code is 0

Reference is 0

output:hallo

0

reference:0

gfortran -o SystemFun.exe SystemFun.f

./SystemFun.exe 1

‘blah__blah’ n’est pas reconnu en tant que commande interne

ou externe, un programme ex?cutable ou un fichier de commandes.

1

Exit code is 0

Reference is 1

output:’blah__blah’ n’est pas reconnu en tant que commande interne

ou externe, un programme ex?cutable ou un fichier de commandes.

1

reference:1

gfortran -o SystemSub.exe SystemSub.f

./SystemSub.exe 0

hallo

0

Exit code is 0

Reference is 0

output:hallo

0

reference:0

gfortran -o FlushFun.exe FlushFun.f

./FlushFun.exe 0

flush

Exit code is 0

Reference is 0

gfortran -o DateAndTime.exe DateAndTime.f

gfortran -o FDateFun.exe FDateFun.f

./FDateFun.exe 0

fdate

Exit code is 0

Reference is 0

gfortran -o SecndsFun.exe SecndsFun.f

./SecndsFun.exe 0

secnds

Exit code is 0

Reference is 0

gfortran -o DateFun.exe DateFun.f

C:UsersNDORINEAppDataLocalTempccwfrbAh.o:DateFun.f:(.text+0x20): undefined reference to `date_’

collect2.exe: error: ld returned 1 exit status

gfortran -o DateFun.exe DateFun.f

C:UsersNDORINEAppDataLocalTempcckJXDoi.o:DateFun.f:(.text+0x20): undefined reference to `date__’

collect2.exe: error: ld returned 1 exit status

gfortran -o TimeFun.exe TimeFun.f

C:UsersNDORINEAppDataLocalTempccmvoGUr.o:TimeFun.f:(.text+0x20): undefined reference to `time_’

collect2.exe: error: ld returned 1 exit status

gfortran -o TimeFun.exe TimeFun.f

C:UsersNDORINEAppDataLocalTempccgg2iZY.o:TimeFun.f:(.text+0x20): undefined reference to `time__’

collect2.exe: error: ld returned 1 exit status

gfortran -o ETimeFun.exe ETimeFun.f

./ETimeFun.exe 0

etime

Exit code is 0

Reference is 0

gfortran -o LnblnkFun.exe LnblnkFun.f

gfortran -o HostName.exe HostName.f

./HostName.exe hostnm

hostnm

Exit code is 0

Reference is hostnm

output:hostnm

reference:hostnm

gfortran -o LstatFun.exe LstatFun.f

./LstatFun.exe 3:13

1

Exit code is 0

Reference is 3:13

output:1

reference:3:13

gfortran -o LstatFun.exe LstatFun.f

./LstatFun.exe 5:25

1

Exit code is 0

Reference is 5:25

output:1

reference:5:25

gfortran -o InquireFun.exe InquireFun.f

./InquireFun.exe 0

0

Exit code is 0

Reference is 0

output:0

reference:0

gcc -c -o file_size.obj file_size.c

gfortran -o RecordLength.exe RecordLength.f file_size.obj

./RecordLength.exe 4

4

Exit code is 0

Reference is 4

output:4

reference:4

gfortran -o LongInteger.exe LongInteger.f

./LongInteger.exe 0

integer*8

Exit code is 0

Reference is 0

gfortran -o ShortInteger.exe ShortInteger.f

./ShortInteger.exe 0

integer*2

Exit code is 0

Reference is 0

gfortran -o Endianess.exe Endianess.f

./Endianess.exe 0

little endian

Exit code is 0

Reference is 0

gcc -c -o NameDecoration.obj NameDecoration.c

gfortran -o NameMangling.exe NameMangling.f NameDecoration.obj

./NameMangling.exe 0

lower case, _ and _

Exit code is 0

Reference is 0

********** Tests concluded ! *****

===> Creating C Utilities for EGSnrc…

Building the utilities object file …

gcc -O2 -c -DWIN32 -o D:Disque localEGSnrcHEN_HOUSElibwin6432egs_c_utils.obj D:Disque localEGSnrcHEN_HOUSElibwin6432egs_c_utils.c

gcc: error: localEGSnrcHEN_HOUSElibwin6432egs_c_utils.obj: No such file or directory

gcc -O2 -c -DWIN32 -o D:Disque localEGSnrcHEN_HOUSElibwin6432load_beamlib.obj D:Disque localEGSnrcHEN_HOUSElibwin6432load_beamlib.c

gcc: error: localEGSnrcHEN_HOUSElibwin6432load_beamlib.obj: No such file or directory

gcc -O2 -c -DWIN32 -o D:Disque localEGSnrcHEN_HOUSElibwin6432load_vculib.obj D:Disque localEGSnrcHEN_HOUSElibwin6432load_vculib.c

gcc: error: localEGSnrcHEN_HOUSElibwin6432load_vculib.obj: No such file or directory

gcc -O2 -c -DWIN32 -o D:Disque localEGSnrcHEN_HOUSElibwin6432read_write_pardose.obj D:Disque localEGSnrcHEN_HOUSElibwin6432read_write_pardose.c

gcc: error: localEGSnrcHEN_HOUSElibwin6432read_write_pardose.obj: No such file or directory

Failed to compile egs_c_utils.c. This may be due to a variety of reasons

(e.g. non-standard include files, unsupported file lock operations, etc.

Will disable now the availability of a C compiler.

If you want to try to make the new parallel processing implementation in

cavrznrc and dosrznrc work,

1. Go to $machine_mortran_dir

2. Edit egs_c_utils.h and egs_c_utils.c to make them compile with your

C compiler

3. Put

REPLACE {$HAVE_C_COMPILER(#);} WITH {{EMIT;{P1}define HAVE_C_COMPILER};}

in machine.macros

4. Put

$HAVE_C_COMPILER(#);

near the beginning of your user code.

5. If your compiler requires some unusual options, include directives, etc.,

change the variable C_FLAGS in the spec file $conf_file in the

$HEN_HOUSE/specs/ directory.

** Failed to compile load_beamlib.c!!! **

This is the tool for loading BEAM as a particle source for other user codes.

Failed compiling read_write_pardose.c!

This is required to compile DOSXYZnrc!

Testing egs_c_utils skipped due to previous errors…

Testing load_beamlib skipped due to previous errors…

===> Creating configuration file …

===> Creating machine.macros …

* System file D:Disque localEGSnrcHEN_HOUSElibwin6432machine.macros successfully created *

===> Creating machine.f …

===> Creating machine.mortran …

* System file D:Disque localEGSnrcHEN_HOUSElibwin6432machine.mortran successfully created *

===> Creating dosxyznrc_win6432.spec … failed

Failed creating dosxyz_win6432.spec

file. You will not be able to use

DOSXYZnrc for in-phantom dose calculations.

===> Appending VCU library to dosxyznrc_win6432.spec … done

===> Compiling Mortran3 …

Makefile:31: localEGSnrcHEN_HOUSEspecswin6432.conf: No such file or directory

mingw32-make: * No rule to make target ‘localEGSnrcHEN_HOUSEspecswin6432.conf’. Stop.

Compilation failed!

===> Compiling Pegs4 …

Makefile:31: localEGSnrcHEN_HOUSEspecswin6432.conf: No such file or directory

mingw32-make: * No rule to make target ‘localEGSnrcHEN_HOUSEspecswin6432.conf’. Stop.

Compilation failed!

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

* Failed building mortran3, the string preprocessor*

* utility for generating Fortran code. You won’t be*

* able to compile any Mortran source code therefore*

* your system will not be functional. *

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

*** EGSnrc installation FAILED, see log file for details ***

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

* Elapsed time: 19.516 s *

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

jeu. mars 29 2018 17:13:12

Hi everyone

Hi everyone,

what is the relationship between the “ncase” and “activity” of an EGS_RadionuclideSource with to “decay time”?

for example; ncase = 1e6, activity = 1e6. Since the activity is in Bq = disintegration/sec; is it correct to say I am simulating only 1 sec of my source since get(Fluence) = ncase for my simulations.

I really don’t understand the equation;

time += -log(1-u) / activity;

Thanks very much in advance

Dear egs_cbct Users

Dear egs_cbct Users,

I have been asked that “What is the detector? Are you collecting photons in a square “phase space” simulating the detector. “. Would you please tell me what is the meaning of square “phase space”. Does square “phase space” represent the ideal detector?

Thank you

Hi all

Hi all,

I would like to understand how ctcreate compose new voxels from original ones. I didn’t find the explanation in pirs794-dosxyznrc, so I tried to get familiar with the ctcreate.mortran source code. I am attaching the formulas I created according the source code, but I am not sure if they are correct, i.e. I do not believe myself I have resolved the code properly. What do you think? The formulas are set to be ok for the 2-D example of 4×4 array as represented below.