Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 908 Bytes

File metadata and controls

44 lines (26 loc) · 908 Bytes

Twistor

Overview

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).

Requirements

Docker

Install Docker.

NVIDIA Container Toolkit

Install the NVIDIA Container Toolkit.

Docker

Build

To build the Docker container execute the following command:

docker build -t twistor .

Run

To run the Docker container execute the following command:

docker run --gpus all --rm -it -v $(pwd):/usr/local/src/twistor twistor

CMake

Build

To build the examples within the container execute the following command:

cmake -S . -B build -DBUILD_EXAMPLES=ON
cmake --build build -j $(nproc)