Hello!
Please help me with Dosxyz. I just installed EGS on Windows 10 and ran example for testing. An error occurred during startup. ************************************************************
Histories to be simulated for this run 100000
Histories to be analyzed after this run 100000
*************************************************************
Elapsed wall clock time to this point= 0.333 s
CPU time so far for this run = 0.203 s
BATCH # TIME-ELAPSED TOTAL CPUTIME RATIO TIME OF DAY RNG pointers
1 0.0 0.0 0.00 00:05:50 ixx jxx = 97 33
You have to load and initialize the library first
How can I fix it?
Thank you!
I guess this is the “beamsource” example – it uses a BEAMnrc accelerator as a source of particles (instead of say, a point source or a phase-space file). To do this, the accelerator must be compiled as a shared library.
As far as I know this has to be done from the command line. Open a command prompt, navigate to the BEAMnrc accelerator directory (BEAM_EX16MVp) in egs_home, and enter the following two commands. I am assuming that you installed mingw32 for the compilers:
mingw32-make
mingw32-make library
LikeLike
Thank you!
LikeLike