↑ Retornar para (English) Stuff

Install meep and mpb

Instructions to compile MPB and MEEP for a ubuntu fresh install.

More information on http://ab-initio.mit.edu/wiki/index.php/Main_Page

  1. BLAS: apt-get install libopenblas-base libopenblas-dev
  2. LAPACK: given by openblas install
  3. FTTW3: apt-get install libfftw3-bin libfftw3-dev
  4. guile: apt-get install libguile-2.0 libguile-2.0-dev libguile-2.0-libs
  5. libctl: apt-get install libctl5 libctl-dev
  6. HDF5: apt-get install libhdf5-dev libhdf5-10
  7. GSL: apt-get install libgsl-dev libgsl2
  8. haminv:
     wget http://ab-initio.mit.edu/harminv/harminv-1.4.tar.gz
    tar -xvf harminv-1.4.tar.gz
    cd harminv-1.4
    make install
  9. Environment Variables:
    export LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -L/opt/mit/lib"
    export CPPFLAGS="-I/usr/include/hdf5/serial/ -I/opt/mit/include"
  10. MPB:
    wget http://ab-initio.mit.edu/mpb/mpb-1.5.tar.gz
    tar -zxf mpb-1.5.tar.gz
    cd mpb-1.5
    ./configure --with-openmp # MP version
    ./configure --with-mpi # MPI version
    make install
  11. MEPP:
    wget http://ab-initio.mit.edu/meep/meep-1.3.tar.gz
    tar -zxf meep-1.3.tar.gz
    cd meep-1.3
    ./configure # Serial version
    ./configure --with-mpi # MPI version
    make check # just for serial version
    make installOBS: for install serial and mpi version use "make distclean" after "make install" just after that user "./configure ..."