Twistor is a header-only C++20/CUDA library for GPU-accelerated gauge field simulation in the Conformal Spacetime Algebra (CSTA), the conformal extension of the Spacetime Algebra (STA).
Install Docker.
Install the NVIDIA Container Toolkit.
To build the Docker container execute the following command:
docker build -t twistor .
To run the Docker container execute the following command:
docker run --gpus all --rm -it -v $(pwd):/usr/local/src/twistor twistor
To build the examples within the container execute the following command:
cmake -S . -B build -DBUILD_EXAMPLES=ON
cmake --build build -j $(nproc)