SIROCCO
Documentation
Quick Guide to SIROCCO
Getting Started
Running SIROCCO
Inputs
Outputs & Evaluation
Plotting & Processing Outputs
Code Operation
Radiation Sources
Wind Models
Coordinate grids
Examples
Physics & Radiative Transfer
Atomic Data
Meta-documentation
Developer Documentation
Programming Notes
MPI Communication
Matrix Acceleration using CUDA
Unit Test Framework
Python Scripts
SIROCCO
Developer Documentation
View page source
Developer Documentation
This page contains documentation intended for developers.
Programming Notes
Structures
Program Flow
Parallel Operation
Input naming conventions
External variables
MPI Communication
Communication pattern: broadcasting data to all ranks
Calculating the size of the communication buffer
Communication implementation
Adding a new variable to an existing communication
Matrix Acceleration using CUDA
When should you use CUDA?
Requirements
Installing the CUDA toolkit
How to Enable and Run CUDA
Compilation
Running
Implementation
The CUDA parallel model
Basics
Structure
Compiling and Linking
Unit Test Framework
Installing CUnit
Running Tests
Writing Tests
Creating a new test
Creating a test suite
Directory and structure