Differences between revisions 97 and 98

Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
This is the link to a detail version of installation. (['sourcecodeinstallationsparxversion'])Please note that it may not as up to date as the NCMI version. This is the link to a detail version of installation. (["sourcecodeinstallationsparxversion"])Please note that it may not as up to date as the NCMI version.

A guide how to install source code of SPARX and EMAN2 to your home directory.

Preparation work for Mac OS

Mac OS X do not come with the C++ compiler and GNU make installed. You need to install them by yourself. Please Install Xcode which is the collection of development tools (g++, make, etc).

Visit the page http://developer.apple.com/tools/download/, download and install xcode. It will require registration as Mac developer!

Download and unpack EMAN2/sparx source code

The source code can be found at web page http://ncmi.bcm.edu/ncmi/software/counter_222/software_86, although you might need fill out a registration form.

After you get the file (eman2.daily.source.tar.gz), move it to home directory and unpack it:

        tar -zxvf eman2.daily.source.tar.gz

which would create directory EMAN2 under your home directory,

NOTE: on multi-CPU machines all make commands can be replaced to make -j 4 where 4 is the number of CPUs available. It will significantly reduce the time of compilation.

Install some 3rd party libraries(fftw, etc.)

EMAN2 employs the following 3rd party libraries: fftw, gsl, boost, hdf5, jpeglib (optional), tifflib (optional). Below is a detail description of the installation process.

Please refer to the installation instruction from the NCMI lab. (http://blake.grid.bcm.edu/emanwiki/EMAN2/COMPILE_EMAN2_MAC_OS_X). Note that the download links and the installation procedures of 3rd party libraries may be changed.

This is the link to a detail version of installation. (sourcecodeinstallationsparxversion)Please note that it may not as up to date as the NCMI version.

Another good resource is google.

SourceCodeInstallation (last edited 2010-08-04 19:43:54 by ranlin)