Git Product home page Git Product logo

conda-packages's Introduction

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.

conda-packages's People

Contributors

willfurnass avatar cadair avatar mikeg64 avatar

Stargazers

 avatar

Watchers

Mike Croucher avatar James Cloos avatar  avatar  avatar Carlos Morales avatar Anthony Brookfield avatar  avatar Deniz Savas avatar  avatar

Forkers

willfurnass

conda-packages's Issues

mpi4py all processes having same rank

I am new to MPI and trying to get mpi4py to work on SHARC.
I have a conda environment with python version 3.6.
I have only loaded the conda module, nothing else.
I have started an interactive session using the qrsh -pe mpi 2 command
Following the guide on http://docs.hpc.shef.ac.uk/en/latest/sharc/software/apps/python.html I added the repo to the conda config and installed openmpi and mpi4py to my current environment. This seemed to work fine with python 3.6 even though the guide does not specifically mention 3.6.
I tried testing the configuration using the following code:

from mpi4py import MPI
comm = MPI.COMM_WORLD  
name=MPI.Get_processor_name()  
print("hello world")  
print(("name:",name,"my rank is",comm.rank))

And running it using mpirun -n 2 python mpi_test.py
The output I get is:

hello world
name: sharc-node013.shef.ac.uk my rank is 0, my size is 1
hello world
name: sharc-node013.shef.ac.uk my rank is 0, my size is 1

Which, as far as I can tell, is not what I should be seing.

OpenMPI with PSM2 support

Will get best performance on ShARC if build OpenMPI with PSM2 support (./configure --with-psm2). May therefore need different version of openmpi conda package per cluster.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.