On Tue, Mar 4, 2008 at 7:51 AM, Yunsong,ZHAO <[EMAIL PROTECTED]> wrote:

>  Dear meep users:
>
>    I tried the example program in C++ Tutorial but I got a segmentation
> fault.
>
> gdb result:
>
> " Program received signal SIGSEGV, Segmentation fault.
>
>  0x08049dcd   in meep::boundary_region::~boundary_region()"
>
This might be due to the compiler not aligning double values to 8-byte
boundaries so that they pass compatibly between all libraries. The fix is to
pass a -malign-double argument while compiling with g++.

 Hope that helps,
Uday
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to