Project

General

Profile

Actions

Install Xmipp » History » Revision 17

« Previous | Revision 17/61 (diff) | Next »
Neil Voss, 05/12/2010 01:19 PM


Install Xmipp

  • Setup Xmipp to use openmpi by changing three lines in SConstruct
    cp -v SConstruct SConstruct.orig
    

    opts.Add('MPI_INCLUDE', 'MPI headers dir ', '/usr/lib/openmpi/1.2.7-gcc/include/')
    opts.Add('MPI_LIBDIR', 'MPI libraries dir ', '/usr/lib/openmpi/1.2.7-gcc/lib/')
    opts.Add('MPI_LIB', 'MPI library', 'mpi')
    
  • Compile
    sudo mpi-selector --yes --system --set `rpm --qf '%{NAME}-%{VERSION}-gcc-%{ARCH}\n' -q openmpi`
    export PATH=$PATH:/usr/lib64/openmpi/1.3.2-gcc/bin
    ./scons.configure
    
  • Look for the following line in the output:
    * Checking for MPI ... yes
    
  • Now compile the source code
    ./scons.compile
    
  • Move the main source code directory to global location, like /usr/local
    mv -v Xmipp-2.4-src /usr/local/Xmipp
  • Create environmental file:
    • For bash:
      setenv XMIPPDIR /usr/local/Xmipp
      setenv PATH ${XMIPPDIR}/bin:${PATH}
      setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XMIPPDIR}/lib
      
    • For C shell:
      export XMIPPDIR=/usr/local/EMAN
      export PATH=${XMIPPDIR}/bin:${PATH}
      export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${XMIPPDIR}/lib
      

< Compile Ace2 | Test Appion >


Updated by Neil Voss over 14 years ago · 17 revisions