Building packages
Note: Replace
{{ package-manager }}
with the name of your preferred conda compatible package manager executable.
-
Install
conda-build
andboa
into your environment:{{ package-manager }} install conda-build boa
-
Obtain the glotzerlab-software source code:
git clone https://github.com/glotzerlab/software
-
Change to the
conda
directory: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-folder
is the directory whereconda build
will write the packages. Set the channel pathfile:/{{ channel-path }}
in.condarc
to 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.