Instructions to compile MPB and MEEP for a ubuntu fresh install.
More information on http://ab-initio.mit.edu/wiki/index.php/Main_Page
- BLAS: apt-get install libopenblas-base libopenblas-dev
- LAPACK: given by openblas install
- FTTW3: apt-get install libfftw3-bin libfftw3-dev
- guile: apt-get install libguile-2.0 libguile-2.0-dev libguile-2.0-libs
- libctl: apt-get install libctl5 libctl-dev
- HDF5: apt-get install libhdf5-dev libhdf5-10
- haminv:
wget http://ab-initio.mit.edu/harminv/harminv-1.4.tar.gz
tar -xvf harminv-1.4.tar.gz
cd harminv-1.4
./configure
make
make install - Environment Variables:
export LDFLAGS=”-L/usr/lib/x86_64-linux-gnu/hdf5/serial/”
export CPPFLAGS=”-I/usr/include/hdf5/serial/” # I = i uppercase - 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
make install - 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
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 …”