Skip to content
Structured PIC Proxy App Based on Cabana
C++ Roff C CMake Python Shell Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This document is to be used to collect a wish list of features before development starts


This code has two major dependencies:

  1. Kokkos
  2. Cabana

Instructions on how to obtain and install both can be found here

Once these are installed, you can configurable and build this project using cmake. To do so, the user should manually set the following two variables:

  1. CABANA_DIR (pointing to the install location of Cabana)
  2. KOKKOS_DIR (pointing to the install location of Kokkos)

An example build line will look something like this:

cmake -DKOKKOS_DIR=$HOME/tools/kokkos -DCABANA_DIR=$HOME/tools/cabana ..

For GPU builds, you additionally need to point the CXX compiler to the Kokkos Cuda wrapper, you can do this by doing something like:


Remember: Kokkos and Cabana need to be build with GPU support


Users can compile in custom input decks by specifying INPUT_DECK at build time, e.g:

CXX=g++-9 cmake -DKOKKOS_DIR=$HOME/kokkos/build/install -DCABANA_DIR=$HOME/Cabana/build/install -DINPUT_DECK=./decks/2steam-short.cxx ..

Some example decks live in ./decks. Custom decks must follow the layout put forth in ./src/input/decks.h

Feature Wishlist

  1. Configurable to run in different precisions (real_t to configure float/double)
  2. The particle data store layout should be Configurable (AoS/SoA/AoSoA)
  3. The particle shape function used should be configurable


© (or copyright) 2019. Triad National Security, LLC. All rights reserved.

This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. Department of Energy/National Nuclear Security Administration. All rights in the program are reserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear Security Administration. The Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so.

This is open source software; you can redistribute it and/or modify it under the terms of the BSD-3 License. If software is modified to produce derivative works, such modified software should be clearly marked, so as not to confuse it with the version available from LANL.

You can’t perform that action at this time.