Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5281/zenodo.8075681
29 October 2025, 17:21:42 UTC
  • Code
  • Branches (0)
  • Releases (4)
  • Visits
    • Branches
    • Releases
      • 4
      • 4
      • 3
      • 2
      • 1
    • ea30f42
    • /
    • danielver02-ALPS-220597d
    • /
    • README.md
    Raw File Download

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge
    swh:1:cnt:05c4bb3065d454e7226bf328d9dfc548fd2b32b1
    origin badgedirectory badge
    swh:1:dir:8060d4ac9b00a0efe50ec931c8bf08c2d166f29b
    origin badgesnapshot badge
    swh:1:snp:e9971dcac38583a5eceb223e9c3c25638ea32323
    origin badgerelease badge
    swh:1:rel:38e50bdfa887feee20e30d4b944782bd46bda1ba

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    README.md
    [![DOI](https://zenodo.org/badge/243310181.svg)](https://zenodo.org/badge/latestdoi/243310181)
    [![build](https://github.com/danielver02/ALPS/actions/workflows/tests.yml/badge.svg)](https://github.com/danielver02/ALPS/actions/workflows/tests.yml)
    
    
    # ALPS: The Arbitrary Linear Plasma Solver
    
    This is the ALPS code: the Arbitrary Linear Plasma Solver.
    
    <img src="./ALPS_logo.png" alt="drawing" width="200"/>
    <img src="./qrcode_alps_github.png" alt="drawing" width="200"/>
    
    ## Authors
    
    Kristopher Klein   (kgklein@arizona.edu)  
    Daniel Verscharen  (d.verscharen@ucl.ac.uk)
    
    ## Contents
    
    1. What is ALPS?
    2. Acknowledgements
    3. Installing the ALPS Code
    4. Running the ALPS Code
    5. License
    
    ## 1. What is ALPS?
    
    ALPS is a parallelised numerical code that solves the Vlasov-Maxwell dispersion
    relation in hot (even relativistic) magnetised plasma. ALPS allows for any
    number of particle species with arbitrary gyrotropic background distribution
    functions supporting waves with any direction of propagation with respect to
    the background magnetic field.
    
    If you use the code for a science publication,
    
    1. please provide the code website [github.com/danielver02/ALPS](https://github.com/danielver02/ALPS) in the acknowledgements,
    2. cite the DOI of the code:
    ```
    @software{alps_2023_8075682,
      author       = {{Klein}, K. G. and
                      {Verscharen}, D. and
                      {Koskela}, T. and
                      {Stansby}, D.},
      title        = {danielver02/ALPS: Zenodo release},
      month        = jun,
      year         = 2023,
      publisher    = {Zenodo},
      version      = {v1.0.1},
      doi          = {10.5281/zenodo.8075682},
      url          = {https://doi.org/10.5281/zenodo.8075682}
    }
    ```
    3. and cite the code paper:
       
    [Verscharen, D., Klein, K. G., Chandran, B. D. G., Stevens, M. L., Salem, C. S.,
    and Bale, S. D.: ALPS: the Arbitrary Linear Plasma Solver, J. Plasma Phys. 84,
    905840403, 2018, doi: 10.1017/S0022377818000739](http://doi.org/10.1017/S0022377818000739)
    
    The documentation of the code can be found on [alps.space](http://alps.space).
    
    Details on updates to the code can be found in:
    
    [Klein, K. G. and Verscharen, D.: The Dielectric Response of Plasmas with Arbitrary Gyrotropic Velocity Distributions, Phys. Plasmas 32, 092104, 2025, doi: 10.1063/5.0286477](http://doi.org/10.1063/5.0286477)
    
    ## 2. Acknowledgements
    
    The development of the ALPS code was supported by NASA Grant NNX16AG81G. The code developers appreciate support from the UK Science
    and Technology Facilities Council (STFC) Ernest Rutherford Fellowship ST/P003826/1,
    STFC Consolidated Grants ST/S000240/1 and ST/W001004/1, and the Open Source
    Software Sustainability Funding programme from UCL's Advanced Research Computing
    Centre and UCL's eResearch Domain. We appreciate software engineering support by
    David Stansby and Tuomas Koskela from UCL.
    
    ##  3. Installing the ALPS code
    
    For advice on the installation of the code, please check [`INSTALL.md`](./INSTALL.md)
    
    
    ##  4. Running the ALPS code
    
    ALPS works with input files that specify the plasma and numerical parameters for
    the calculation. We recommend that you start by checking out the provided test
    cases as a guidance for the creation of input files. These test cases are listed
    in the scripts `run_test.sh` and `run_test_suite.sh` in the subfolder `./tests`. All associated input files have
    a name starting with `test_`.
    
    You can execute the ALPS code through the following command:
    
    ```
    mpirun -np <NP> ./src/ALPS <input_file.in>
    ```
    
    where `<NP>` is the number of processors you want to use. This number must be greater
    than or equal to 4, and it must be an even number. `<input_file.in>` is the input file
    that includes all parameters for your run.
    
    On some systems, depending on the MPI configuration, the oversubscribe flag is
    required. In this case, the above command must be replaced with
    
    ```
    mpirun -np <NP> --oversubscribe ./src/ALPS <input_file.in>
    ```
    
    For first-time users, we recommend working through our [ALPS Tutorial](tutorial.md). The key input parameters for ALPS are described on the [ALPS Input](input.md) page. The output format of ALPS is described on the [ALPS Output](output.md) page.
    
    
    ## 5. License
    
    BSD 2-Clause License
    
    Copyright (c) 2023, Kristopher G. Klein and Daniel Verscharen
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    
    1. Redistributions of source code must retain the above copyright notice, this
       list of conditions and the following disclaimer.
    
    2. Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    

    back to top

    Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API