Skip to content

PFLAREProject/PFLARE_spack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PFLARE Spack External Repository

This repository provides a Spack package for PFLARE (https://github.com/PFLAREProject/PFLARE), including optional support for Python bindings via Cython and PETSc4Py.

Usage:

  1. Clone this repo

  2. Add this repo to Spack:

    spack repo add PFLARE_spack
  3. Install PFLARE:

    spack install pflare

    PFLARE depends on PETSc, so the build configuration will follow the PETSc options you choose. For example, to build a static version of PETSc (and hence PFLARE), set the shared library variant for PETSc to false:

    spack install pflare ^petsc~shared

    or for example, to build PETSc (and hence PFLARE) with 64 bit integers:

    spack install pflare ^petsc+int64
  4. After installation, you can set up your environment (e.g., LD_LIBRARY_PATH, etc.) using:

    spack load pflare

Optional Python variant

  1. To build PFLARE with Python bindings (via Cython and PETSc4Py):

    spack install pflare+python

    or the test flag can be added to check that the Python bindings are built during the install:

    spack install --test=root pflare+python
  2. After installation, you can set up your environment (including PYTHONPATH) using:

    spack load pflare+python

About

Spack package manager build for PFLARE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published