Skip to content

iamashwin99/octopus-in-spack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support repository for getting the OCTOPUS code package into Spack.

Mostly aimed for maintainers of the Octopus package in spack: to test changes to the octopus/spack.py file before request merges in spack upstream.

There is a related effort to run some tests on the Octopus package in spack for older versions of spack at https://github.com/fangohr/spack-ci-octopus.

We also provide some hints on how to install Octopus with Spack (see below).

Compile Octopus on Linux with Spack. Spack's preferred version of Octopus is 12.2 at the moment (if you follow Compilation of Octopus using Spack):

spack-develop-octopus-stable Spack develop version, preferred version of Octopus

spack-develop-octopus-develop Spack develop version, develop version of Octopus

At the moment, this is under development, and we need two lines:

  • get spack: git clone https://github.com/spack/spack
  • activate spack: source spack/share/spack/setup-env.sh

Then compile octopus (this could take some time). For this example, we want to include netcdf support:

  • spack install octopus +netcdf

Ideally, there are no errors. This should install Octopus 12.2

There are further variants you can install. For example:

  • spack install octopus +netcdf+parmetis+arpack+cgal+pfft+python+likwid+libyaml+elpa+nlopt

To see an overview of available variants, use spack show octopus.

This should install the last Octopus release available in spack. (Use spack info octopus to see available versions.)

  1. Activate spack:
  • source spack/share/spack/setup-env.sh
  1. Load octopus
  • spack load octopus
  1. Use octopus (it should be in the $PATH). You can check the octopus version using octopus version.

See https://github.com/fangohr/octopus-in-docker .

See for example the steps in this Dockerfile on https://github.com/fangohr/octopus-in-docker

About

Develop Octopus in spack (software packaging)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.1%
  • Dockerfile 20.0%
  • Makefile 5.9%