GithubHelp home page GithubHelp logo

dedalus_conda's Introduction

Dedalus Conda builds

Conda-forge feedstock

There is currently a Dedalus feedstock on conda-forge which we have recently updated to support the latest Dedalus v2 release. This feedstock builds Dedalus for Linux and macOS (x86 only) with mpich and openmpi support. This build is recommended for laptops, workstations, and clusters that do not require linking to custom C libraries.

Custom build scripts

The scripts in this repository will build a new Conda environment for Dedalus and will allow you to link to system-specific MPI/FFTW/HDF5 libraries, if desired. These scripts are tested nightly on Ubuntu and macOS (x86 only) via GitHub Actions.

dedalus_conda's People

Contributors

jsoishi avatar kburns avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

dedalus_conda's Issues

Matplotlib throws NSApplication error on osx

Reported here. This is coming from an error with matplotlib backends. It can be fixed by explicitly setting the backend to TkAgg with matplotlib.use('tkagg’).

The issue is being tracked here and a fix is slated for the matplotlib 3.1.0 release in early March.

Full conda build

It would obviously be great to have a full conda build instead of having to use the current conda script, but we currently do so to have the ability to link to local/cluster FFTW, MPI and HDF5 libraries.

However I've just seen there's a new section in the conda-forge docs on "Using External MPI Libraries". It looks like they've created dummy conda builds of mpich that pass through local mpich libraries. If in the future this is extended to include OpenMPI, IMPI, FFTW, and HDF5, it could enable us to build a full conda recipe without losing this functionality.

Creating this issue here just to keep this in mind.

MPI chosen non-deterministically when resolving environment packages

Building from the environment file does not seem to consistenly produce the same build. In particular, openmpi sometimes comes from conda-forge (v3) and sometimes from cryoem (v2), in which case conda-forge installs mpi and mpi4py with mpich, and things are all messed up. A work-around when things go wrong is to remove fftw-mpi from the environment file and add it by hand later.

Need compilers with openmpi

New builds of openmpi are built using the anaconda compilers. It looks like a separate package is needed now to make mpicc available to run. More info here. For now, I've pinned openmpi to an older version to avoid.

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.