Skip to content

salotz/scopes-chipmunk2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scopes-chipmunk2d

Installation

The module is under src/chipmunk2d. You can copy this subtree into your project and then add it to the package.path in your Scopes _project.sc file.

With Spack

This module is available as the scopes-chipmunk2d package in the snailpacks repository. This will pull in the necessary dependencies including Scopes.

  spack install scopes-chipmunk2d

See the snailpacks documentation for more best practices of installing.

Development Environment

We use Spack to install dependencies. First install Spack.

Then you'll need our custom repo of build recipes:

  mkdir -p `/.spack/repos
  git clone [email protected]:salotz/snailpacks.git `/.spack/repos/snailpacks
  spack repo add `/resources/spack-repos/snailpacks

Then you need to create an environment in this folder that will contain the headers and libraries etc.

  spack env create -d .

Activate the environment (i.e. set the environment variables appropriately) and install the packages:

  spacktivate .
  spack install

To exit the environment (i.e. unset the env variables):

  despacktivate