Differences between revisions 24 and 61 (spanning 37 versions)
Revision 24 as of 2010-04-22 18:12:47
Size: 2135
Editor: SteveLudtke
Comment:
Revision 61 as of 2020-12-15 18:06:19
Size: 2826
Editor: TunayDurmaz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Compiling and Installing EMAN2 =
'''Most users, even 'advanced' users should select a binary install.''' If the binaries don't work for you for some reason (please [[mailto:sludtke@bcm.edu|let us know]], or if you need to write new low-level image processing functions, then you can resort to a source-based installation.)
= Installing EMAN2 / SPHIRE =
The new EMAN2.2/ SPHIRE 1.0 binaries for recent OS versions are more heavily optimized than previous releases (and less backwards compatible). Still, it may be possible to achieve a 10-20% additional speedup if you setup GCC6 and compile with optimize-machine on a recent Linux version. Compiling from source on Linux is much easier than the other platforms. For Mac and Windows users, we strongly suggest using a binary.
Line 4: Line 4:
EMAN2 uses an increasingly popular approach of writing all of the main computationally intensive image processing operations in C++, but writing all of the user programs, including those with GUIs (graphical user interfaces) in a scripting language called [[http://www.python.org|Python]]. All of these Python level programs can be edited by the end-user WITHOUT requiring a C++ development environment. Note that most users won't want or need even this level of customization. [[https://cryoem.bcm.edu/cryoem/downloads/view_eman2_versions|Download EMAN2 / SPHIRE here]].
Line 6: Line 6:
=== Before Installing a New Version ===
 * Run 'e2bdb.py -c'
 * Check [[EMAN2/ChangeLog|the ChangeLog]] for important update info

=== Binary Installation ===
 * [[EMAN2/Install/BinaryInstall|Installing EMAN2 binaries]]
=== Binary Installation (most users should do this) ===
 * Installing EMAN2 / SPHIRE binaries, EMAN2.31 / SPHIRE 1.3 and later (NEW)
   * [[EMAN2/Install/BinaryInstallAnaconda/2.39| 2.39 / 1.3 (continuous / nightly)]]
   * [[EMAN2/Install/BinaryInstallAnaconda/2.31| 2.31 / 1.3]]
 * Installing EMAN2 / SPHIRE binaries, up to EMAN2.3 / SPHIRE 1.2
   * [[EMAN2/Install/BinaryInstallAnaconda/2.3| 2.3 / 1.2]]
   * [[EMAN2/Install/BinaryInstallAnaconda/2.22|2.22 / 1.1]]
   * [[EMAN2/Install/BinaryInstallAnaconda/2.21|2.21 / 1.0]]
   * [[EMAN2/Install/BinaryInstallAnaconda/2.2|2.2 / 1.0beta]]
 * [[EMAN2/Install/BinaryInstall|Installing EMAN2 binaries, pre 2.2]]
Line 14: Line 18:
 * EMAN2 source is on [[http://github.com/cryoem/eman2|GitHub]] (detailed instructions below): http://github.com/cryoem/eman2
 * Compile EMAN2 with Miniconda (Linux and OSX) (recommended)
   * [[EMAN2/COMPILE_EMAN2_ANACONDA/2.39|EMAN 2.39 SPHIRE 1.3 (latest source code)]]
   * [[EMAN2/COMPILE_EMAN2_ANACONDA/2.31|EMAN 2.31 SPHIRE 1.3]]

==== For older versions ====
Line 15: Line 25:
 * [[EMAN2/COMPILE_EMAN2_WINDOWS|Compile EMAN2 with Visual Studio .NET 2005 on Windows XP]]
 * [[EMAN2/COMPILE_EMAN2_MAC_OS_X|Compile EMAN2 on OS X]]
 * [[EMAN2/ExternalLibraries|External libraries needed for EMAN2 compilation]]
 * [[EMAN2/COMPILE_EMAN2_MAC_OS_X|Compile EMAN2 on OS X with Anaconda]] (older version)
 * [[EMAN2/BREW_EMAN2_MAC_OS_X|Compile EMAN2 on OS X with Homebrew]] (not recommended)
 * [[COMPILE_EMAN2_VS2008|Compile EMAN2 with Visual Studio 2008 on Win7 32bit]]
 * [[EMAN2/COMPILE_EMAN2_WINDOWS|Compile EMAN2 with Visual Studio .NET 2005 on Windows XP (OBSOLETE)]]
Line 22: Line 33:
 * [[EMAN2/FAQ/Py_initModule4_64|I try to run eman2 script, got error like "ImportError: ....libboost....: undefined symbol: Py_InitModule4_64", what does that mean?]]
 * [[EMAN2/FAQ/EMAN2Mandriva2009Segfault|I compiled EMAN2 on Mandriva 2009, everything looks OK, but I got segmentation fault when I try to run e2display.py or e2boxer.py.]]
 * More installation FAQs can be found on the [[EMAN2/FAQ|FAQs]] page.
 * [[EMAN2/FAQ/International|Does EMAN2 support Internationalization/other language conventions ?]]
 * [[EMAN2/FAQ/ClusterInstall|Why is EMAN2 distributed as an 'EMAN2' directory rather than Linux RPM's, etc. ?]]
 * [[EMAN2/FAQ/UseEman2_OSX|EMAN2 installed under OSX doesn't work properly. Any suggestions?]]
 * [[EMAN2/FAQ/UseEman2_Windows|EMAN2 installed under Windows doesn't work properly. Any suggestions?]]

Installing EMAN2 / SPHIRE

The new EMAN2.2/ SPHIRE 1.0 binaries for recent OS versions are more heavily optimized than previous releases (and less backwards compatible). Still, it may be possible to achieve a 10-20% additional speedup if you setup GCC6 and compile with optimize-machine on a recent Linux version. Compiling from source on Linux is much easier than the other platforms. For Mac and Windows users, we strongly suggest using a binary.

Download EMAN2 / SPHIRE here.

Binary Installation (most users should do this)

Compiling from Source and Setting Up a C++ Development Environment

For older versions

FAQ

icos_saff.png

EMAN2/Install (last edited 2024-09-13 17:36:10 by TunayDurmaz)