On Fri, 12 Jan 2007, [EMAIL PROTECTED] wrote:
Unfortunately the compiled program always ended up with a segmentation fault.. The programs seem to run perfectly well when I change the command to the following. g++ -malign-double `pkg-config --cflags meep` foo.cpp -o foo `pkg-config --libs meep`
Yes, this is a known bug; it will be fixed in the next version, which will automatically include -malign-double in the pkg-config --cflags if necessary.
I was wondering whether it is something that I should be bothered about.. Will it make the executable less memory efficient if I use the -malign-double flag? Or is there some other problems with using this flag?
The increase in memory usage should be extremely minor; -malign-double is usually a good idea in computational code, in my experience, for performance reasons (accessing misaligned "double" variables is substantially slower on x86).
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

