Differences between revisions 2 and 17 (spanning 15 versions)
Revision 2 as of 2017-05-15 18:29:11
Size: 720
Editor: TunayDurmaz
Comment: fix numbered lists
Revision 17 as of 2017-06-09 03:58:26
Size: 1070
Editor: TunayDurmaz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 1. Download and install Anaconda/Miniconda (:TODO: links).  1. Download and install [[https://www.continuum.io/downloads | Anaconda2]] or [[https://conda.io/miniconda.html | Miniconda2]].
Line 11: Line 11:
 1. Checkout EMAN2 code from GitHub, (link here). {{{  1. Checkout EMAN2 code from [[https://github.com/cryoem/eman2 | GitHub:cryoem/eman2]]. {{{
Line 17: Line 17:
 1. Optionally, activate an existing conda environment, i.e. `source activate eman-env`.  1. Optionally, activate an existing conda environment, e.g. `source activate eman-env`. Skip this step if you don't understand this statement.
Line 19: Line 19:
 1. Out-of-source builds are recommended, so work in a directory outside of eman2 source. {{{  1. Install dependencies {{{
export MACOSX_DEPLOYMENT_TARGET=10.7 # Yosemite, El Capitan
conda install eman-deps -c cryoem -c defaults -c conda-forge
}}}

 1. Out-of-source builds are recommended, so work in a directory outside of eman2 source. Note '''cmake''', not '''--( ccmake )--'''. {{{
Line 27: Line 32:
# == Linux ==

!!! UNDER CONSTRUCTION !!!

All platforms

The following instructions will work with cmake changes introduced in https://github.com/cryoem/eman2/pull/65.

Mac OS X, Linux

  1. Download and install Anaconda2 or Miniconda2.

  2. Checkout EMAN2 code from GitHub:cryoem/eman2.

    cd <some-path-to-keep-eman2-source>
    git clone https://github.com/cryoem/eman2.git
  3. Optionally, activate an existing conda environment, e.g. source activate eman-env. Skip this step if you don't understand this statement.

  4. Install dependencies

    export MACOSX_DEPLOYMENT_TARGET=10.7  # Yosemite, El Capitan
    conda install eman-deps -c cryoem -c defaults -c conda-forge
  5. Out-of-source builds are recommended, so work in a directory outside of eman2 source. Note cmake, not ccmake .

    cd <build-directory>
    cmake <some-path-to-keep-eman2-source>
    make -j
    make install

Windows

EMAN2/COMPILE_EMAN2_ANACONDA-PRE-CONDA-ENVIRONMENTS (last edited 2019-11-01 14:27:54 by TunayDurmaz)