Hi, I am new to EGSnrc. Installed EGSnrc on a cluster and want to submit a parallel job using SLURM. Is there any job submission script for SLURM scheduler? Best regards, Prithwish
Support:
Support:
Hello, my name is Néstor Cornejo Díaz. I am calculating the Awall correction factor for a spherical graphite chamber (3 mm wall, ri = 1.1 cm, rout = 1.4 cm, 1.25 MeV photons in parallel beam) with the code CAVITY (for Windows 64 bit, downloaded on 08/2018). The results of Awall seem not correct, (Awall is resulting > 1). The cavity dose being > than Dideal. This should not happen for this spherical chamber. I have repeated the calculations with the code CAVSPHnrc and the results are different, with Awall resulting < 1 (about 0.982), as expected for this spherical graphite chamber. I am attaching here the input file created for the CAVITY code.
Could anybody help me to find the reasons of this inconsistent result?
Thank for your support.
Kind regards,
Néstor
#
# CHAMBER SP-01
#
# —————
# GEOMETRY
# —————
:start geometry definition:
# ———————-
# spherical chamber
#————————
:start geometry:
name = chamber
library = egs_spheres
midpoint = 0 0 4
radii = 1.1 1.4
:start media input:
media = air graphite
set medium = 1 1
:stop media input:
:stop geometry:
#————————–
# A Vacuum box surrounding the chamber
#————————–
:start geometry:
name = outer_vacuum_box
library = egs_box
box size = 4 4 12
:start media input:
media = vacuum
:stop media input:
:stop geometry:
# ————————-
:start geometry:
name = chamber_in_vacuum
library = egs_genvelope
base geometry = outer_vacuum_box
inscribed geometries = chamber
:stop geometry:
simulation geometry = chamber_in_vacuum
# —————————
:stop geometry definition:
# —————————
# MEDIA DEFINITION
# —————————
:start media definition:
# —————————
# Cutoff energies
ae = 0.521 # lowest energy for electrons ( kinetic + 0.511)
ap = 0.01 # lowest energy for photons (kinetic)
ue = 2.511 # maximum energy for electrons (kinetic + 0.511)
up = 2 # maximum energy for photons (kinetic)
media
:start air:
density correction file = air_dry_nearsealevel
:stop air:
:start graphite:
density correction file = carbon_graphite_icru90_1.8g_cm3
:stop graphite:
:stop media definition:
# —————————
# SOURCE DEFINITION
# —————————
:start source definition:
:start source:
library = egs_parallel_beam
name = Parallel_beam
charge = 0
:start shape:
library = egs_circle
radius = 2
:stop shape:
:start spectrum:
type = monoenergetic
energy = 1.25
:stop spectrum:
direction = 0 0 1
:stop source:
:stop source definition:
# —————————-
# RUN CONTROL
# —————————-
:start run control:
ncase = 1000000
:stop run control:
# —————————-
# SCORING OPTIONS
# —————————-
:start scoring options:
calculation type = Awall
:start calculation geometry:
geometry name = chamber_in_vacuum
cavity regions = 1
cavity mass = 0.006717041
:stop calculation geometry:
:stop scoring options:
# —————————-
:start ausgab object definition:
:start ausgab object:
name = tracks
library = egs_track_scoring
:stop ausgab object:
:stop ausgab object definition:
# —————————-
:start MC transport parameter:
ESTEPE = 0.10
:stop MC transport parameter:
Hello everyone
Hello everyone,
After compiling tutor7, I have this message:
Mortran compilation for tutor7_linux64.f
mortran3.exe: using following I/O units
raw/hex data file: /home/sara/EGSnrc/HEN_HOUSE/bin/linux64/mortran3.dat
command line files:
-> appending /home/sara/EGSnrc/HEN_HOUSE/src/egsnrc.macros
-> appending /home/sara/EGSnrc/HEN_HOUSE/lib/linux64/machine.macros
-> appending /home/sara/EGSnrc/HEN_HOUSE/src/ranmar.macros
-> appending /home/sara/EGSnrc/HEN_HOUSE/src/transportp.macros
-> appending tutor7.mortran
-> appending /home/sara/EGSnrc/HEN_HOUSE/src/ranmar.mortran
-> appending /home/sara/EGSnrc/HEN_HOUSE/src/get_inputs.mortran
-> appending /home/sara/EGSnrc/HEN_HOUSE/utils/nrcaux.mortran
-> appending /home/sara/EGSnrc/HEN_HOUSE/lib/linux64/machine.mortran
-> appending /home/sara/EGSnrc/HEN_HOUSE/src/egs_utilities.mortran
-> appending /home/sara/EGSnrc/HEN_HOUSE/src/egsnrc.mortran
generated mortjob.mortran
fortran output: tutor7_linux64.f
mortlst output: tutor7_linux64.mortlst
Mortran compiling … OK
Fortran compiling tutor7_linux64.f using flags ‘ -fPIC -O3 -ffast-math’ and extra objects/libs ‘ ‘
ExitCode = 0
*********************** finished ***************************
Hello everyone

Hello everyone,
I need your help for my installation of EGSnrc. Iam traying to install it in my windows10 system . For this i downlood it from
(https://github.com/nrc-cnrc/EGSnrc/wiki/install-EGSnrc-on-windows ) , i followed all the steps it ok put when i recived the ( configure EGSnrc) i download EGSnrs-configure- windows.exe Ok then i complete until i get out this error in picture it can’t complete ( complling EGSnrc C++ libarary) my computer stops working directly .
Any one can help me ! Thanks for the help
[parallel run egs_cbct] I want to run my simulations faster, so I tried the parallel run using this script provided…
[parallel run egs_cbct] I want to run my simulations faster, so I tried the parallel run using this script provided by Frederic Tessier: https://gist.github.com/ftessier/7099aa0c6f9f7629d6e3#file-egs-parallel-sh and it seems that the simulation ran, but I don’t get the XX.scan output files.
I have 900 egsinp, for each I firstly run the blank.egsinp and than the egsinp itself, so I get 900 scan files which I use for reconstruction. The file automat.sh runs this cycle ensuring that the blank file has the same rng seed2 as the egsinp. Here are all the scripts: https://github.com/povolann/egs_cbct
https://github.com/povolann/egs_cbct//cdn.embedly.com/widgets/platform.js
[CBCT] Any ideas why there are circular artifacts when I switch from monoenergetic calculation to spectrum?
[CBCT] Any ideas why there are circular artifacts when I switch from monoenergetic calculation to spectrum? See the reconstructed slices. There are some circular artifacts also at the monoenergetic version, but they are from the bowtie filtter which isn’t as fine as it should be. But in the spectrum version there’s too much of these circular artifacts (and they don’t correspond with the bowtie filtter geometry).
I actually don’t use the cbct rotation, I generate 900 source files so I rotate the phantom itself. Could it be that in that case I should recalculate the blank scan before I calculate each scan? Or should I do something with the RNG block?


Excuse me
Excuse me
I would ask about install MinGW for Windows 64 bit ,
If it is required English language or i can install it on system have another language!
Dear EGSnrc users

Dear EGSnrc users,
I have some troubles with tutor7pp example. Once I run for charge=-1 there is no error but for charge=0 the screenshot appears and ptracks file has 0 kB size. Also if I set the position of the source inside of the box, again I will have the screenshot even for charge=-1.
Any comments?
Thanks.
Some time ago I ask about a problem.
Some time ago I ask about a problem. I have Ubuntu16.04 as OS, and I’m having problems when I try to parallelize. When I use the command exb for run a simulation, appears a message
“canonical system returned by config.guess (x86_64_unknown-linux-gnu) is not the same as the one found in the config file (linux64).
I have try to recompile $HEN_HOUSE/egs++ but the message is still there when I try to run exb.
If I try to run with the command
dosxyznrc_user_code -i input_file -p pegs4dat
It works properly
Does somebody knows what is happening. I have the same problem in two different computers. ¿Is a problem of Ubuntu or a bug in EGSnrc?
Thanks in advance
Sergio
Hello everyone
Hello everyone,
I recently installed EGSnrc and I am using egs_chamber to model some detectors. When I take a look at the geometry with egs_view, sometimes I get the warning: “failed to find a point that is inside the geometry”. I tried to adjust the values of the viewer control as suggested in the web manuals, but somehow I still have the warning in some cases. Is there some sort of trick to avoid this?
Thank you very much in advance.