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.

[....]

Checking thickness convergence of 1d PML...
refl1d:, 2, 0.235034
meep: pml doesn't scale properly with length.


This is weird...it doesn't just look like a difference in roundoff errors or similar, since on my machine (64-bit Debian with gcc version 4.4.5) the corresponding output line is

Checking thickness convergence of 1d PML...
refl1d:, 2, 5.39147e-10
refl1d:, 4, 8.42461e-12
....

What version of gcc are you using? (run "g++ --version"). Can you try recompiling Meep with

        make distclean
        ./configure --enable-debug
        make

and then re-run the PML test

        cd tests
        make pml
        ./pml

? I want to check whether this is a compiler-optimization bug, and turning off optimization usually helps check for that.

--SGJ

_______________________________________________
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