MCX-CL is an OpenCL-based 3D photon simulator for NVIDIA/AMD/Intel CPUs and GPUs
325
MCX-CL (or MCX for OpenCL) is a high-performance, highly scalable and general-purpose Monte Carlo photon transport simulator for biophotonics applications. Compared to MCX (implemented with NVIDIA CUDA), MCXCL is written in the OpenCL framework, and is capable of launching parallel photon simulations on most modern CPUs and GPUs produced by many vendors, including NVIDIA, AMD and Intel (currently, this docker image only supports NVIDIA GPUs).
The details of the MCX-CL software and algorithm can be found in our papers: http://mcx.space/wiki/index.cgi?Citation#MCX_CL
To use this package, please first pull this image to your local OS by
docker pull fangqq/mcxcl:v2025
you can then execute simulations via
# to list all supported CPUs/GPUs
docker run --rm --gpus all "fangqq/mcxcl:v2025" mcxcl -L
# to list built-in benchmarks
docker run --rm --gpus all "fangqq/mcxcl:v2025" mcxcl --bench
# to run built-in benchmark
docker run --rm --gpus all "fangqq/mcxcl:v2025" mcxcl --bench cube60
# to run a simulating using the `input.json` input file in the current host folder
docker run --gpus all -v `pwd`:/app "fangqq/mcxcl:v2025" mcxcl -f /app/input.json
Content type
Image
Digest
sha256:941d5afa7…
Size
67.8 MB
Last updated
12 months ago
docker pull fangqq/mcxcl:v2025.10