-
Notifications
You must be signed in to change notification settings - Fork 20
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
Plan to make a serial version of the fortran code #25
Comments
Do we have to make a serial version in order to make conda work? |
It may be possible to create a working and portable conda package with MPI, but I feel that it is still not easy. |
I work part time (?) with DAMA and I found this thread in my mailing list :D In NSLS-II's Conda channel, there're pre-built Open MPI and MPICH. If you're writing your own Conda recipe (see, e.g., NSLS-II/lightsource2-recipes/pull/486), you can simply add the dependencies in the
Also consider the By the way, if you're targeting full support for OS X, have you considered Homebrew? It has much better support for non-Python libraries than Conda, and still is the first choice for package management for OS X users. I don't have experience (yet) in preparing a Homebrew formula though. |
Thanks a lot for the very helpful information! I will try it. Yes, I agree with you that Homebrew has much better support than conda. I have already successfully install our code with MPI by Homebrew and Macports, and they both are easy. I think we can easily build a Homebrew formulae or Portfile with MPI for OSX. For pip, I have not found other ways to deal with MPI. |
@shenmidelin We should let @mrakitin try to make what we would ideally want -- a conda package providing full functionality. If this proves impossible let's go from there, but I would suggest not to compromises unless we need to. @leofang thanks a lot for the tips. Conda is very desirable for integrating to NSLS-II's infrastructure and helpful for integrating with other software in general. |
@mpmdean OK, let's hold this off for now. |
Anaconda is now working perfectly, so we do not need a serial version of the fortran code anymore. Let's close this issue #25. |
To make the packaging with pip and conda easier, I plan to make a serial version of the fortran code. Add preprocessor macros
# if defined (MPI)
# else
# endif
and make the serial version as the default one for pip and conda packages.
Without MPI, building a working
pip wheel
or conda package for Linux and OSX should be very easy.If users need MPI version, they can build from source.
The text was updated successfully, but these errors were encountered: