Tumor Paralleization research Git
-
Clone repository (RECURSIVELY!)
git clone git@github.com:UF-Cancer-Engineering-Lab/TumorParallelization.git --recursive
cd ./TumorParallelization
-
Create virutal environment
python -m venv .venv
-
Activate virtual environment
Windows:.\.venv\Scripts\activate.bat
Mac/Linux:source ./.venv/bin/activate
-
Install Requirements
pip install -r requirements.txt
-
Install NVIDIA's CUDA TOOLKIT
-
Build Cuda Kernels
compile_cuda_kernels.bat
(Windows)
chmod +x compile_cuda_kernels.sh && ./compile_cuda_kernels.sh
(Linux) -
Go to config/config.json and change parameters as desired
-
Run program.py
Run tests.py python tests.py
- Run
make_executable.bat
(windows) ormake_executable.sh
(linux) - Copy contents of dist folder wherever desired and run
program
- To change configuration modify
dist/config/config.json
- To add scene modify
dist/scenes/scene_name.json
- Go to cuda_kernels folder
- Go to src
- Make changes as desired
- Run
compile_cuda_kernels.bat
orcompile_cuda_kernels.sh
- Run program.py