Skip to content

ACCESS-NRI/access-spack-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

293 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACCESS-NRI Spack packages

This is a Spack package repository maintained by ACCESS-NRI for packages that are not available in the upstream Spack package repository. Where possible Spack package recipes (SPRs) written by ACCESS-NRI will be contributed to the upstream Spack packages repository.

The namespace of the ACCESS Spack package repository is access.nri.

How to utilise this package repository

Note

$SPACK_ROOT and $ACCESS_SPACK_PACKAGE_PATH are substituted in all paths to make these instructions installation independent.

If you are not using ACCESS-NRI's spack-config, a default installation of Spack will have a single package repository (builtin):

$ spack repo list
[+] builtin    v2.2    $SPACK_ROOT/../package_repos/fncqgg4/repos/spack_repo/builtin

And the following package is not available:

$ spack list libaccessom2
==> 0 packages

To use the SPRs in this repository, first check if your Spack instance already includes this repository (spack repo list). If not, then add it manually:

spack repo add https://github.com/ACCESS-NRI/access-spack-packages $ACCESS_SPACK_PACKAGE_PATH

and then confirm it has been added correctly:

$ spack repo list
[+] builtin       v2.2    $SPACK_ROOT/../package_repos/fncqgg4/repos/spack_repo/builtin
[+] access.nri    v2.0    $ACCESS_SPACK_PACKAGE_PATH/spack_repo/access/nri

Now, the libaccessom2 package should be available to install

$ spack list libaccessom2
libaccessom2
==> 1 packages

More information

  • The Spack package repository that was used with pre-v1.0 Spack is available in the api-v1 branch

  • For more information see the extensive spack documentation on how to utilise repository files.

About

Spack package repository maintained by ACCESS-NRI. Admins: @CodeGat @harshula

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors