Skip to content

argonne-lcf/THAPI-spack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THAPI-spack

This repository provides a Spack environment for installing and managing THAPI.

How to Install THAPI

✍️Note: This guide assumes spack is installed and available in your PATH.

⚠️ Important: The default branch for Spack is develop, which is unstable. To ensure a reliable installation, use the latest release of Spack. See the section below on installing Spack.

# Clone the THAPI-spack repository and add it as a Spack repo
git clone https://github.com/argonne-lcf/THAPI-spack
spack repo add ./THAPI-spack/
# Install THAPI
spack install thapi

Once installed, you can load THAPI with:

spack load thapi

How to Install Spack

If you don't have Spack installed yet:

git clone -c feature.manyFiles=true -b releases/latest https://github.com/spack/spack.git
. spack/share/spack/setup-env.sh

Building THAPI from Source

You can use Spack to install the required dependencies and set up the environment to build THAPI from source:

spack build-env thapi bash

This will spawn a new shell with the correct environment variables set for building THAPI manually.

About

This is a spack environment for THAPI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 7

Languages