Differences between revisions 20 and 24 (spanning 4 versions)
Revision 20 as of 2017-06-09 04:38:21
Size: 1422
Editor: TunayDurmaz
Comment:
Revision 24 as of 2017-06-09 17:50:18
Size: 1574
Editor: TunayDurmaz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
export MACOSX_DEPLOYMENT_TARGET=10.7 # only for MacOSX (Yosemite, El Capitan)
Line 24: Line 23:
 1. Out-of-source builds are recommended, so work in a directory outside of eman2 source (this is generally true, not EMAN2-specific). Note '''cmake''', not '''--( ccmake )--'''. {{{  1. Out-of-source builds are recommended, so work in a directory outside of eman2 source (this is generally true, not EMAN2-specific). Note '''cmake''', not '''--( ccmake )--'''. CMake will automatically find the dependencies. If you want to change any of the CMake values, then use '''cmake-gui''' or '''ccmake'''. {{{
Line 27: Line 26:
cmake <some-path-to-keep-eman2-source>
make -j # 'make' should pick the number of available processors,
make -j4 # but you may specify the number if you like
export MACOSX_DEPLOYMENT_TARGET=10.7 # only for MacOSX
cmake <some-path-to-keep-eman2-source> -DENABLE_CONDA=ON
make -j      # 'make' should pick the number of available processors,
make -j4      # but you may specify the number if you like

!!! 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

    conda install eman-deps -c cryoem -c defaults -c conda-forge

    Listing the channels explicitly can be avoided by specifying them in <HOME>/.condarc, see conda documentation for more details, https://conda.io/docs/using/index.html.

  5. Out-of-source builds are recommended, so work in a directory outside of eman2 source (this is generally true, not EMAN2-specific). Note cmake, not ccmake . CMake will automatically find the dependencies. If you want to change any of the CMake values, then use cmake-gui or ccmake.

    cd <build-directory>
    export MACOSX_DEPLOYMENT_TARGET=10.7            # only for MacOSX
    cmake <some-path-to-keep-eman2-source> -DENABLE_CONDA=ON
    make -j           # 'make' should pick the number of available processors,
    make -j4          # but you may specify the number if you like
    make install

Windows

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