THANK YOU.

On Thu, Jul 16, 2015 at 8:13 PM, Edward H. Chen <ehc...@mit.edu> wrote:

> Dear Community,
>
> I wanted to share my installation experience of MPB 1.5 and MEEP 1.3. The
> examples seems to run fine for me, and I have not tried running a
> simulation with symmetries, or tested out the h5utilities. Most of the
> instructions were from the wiki but I am including some more explicit
> details.
>
>    - Download Xcode 6.4 from App store
>    - Install Homebrew using one-line installation from brew.sh
>    - brew doctor -- make sure you follow the doctor's advice:
>       - sudo chown $(whoami) /usr/local/share/man/de
>       - sudo chown $(whoami) /usr/local/share/man/de/man1
>       - NOTE:
>          - I believe brew is elegant because all of the packages it
>          installs will be found in the folder "/usr/local/Cellar/" folder
>       - brew install pkg-config
>       - (recommend by Dodson)
>    - brew install --enable-parallel homebrew/science/hdf5
>    - recommended by Dodson if you want MPI
>    - brew install homebrew/science/openblas
>    - export LDFLAGS=-L/usr/local/opt/openblas/lib
>       - export CPPFLAGS=-I/usr/local/opt/openblas/include
>    - brew install guile
>    - export LDFLAGS=-L/usr/local/libffi/lib
>       - brew install fftw
>    - brew install h5utils
>    - harminv 1.4 installation --
>       - download the source ( tar.gz file)
>       - "cd" into the unzipped directory for harminv
>          - cd Downloads/harminv-1.4/
>       - ./configure
>       - make
>       - make install
>          - (if your make install is successful you should see a "harminv"
>          file in "/usr/local/bin/", or check your config.log file
>          - (need root access, meaning you need to be the admin of the
>          computer. it doesn't mean you need to use sudo!)
>       - libctl 3.2.2 installation --
>       - download the source (tar.gz file)
>       - "cd" into the unzipped directory for libctl
>          - cd libctl-3.2.2
>          - Critical steps here, to let LIBCTL know where fftw is located:
>          - export LDFLAGS=-L/usr/local/Cellar/fftw/3.3.4_1/lib
>          - export CPPFLAGS=-I/usr/local/Cellar/fftw/3.3.4_1/include
>          - ./configure
>    - mpb 1.5 installation -- (BLAS an LAPACK come with OpenBLAS)
>       - download the source (tar.gz file)
>       - "cd" into the unzipped directory for mpb 1.5
>       - ./configure --with-libctl=/usr/local/share/libctl
>       LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include"
>       - make
>       - make install
>          - (need root access, meaning you need to be the admin of the
>          computer. it doesn't mean you need to use sudo!)
>       - test MPB by going into examples folder and running:
>          - "mpb diamond.ctl" for example
>       - meep 1.3 installation --
>       - download the source (tar.gz file)
>       - "cd" into the unzipped directory for meep 1.3
>       - ./configure --with-libctl=/usr/local/share/libctl
>       LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include"
>       - make
>       - make install
>          - (need root access, meaning you need to be the admin of the
>          computer. it doesn't mean you need to use sudo!)
>       - test meep using a file from the examples folder. if it runs
>       properly then you're good to go!
>          - "meep ring-cyl.ctl"
>
> Special thanks to Steven Johnson, Matthew Lewis and Tom Dodson for their
> guidance. Some links I used during my troubles:
>
>    - meep installation on OSX
>    
> <http://ab-initio.mit.edu/wiki/index.php/Meep_Installation#Installation_on_MacOS_X>
>    - email chain from Tom Dodson
>    <https://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg05220.html>
>     and email chain from Matthew Lewis
>    <https://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg05217.html>
>
>
> Best wishes to future fellow MPBers and MEEPers,
> Ed
>
> *--*
> *PhD Candidate*
> *Quantum Photonics Lab*
> *Research Lab for Electronics, MIT*
> *Office: 36-569*
> *Scholar Profile
> <http://scholar.google.com/citations?user=d5_MmyoAAAAJ&hl=en>*
>
> _______________________________________________
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to