JustPaste.it

demo_4layer_head

>> demo_4layer_head
running simulation ... this takes about 35 seconds on a GTX 470
Launching MCXLAB-CL - Monte Carlo eXtreme (OpenCL) for MATLAB & GNU Octave ...
Running simulations for configuration #1 ...
mcx.seed=1648335518;
mcx.nphoton=5e+07;
mcx.dim=[100 100 50];
mcx.mediabyte=1;
mcx.srcpos=[51 51 1 1];
mcx.srcdir=[0 0 1 0];
mcx.medianum=5;
mcx.tstart=0;
mcx.tend=5e-09;
mcx.tstep=5e-10;
mcx.autopilot=1;
mcx.gpuid=1;
mcx.isreflect=0;
==============================================================================
=                       Monte Carlo eXtreme (MCX) -- OpenCL                  =
=          Copyright (c) 2010-2023 Qianqian Fang <q.fang at neu.edu>         =
=                https://mcx.space/  &  https://neurojson.org/               =
=                                                                            =
= Computational Optics&Translational Imaging (COTI) Lab - http://fanglab.org =
=   Department of Bioengineering, Northeastern University, Boston, MA, USA   =
==============================================================================
=    The MCX Project is funded by the NIH/NIGMS under grant R01-GM114365     =
==============================================================================
= Open-source codes and reusable scientific data are essential for research, =
= MCX proudly developed human-readable JSON-based data formats for easy reuse=
= Please consider using JSON (https://neurojson.org/) for your research data =
==============================================================================
$Rev::4fdc45$ v2023  $Date::2018-03-29 00:35:53 -04$by $Author::Qianqian Fang$
==============================================================================
- code name: [Fractal] compiled with OpenCL [1] on [Nov 26 2023]
- compiled with: [RNG] xoroshiro128+ [Seed Length] 4
initializing streams ... init complete : 0 ms
building kernel with option: -cl-mad-enable -DMCX_USE_NATIVE -DMCX_SRC_PENCIL -DMED_TYPE=1  -DUSE_ATOMIC  -DINTERNAL_SOURCE
build program complete : 9 ms
- [device 0(1): Apple M1] threadph=97656 extra=128 np=50000000 nthread=512 nblock=64 sharedbuf=1024
set kernel arguments complete : 9 ms
lauching mcx_main_loop for time window [0.0ns 5.0ns] ...
simulation run# 1 ... 
kernel complete:   182341 ms
retrieving flux ... transfer complete:        182355 ms
normalizing raw data ... source 1, normalization factor alpha=40.000000
simulated 50000000 photons (50000000) with 1 devices (repeat x1)
MCX simulation speed: 274.23 photon/ms
total simulated energy: 50000000.00 absorbed: 35.21465%
(loss due to initial specular reflection is excluded in the total)
Elapsed time is 182.408870 seconds.
running simulation ... this takes about 50 seconds on a GTX 470
Launching MCXLAB-CL - Monte Carlo eXtreme (OpenCL) for MATLAB & GNU Octave ...
Running simulations for configuration #1 ...
mcx.seed=1648335518;
mcx.nphoton=5e+07;
mcx.dim=[100 100 50];
mcx.mediabyte=1;
mcx.srcpos=[51 51 1 1];
mcx.srcdir=[0 0 1 0];
mcx.medianum=5;
mcx.tstart=0;
mcx.tend=5e-09;
mcx.tstep=5e-10;
mcx.autopilot=1;
mcx.gpuid=1;
mcx.isreflect=1;
mcx.isrefint=1;
mcx.issavedet=1;
mcx.detnum=1;
==============================================================================
=                       Monte Carlo eXtreme (MCX) -- OpenCL                  =
=          Copyright (c) 2010-2023 Qianqian Fang <q.fang at neu.edu>         =
=                https://mcx.space/  &  https://neurojson.org/               =
=                                                                            =
= Computational Optics&Translational Imaging (COTI) Lab - http://fanglab.org =
=   Department of Bioengineering, Northeastern University, Boston, MA, USA   =
==============================================================================
=    The MCX Project is funded by the NIH/NIGMS under grant R01-GM114365     =
==============================================================================
= Open-source codes and reusable scientific data are essential for research, =
= MCX proudly developed human-readable JSON-based data formats for easy reuse=
= Please consider using JSON (https://neurojson.org/) for your research data =
==============================================================================
$Rev::4fdc45$ v2023  $Date::2018-03-29 00:35:53 -04$by $Author::Qianqian Fang$
==============================================================================
- code name: [Fractal] compiled with OpenCL [1] on [Nov 26 2023]
- compiled with: [RNG] xoroshiro128+ [Seed Length] 4
initializing streams ... init complete : 0 ms
building kernel with option: -cl-mad-enable -DMCX_USE_NATIVE -DMCX_SRC_PENCIL -DMED_TYPE=1  -DUSE_ATOMIC -DMCX_SAVE_DETECTORS  -DMCX_DO_REFLECTION -DINTERNAL_SOURCE
build program complete : 3 ms
- [device 0(1): Apple M1] threadph=97656 extra=128 np=50000000 nthread=512 nblock=64 sharedbuf=2048
set kernel arguments complete : 4 ms
lauching mcx_main_loop for time window [0.0ns 5.0ns] ...
simulation run# 1 ... 
kernel complete:   391911 ms
retrieving flux ... detected 16104 photons, total: 16104 transfer complete:        391931 ms
normalizing raw data ... source 1, normalization factor alpha=40.000000
simulated 50000000 photons (50000000) with 1 devices (repeat x1)
MCX simulation speed: 127.58 photon/ms
total simulated energy: 50000000.00 absorbed: 48.56498%
(loss due to initial specular reflection is excluded in the total)
Elapsed time is 392.021228 seconds.