Building packages
Note: Replace
{{ package-manager }}with the name of your preferred conda compatible package manager executable.
-
Install
conda-buildandboainto your environment:{{ package-manager }} install conda-build boa -
Obtain the glotzerlab-software source code:
git clone https://github.com/glotzerlab/software -
Change to the
condadirectory:cd software/conda -
Load any modules needed to provide compilers, MPI, and CUDA (optional). For example:
module load gcc openmpi cuda -
Build the packages:
./build.sh hoomd mpi4py \ --skip-existing \ --variants "{'cluster': ['{{ cluster-name }}'], 'device': ['gpu'], 'gpu_platform': ['CUDA']}" \ --output-folder {{ channel-path }}
Note: The
output-folderis the directory whereconda buildwill write the packages. Set the channel pathfile:/{{ channel-path }}in.condarcto match (see install).
Development of glotzerlab-software is led by the Glotzer Group at the University of Michigan.
Copyright © 2024 The Regents of the University of Michigan.