-
Notifications
You must be signed in to change notification settings - Fork 38
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
Using PyPrismatic with mybinder.org #60
Comments
I'm pretty sure noone has tried, but this is a fun thing to try. I haven't tried using Binder in general myself, but could try adding a binder dependency for Fftw, although I'm not certain if that will be properly registered by gcc. |
Thanks for the quick reply! pyFFTW isn't an option is it? As far as I understand, prism uses fftw in the background when doing calculations in C++? Perhaps I should try to use c++ in Jupyter and Binder and see how far I can get with it. |
It definitely uses the c++ implementation, I was just thinking that maybe you'd be able to find the same file via a conda/pip install. As said, I'm not sure how Binder works, but if you're able to just add in the files and find a way for gcc to be aware of them, it might work. Does binder "exist" on Windows as well as linux? I've got compiled files here if you fancy them. |
@PinkShnack According to here, conda can install And C++ in Jupyter/MyBinder is here. |
pyprismatic can be installed from conda-forge:
|
@ericpre Sorry, I should have pointed out, not everything has to be converted to using conda. |
@ericpre This is fantastic for Prismatic, thanks a lot for doing all that work. And to confirm, including prismatic in the
Will close this issue in a couple of days. |
@PinkShnack yes, noted! added to issues for the website repo prism-em/prism-em.github.io#7. we plan to update the website on the (incoming) next release of prismatic |
Hey everyone!
Is it possible to use PyPrismatic with binder ? Has anyone tried? I assumed there would be issues with the dependencies FFTW and Boost. This is clear below. However, I know little about how these dependencies are compiled. Let me know if this is a question that would be better suited for the binder people, or if it's a bit daft.
I recently tried to create a binder of a Jupyter Notebook with PyPrismatic one of the imported packages in the requirements.txt. It failed with this error:
Anyone know where this
#include "fftw3.h"
should be placed in the binder, or if it's possible at all for binder to deal with it?The text was updated successfully, but these errors were encountered: