Sorry for a little advertisement, but this might help you. The
following compilation procedure for MEEP (and Python-meep, both
supporting HDF and OpenMPI) works also for Debian 8.5:
https://github.com/FilipDominec/python-meep-install
I tested it today again in a virtual machine, and MEEP passed all its
19 tests. Note that the Python-meep scripts presented on my github
page facilitate much of the "housekeeping", including graphical
export.
Filip
2017-01-08 6:05 GMT+01:00, Robin Whittle :
> Thanks Steven and colleagues for Meep!
>
> I wrote a message to the list on 2015-04-20 about compiling Meep 1.3 on
> a Debian 8 (testing) system. Here is a revised version for Debian 8.5.
> Again, I built HDF5 from sources, which are now up to version
> 1.10.0-patch1. This also documents how I tested Meep with the first
> three tutorial examples.
>
> As before, I was able to compile the single threaded version ("serial",
> I didn't try MPI) of Meep with two problems:
>
> 1 - "make check" failed for near2far. I will email the
> log file to m...@ab-initio.mit.edu as requested.
>
> 2 - Meep's configure script did not find the HDF5 libraries. I fixed
> this by compiling HDF5 from source, with a configure option
> suggested in a recent list message by Pavel Ivanov.
>
> This description is detailed in the hope that it will help people who
> are stuck somewhere. There are many decisions to make about compiling
> and/or installing from packages the various things Meep itself relies
> on, and other tools required to use Meep.
>
> - Robin
>
>
>
> This is a dual hex-core Xeon X5670 machine with Debian 8.5 which I
> installed some months ago.
>
> Low-key preliminaries:
>
>The system has X Windows and I am sshing to it from a Windows
>machine and using Xming for the Windows display of X windows
>programs. To run Synaptic (package manager) like this without
>any fuss, I needed to (from non-root account and then "su -")
>add "PermitRootLogin yes" to /etc/ssh/sshd_config and restart
>the sshd server with: "/etc/init.d/ssh restart". Then I could
>use PuTTY to log into the machine as root, and the command
>"synaptic" would bring up the GUI package manager. (PuTTY:
>Connection > SSH > X11 > Enable X11 forwarding.)
>
> Apart from running Synaptic, which I did as root, I did all the
> following, including untargzipping the tarballs, as a mortal user, with
> sudo to run "make install" commands as root. I have not attempted to to
> compile for MPI -so this is a single-threaded Meep. This is based on
> the instructions at:
>
> http://ab-initio.mit.edu/wiki/index.php/Meep_Installation
>
> which was last updated on 2016-11-27, and which has only very slight
> changes since I referred to it last time, with latest updates on 2015-02-13.
>
> I used Synaptic Reload and "Mark All Upgrades" to update the system.
>
> (Note for newbies and myself since I tend to forget this: If
> the Installing Software dialog box seems to be stuck forever,
> click the little right-pointing arrow to the left of "Details".
> This will probably reveal some script which is waiting for the
> user to press Enter, 'q' etc.)
>
> I had already installed the build-essential 11.7 package, which sets up
> the GCC compiler and lots of other things for compiling programs in C
> and C++. (BTW, Synaptic makes Meep 1.2.1-2+b1 available.)
>
> Since harminv's use of BLAS and LAPACK requires a Fortran compiler, I
> installed (with Synaptic):
>
> gfortran-4.9 4.9.2-10
> libgfortran-4.9-dev 4.9.2-10
>
>
> Here are some packages which were already installed, or which I
> installed now:
>
> gcc
>
> Some gcc packages were already installed, not counting some 4.8
> packages:
>
> gcc 4:4.9.2-2
>
> gcc-4.9 4.9.2-10
> gcc-4.9-base4.9.2-10
>
>
>
> BLAS
>libblas-common 1.2.20110419-10 was already installed.
>libblas3 1.2.20110419-10 was already installed.
>libblas.dev1.2.20110419-10 I installed.
>
>
> LAPACK (search Synaptic for "liblapack".)
>liblapack3 3.5.0-4 was already installed.
>liblapack-dev 3.5.0-4 I installed.
>
>
> Harminv
>
>Via Synaptic I could have installed 1.3.1-10, but since 1.4 is
>needed, I compiled it. (It requires BLAS and LAPACK).
>
> http://ab-initio.mit.edu/wiki/index.php/Harminv_installation
>
> (The last change to this page was in 2005.)
>
>From the link at:
>
> http://ab-initio.mit.edu/wiki/index.php/Harminv
>
> (The last change to this page was in 2015-03-31.)
>
>I downloaded:
>
> http://ab-initio.mit.edu/harminv/harminv-1.4.tar.gz
>
>and untargzipped it to:
>
> /xx/meep-build/harminv/harminv-1.4/
>
>From there:
>
> ./configure
>
>seemed to run OK to the point of an error:
>
>cannot compile a simple Fortran program
>
>By right clicking the gfortran-4.9 item in Synaptic and selecting
>