Monte Carlo eXtreme, or MCX, is a fast Monte Carlo simulation software for photon transport in 3D heterogeneous media. It uses Graphics Processing Units (GPU) based massively parallel computing techniques and is hundreds times faster compared to traditional single-threaded CPU-based simulations.
MCX is designed for high computational efficiency, accuracy and excellent portability. It contains 5 variant forms which are suited for a spectrum of practical needs ranging from high simulation speed to accuracy-demanding applications. The software can be compiled on various platforms including Windows, Linux, Mac OS, and can be used with almost all generations of CUDA-capable devices (8800GT to Fermi).
MCX v0.5.2 is a bug-fixing release. In this release, we corrected a high-priority bug, discovered by my colleagues Clement and Frederic at Ecole Polytechnique Montréal. The photon detection code was also improved to consider the exact exit position.
The new release v0.5.2 solved the following issues in v0.5.1 released in Jun. 2011:
Pre-compiled MCX were provided for Windows (32/64bit), Linux (32/64bit) and Mac OS (32bit). In the case of MCXLAB, mex files for both Matlab and Octave on these platforms are provided. All binaries were tested on a Fermi GPU (GTX 470).
To install MCX v0.5.2, you need
To use MCXLAB v0.5.2 in MATLAB, you must have a MATLAB pre-installed.
To use MCXLAB v0.5.2 in GNU Octave, you must install the following:
In all cases, CUDA libraries (libcudart.so for Linux, libcudart.dylib for Mac and cudart.dll for Windows) must be properly installed before you launch MCX.
Qianqian Fang and David A. Boas, "Monte Carlo Simulation of Photon Migration in 3D Turbid Media Accelerated by Graphics Processing Units," Opt. Express, vol. 17, issue 22, pp. 20178-20190 (2009)