MPB download

From AbInitio

(Difference between revisions)
Jump to: navigation, search
Revision as of 01:29, 16 October 2005 (edit)
Stevenj (Talk | contribs)

← Previous diff
Revision as of 19:24, 21 February 2017 (edit)
Ardavan (Talk | contribs)

Next diff →
Line 1: Line 1:
{{MPB}} {{MPB}}
-Here you can download the source code of MIT Photonic-Bands package. First, though, please consider subscribing to one of the...+Here you can download the source code of MIT Photonic-Bands package. First, though, please consider subscribing to one of the [[MPB#Mailing lists|mailing lists]].
- +
-== Mailing Lists ==+
- +
-Subscribe to the (read-only) [http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-announce mpb-announce mailing list] to receive an email when MIT Photonic-Bands is updated in the future. Subscribe to the (unmoderated) [http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss mpb-discuss mailing list] for discussion of questions and ideas about using the MIT Photonic-Bands package. Announcements are '''not''' always sent to mpb-discuss; you should subscribe to mpb-announce for that. [http://news.gmane.org/thread.php?group=gmane.comp.science.photonic-bands Archives of mpb-discuss] are available online. (You can also read & post the list via the [news://news.gmane.org/gmane.comp.science.photonic-bands gmane.comp.science.photonic-bands] newsgroup from [http://www.gmane.org/ Gmane]).+
(It goes without saying that we will not sell or give your email address to anyone else...we hate spam, too.) (It goes without saying that we will not sell or give your email address to anyone else...we hate spam, too.)
-== MIT Photonic-Bands 1.4.2 ==+== Downloading MPB ==
-MIT Photonic-Bands 1.4.2 is the current version of the Photonic-Bands package (see the [http://ab-initio.mit.edu/mpb/NEWS.html release notes] to find out what's changed). You can download it from:+MIT Photonic-Bands 1.5 is the current version of MPB (see the [[MPB release notes]] to find out what's changed). You can download it from:
-* '''http:''' [http://ab-initio.mit.edu/mpb/mpb-1.4.2.tar.gz mpb-1.4.2.tar.gz] (requires [http://ab-initio.mit.edu/libctl libctl] version 2.2 or later). +* http://ab-initio.mit.edu/mpb/mpb-1.5.tar.gz (requires [[libctl]] version 3.2.1 or later).
-Be sure to look at the [http://ab-initio.mit.edu/mpb/doc/installation.html installation section] of the manual. The Photonic-Bands package should work on most any Unix-like operating system, but you may need to install a number of other packages first (''e.g.'', BLAS, LAPACK, HDF5, Guile), as described in the installation instructions. Also, see below for additional notes for specific systems.+Be sure to look at the [[MPB Installation|installation section]] of the manual. MPB should work on most any Unix-like operating system, but you may need to install a number of other packages first (''e.g.'', BLAS, LAPACK, HDF5, Guile), as described in the installation instructions. Also, see below for additional notes for specific systems.
-MIT Photonic-Bands is free software under the GNU General Public License; see the [http://ab-initio.mit.edu/mpb/doc/license.html License and Copyright] section of the documentation for additional information. Note especially that it comes '''as-is''' with '''no warranty''' (see the license for more details).+MIT Photonic Bands is free software under the GNU General Public License; see the [[MPB License and Copyright]] section of the documentation for additional information. Note especially that it comes '''as-is''' with '''no warranty''' (see the license for more details)
-See our [http://ab-initio.mit.edu/mpb/hdf.html HDF page] for pointers to software for data visualization using HDF (MPB outputs its field files and dielectric functions in HDF format).+=== Precompiled MPB packages ===
-=== Debian GNU/Linux ===+Installation of MPB can be much [[MPB on Debian|easier on Debian GNU/Linux]], where all of the prerequisites can be fetched automatically. If you haven't settled on a Linux distribution yet, I highly recommend [http://www.debian.org/ Debian].
-Installation of MPB can be much [http://ab-initio.mit.edu/mpb/debian.html easier on Debian GNU/Linux], where all of the prerequisites can be fetched automatically. If you haven't settled on a Linux distribution yet, I highly recommend [http://www.debian.org/ Debian].+MacOS X users can get MPB via a Debian-like interface by using [http://fink.sourceforge.net/ Fink], which now includes an [http://fink.sourceforge.net/pdb/package.php/mpb MPB package] thanks to Aurelien Chanudet.
-MacOS X users can get MPB via a Debian-like interface by using [http://fink.sourceforge.net/ Fink], which now includes an [http://fink.sourceforge.net/pdb/package.php/mpb MPB package] thanks to Aurelien Chanudet.+=== Installation on Windows ===
 +It is possible to install MPB under Windows by using [[w:Cygwin|Cygwin]], a free Unix-compatibility environment for Windows.
-== Common Installation Problems ==+One MPB user, Robert Hovden, wrote a brief [http://robert.hovden.googlepages.com/MPBonCygwin.pdf guide on installing MPB under Cygwin] that should be helpful.
-Please read the following important notes regarding the installation of Photonic-Bands on various systems:+=== MPB on Amazon Web Services (AWS) ===
-* '''Linux/x86:'''+The latest, pre-installed versions of MPB and Meep running on Ubuntu can also be accessed on Amazon Web Services (AWS) Elastic Compute Cloud (EC2) as a free [https://aws.amazon.com/marketplace/pp/B01KHWH0AS Amazon Machine Image (AMI)]. To access this AMI, follow these [http://www.simpetuscloud.com/launchsims.html instructions].
-** There is a [http://gcc.gnu.org/ml/gcc-bugs/2001-07/msg00180.html gcc bug] causing gcc 3.0.[012] to crash when compiling MPB. No fix is available (the bug is fixed in gcc 3.1 CVS), although turning off compiler optimization may avoid the problem; I recommend sticking with gcc 2.95.[23] for now. +
-** The gcc [http://gcc.gnu.org/gcc-2.96.html "2.96"] version released with Redhat 7.0 seems to cause problems (generate NaNs), although we haven't yet tracked this down in detail; we recommend using the official gcc 2.95.2 or later instead. It has been reported that lowering the optimization level of MPB to <code>-O2</code> fixes the problem (run <code>perl -pi -e 's/-O3/-O2/g' configure</code>); this is done by default in MPB 1.2 or later. +
-** There is a [http://egcs.cygnus.com/ml/gcc-bugs/1999-10/msg00011.html bug] in gcc 2.95.[01] (and possibly earlier egcs versions) that causes problems. This was fixed in gcc 2.95.2. (gcc 2.8.1 and earlier seem to be okay, too.) +
-* '''Linux/PPC:''' There is a [http://egcs.cygnus.com/ml/gcc-bugs/1999-11/msg00163.html bug] in gcc 2.95.[012] that causes problems. This was fixed in gcc 2.95.3. +
-* '''Alpha:''' There seems to be a bug in the accelerated BLAS routines provided by version 3.5 (and perhaps other versions) of the CXML (''n&eacute;e'' DXML) math library. (It causes the test program <code>tests/blastest</code> to crash, for one thing.) We've been told that recent versions of CXML fix this bug. To work around it, compile the file [http://www.netlib.org/blas/zgerc.f zgerc.f] from the generic BLAS implementation and modify the <code>LIBS</code> variable of the <code>Makefile</code> to link with <code>zgerc.o</code> before <code>-lcxml</code> (or <code>-ldxml</code>). +
-* '''HDF5:''' There is a bug in [http://hdf.ncsa.uiuc.edu/HDF5/ HDF5] 1.4.2's build scripts that can cause compilation to fail on systems using some newer versions of gcc (e.g. RedHat 7, or Apple's MacOS X). (We've reported the bug and supplied a patch to the HDF folks, so hopefully this will be fixed in a future release.) If you can't compile HDF5 1.4.2, downgrading to version 1.2.2 seems to work. +
-* '''ATLAS:''' There is a bug in [http://www.netlib.org/atlas/ ATLAS] 2.0 (a self-optimizing, accelerated BLAS library) that causes it to crash with the Photonic-Bands package. Version 3.0 of ATLAS fixes the bug, and is also tremendously faster for the matrix sizes that MPB typically uses. +
-Please [mailto:stevenj@alum.mit.edu email me] if you have any additional comments or notes. 
[[Category:MPB]] [[Category:MPB]]

Revision as of 19:24, 21 February 2017

MIT Photonic Bands
Download
Release notes
MPB manual
Introduction
Installation
User Tutorial
Data Analysis Tutorial
User Reference
Developer Information
Acknowledgements
License and Copyright

Here you can download the source code of MIT Photonic-Bands package. First, though, please consider subscribing to one of the mailing lists.

(It goes without saying that we will not sell or give your email address to anyone else...we hate spam, too.)

Contents

Downloading MPB

MIT Photonic-Bands 1.5 is the current version of MPB (see the MPB release notes to find out what's changed). You can download it from:

Be sure to look at the installation section of the manual. MPB should work on most any Unix-like operating system, but you may need to install a number of other packages first (e.g., BLAS, LAPACK, HDF5, Guile), as described in the installation instructions. Also, see below for additional notes for specific systems.

MIT Photonic Bands is free software under the GNU General Public License; see the MPB License and Copyright section of the documentation for additional information. Note especially that it comes as-is with no warranty (see the license for more details)

Precompiled MPB packages

Installation of MPB can be much easier on Debian GNU/Linux, where all of the prerequisites can be fetched automatically. If you haven't settled on a Linux distribution yet, I highly recommend Debian.

MacOS X users can get MPB via a Debian-like interface by using Fink, which now includes an MPB package thanks to Aurelien Chanudet.

Installation on Windows

It is possible to install MPB under Windows by using Cygwin, a free Unix-compatibility environment for Windows.

One MPB user, Robert Hovden, wrote a brief guide on installing MPB under Cygwin that should be helpful.

MPB on Amazon Web Services (AWS)

The latest, pre-installed versions of MPB and Meep running on Ubuntu can also be accessed on Amazon Web Services (AWS) Elastic Compute Cloud (EC2) as a free Amazon Machine Image (AMI). To access this AMI, follow these instructions.

Personal tools