Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDTraj on conda-forge #634

Closed
mpharrigan opened this issue Nov 8, 2016 · 8 comments
Closed

MDTraj on conda-forge #634

mpharrigan opened this issue Nov 8, 2016 · 8 comments

Comments

@mpharrigan
Copy link
Contributor

Conda forge has some good infrastructure set up for community-maintained conda packages. https://conda-forge.github.io/

@rmcgibbo already has mdtraj set up to be built there. For our forthcoming release of 1.8, I plan on using the conda-forge machinery to build our official binaries and copy them over to the omnia channel. The omnia machinery won't be used to build the binaries

@mpharrigan
Copy link
Contributor Author

crossref mdtraj/mdtraj#1196

@jchodera
Copy link
Member

jchodera commented Nov 8, 2016

I'm very interested in trying to migrate omnia over to conda-forge, and I think there is a path to do this with openmm as well.

Do you foresee any issues with compatibility if you build on conda-forge? Which range of glibc libraries will the compiled code be compatible with, for example, and will that match the rest of omnia (which is compiled with CentOS 5.x)?

@rmcgibbo
Copy link
Contributor

rmcgibbo commented Nov 8, 2016

The forward compatibility is fine, but not the backward compatibility, so these binaries will not be usable on CentOS 5.

@rmcgibbo
Copy link
Contributor

rmcgibbo commented Nov 8, 2016

The only circimstance I can think of in which this might matter (other than for users who are still using EOL-ed linuxes) is that if one of the omnia project's build systems needed to use MDTraj's C/C++ code at build time to compute some distances or RMSDs, it would break.

I can't think of any projects whose setup.py script requires running RMSD calculations (or similar) though.

@jchodera
Copy link
Member

jchodera commented Nov 8, 2016 via email

@mpharrigan
Copy link
Contributor Author

For those keeping score at home, this turned out to be easy.

https://docs.continuum.io/anaconda-cloud/cli#copy

$ anaconda login
$ anaconda copy conda-forge/mdtraj/1.8.0 --to-owner omnia
Using Anaconda API: https://api.anaconda.org
Copied file: linux-64/mdtraj-1.8.0-np110py27_0.tar.bz2
Copied file: linux-64/mdtraj-1.8.0-np110py34_0.tar.bz2
Copied file: linux-64/mdtraj-1.8.0-np110py35_0.tar.bz2
Copied file: linux-64/mdtraj-1.8.0-np111py27_0.tar.bz2
Copied file: linux-64/mdtraj-1.8.0-np111py34_0.tar.bz2
Copied file: linux-64/mdtraj-1.8.0-np111py35_0.tar.bz2
Copied file: osx-64/mdtraj-1.8.0-np110py27_0.tar.bz2
Copied file: osx-64/mdtraj-1.8.0-np110py34_0.tar.bz2
Copied file: osx-64/mdtraj-1.8.0-np110py35_0.tar.bz2
Copied file: osx-64/mdtraj-1.8.0-np111py27_0.tar.bz2
Copied file: osx-64/mdtraj-1.8.0-np111py34_0.tar.bz2
Copied file: osx-64/mdtraj-1.8.0-np111py35_0.tar.bz2
Copied file: win-32/mdtraj-1.8.0-np110py35_0.tar.bz2
Copied file: win-32/mdtraj-1.8.0-np111py35_0.tar.bz2
Copied file: win-64/mdtraj-1.8.0-np110py35_0.tar.bz2
Copied file: win-64/mdtraj-1.8.0-np111py35_0.tar.bz2
Copied 16 files

@jchodera
Copy link
Member

Yay! It works now!

This was not easy when I tried it a few months back...

@mpharrigan
Copy link
Contributor Author

Glad you didn't tell me that earlier! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants