Skip to content
Snippets Groups Projects
README.md 3.20 KiB

ebrains-spack-builds

Build and distribute software with Spack

Quickstart

  • Open a terminal at a running Collaboratory Lab Container and execute the following:
 git clone https://gitlab.ebrains.eu/akarmas/ebrains-spack-builds.git
 cd ebrains-spack-builds
 source ./load_sim_tools.sh
  • Then you can start python and import the available tools
  • Currently installed: arbor, neuron, nest

Bulding software binaries with Spack

** The current build path needs to be automated with CI (e.g. gitlab runners) **

  • As a reference you can find here the Spack commands list

  • We will need to have different Spack environments to test specs (and build packages) and when tests are passing release specs from testing environments to production environment

  • First of all we need to create an appropriate build environment (at a dedicated VM or container image or gitlab runner). The build environment must run on the same OS as the Collaboratory base container image and fulfill all Spack's pre-requisites 1, 2

  • The Spack installation folder at build time must (currently) be:

/opt/app-root/src