rcgsheffield / conda-packages

A repository of custom conda packages
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

ShARC Conda recipies

This repository contains Conda package recipies for the University of Sheffield's ShARC HPC cluster.

Writing packages

Each package should go in its own directory and should be written following the Conda documentation on package building.

Building packages

Once you have written a recipie you can build it using:

conda build mypackage_dir

You will need the apps/python/conda environment module loaded and you should be in the default (root) Conda environment.

If you want to build for different Python versions other than the default Python 3.4 you need to specify them:

conda build --python 2.7 --python 3.5 --python 3.6 mypackage_dir

Note: To build packages need to make sure you have write-access to /usr/local/packages/apps/conda/conda-bld/.

Installing Packages

Once there is a package in the /usr/local/packages/apps/conda/conda-bld/linux-64 directory (and the package list is up-to-date) you can install it into an arbitrary conda environment on ShARC by following these instructions.