Return to Stuff

Install meep and mpb

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

More information on

  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. haminv:
    tar -xvf harminv-1.4.tar.gz
    cd harminv-1.4
    make install
  8. Environment Variables:
    export LDFLAGS=”-L/usr/lib/x86_64-linux-gnu/hdf5/serial/”
    export CPPFLAGS=”-I/usr/include/hdf5/serial/” # I = i uppercase
  9. MPB:
    tar -zxf mpb-1.5.tar.gz
    cd mpb-1.5
    ./configure –with-openmp # MP version
    ./configure –with-mpi # MPI version
    make install
  10. MEPP:
    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 …”