-
Notifications
You must be signed in to change notification settings - Fork 50
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
Handle build strategy #2 automatically in cmake #65
Conversation
How does it detect where the conda environment is? |
Seraches for find_path(CONDA_PREFIX conda
PATHS ENV PATH
)
get_filename_component(CONDA_PREFIX ${CONDA_PREFIX}/.. ABSOLUTE) |
So if you have conda in your path such that 'python' is the conda python, it will find and use it? I guess it will say that you should add conda to your path before running ccmake in the instructions?
… On May 15, 2017, at 2:48 PM, shadow_walker ***@***.***> wrote:
How does it detect where the conda environment is?
Seraches for conda in directories listed in PATH. conda will be in $CONDA_PREFIX/bin. So, the conda environment is the parent directory.
find_path(CONDA_PREFIX conda
PATHS ENV PATH
)
get_filename_component(CONDA_PREFIX ${CONDA_PREFIX}/.. ABSOLUTE)
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub <#65 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AJ6i6iVdhremYjKJ6Jjh-hTLC7ZiEBYiks5r6KwJgaJpZM4NbeWa>.
----------------------------------------------------------------------------
Steven Ludtke, Ph.D.
Professor, Dept of Biochemistry and Mol. Biol. (www.bcm.edu/biochem)
Co-Director National Center For Macromolecular Imaging (ncmi.bcm.edu)
Co-Director CIBR Center (www.bcm.edu/research/cibr)
Baylor College of Medicine
sludtke@bcm.edu
|
The dependencies need to be installed with |
4fe0d52
to
967ef6b
Compare
Once a conda environment is found, it should find all the dependencies, not only |
f612b8a
to
e14c4ae
Compare
635f3c0
to
020e2cd
Compare
Should we include this in the release? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, go ahead, but after you merge, we should do some testing. Are the instructions for using this mechanism for a source compile ready?
Instructions are here, http://blake.bcm.edu/emanwiki/EMAN2/COMPILE_EMAN2_ANACONDA. |
Hi
I looked up instructions mentioned in the other email. They do not describe openmpi installation.
Regards,
Pawel
… On May 24, 2017, at 8:22 AM, Steve Ludtke ***@***.***> wrote:
@sludtke42 commented on this pull request.
Sure, go ahead, but after you merge, we should do some testing. Are the instructions for using this mechanism for a source compile ready?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Handle build strategy #2 automatically in cmake
This aims to simplify the process of installing from source. The install destination is within a conda environment. That could be the default root environment or any environment that is added and activated by the user. It is possible to enable/disable this behavior by setting/unsetting
ENABLE_CONDA
cmake variable. It isON
by default.