On Jul 24, 2012, at 9:07 AM, Brahmanand Jogai wrote:
> I am trying to compile meep 1.2 for 64-bit Fedora version 17.
>
> It compiles, but "make check" fails with the PML part. The other tests seemed
> to pass. I am concerned about this error, since I am working on a 3D photonic
> crystal waveguide where the PML layer is important.
>
> I would appreciate any suggestions. Attached below is the test-suite.log
> file.
I've tracked down this problem, and the good news is that it is nothing to be
concerned about.
It turns out to be a bug in g++ 4.7.x that affects the pml.cpp test program,
but not Meep itself. I confirmed the bug with the gcc developers and they
will hopefully fix it in the next gcc release:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54498
In the meantime, you can ignore the failure of the PML test. If you want to
verify that the PML test passes, a workaround is to compile the PML test
without optimization:
cd tests
rm -f pml.*o
make CXXFLAGS=" " pml
The next release of Meep will contain a workaround to avoid triggering the gcc
bug in the test program.
--SGJ
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss