HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
126 stars 50 forks source link

Scuff-transmission aborting when calculating cube-on-film transmission #24

Open yiy-mit opened 9 years ago

yiy-mit commented 9 years ago

When using Scuff-transmission to calculate the T of nanocube arrays on thin films at normal incidence (into the screen).

qq 20150121230058

Program runs for a while but exits with bug report from .log:

01/21/15::12:52:42: ...(0,1) block... 01/21/15::12:52:42: ...(0,0) block... 01/21/15::12:52:49: ...(0,-1) block... 01/21/15::12:52:49: ...(-1,1) block... 01/21/15::12:52:50: ...(-1,0) block... 01/21/15::12:52:50: ...(-1,-1) block... 01/21/15::12:52:51: Creating GBar accelerator for region Cube, surfaces CubeSide,CubeBottom 01/21/15::12:52:51: Step 2: Contributions of outer grid cells... /home/homer/work/scuff-em-installation-20141023/lib/libscuff.so.0(+0x72968)[0x7f0821ea4968] /lib/x86_64-linux-gnu/libpthread.so.0(+0xf030)[0x7f081e599030] /home/homer/work/scuff-em-installation-20141023/lib/libscuff.so.0(_ZN5scuff22DestroyGBarAcceleratorEPNS_15GBarAcceleratorE+0xe)[0x7f0821e7dbee] /home/homer/work/scuff-em-installation-20141023/lib/libscuff.so.0(_ZN5scuff11RWGGeometry22AssembleBEMMatrixBlockEiiSt7complexIdEPdP7HMatrixPS5_iiPvbiS6S3+0x6ec)[0x7f0821e64c0c] /home/homer/work/scuff-em-installation-20141023/lib/libscuff.so.0(_ZN5scuff11RWGGeometry17AssembleBEMMatrixESt7complexIdEPdP7HMatrix+0x1a4)[0x7f0821e651e4] /home/homer/work/scuff-em-installation-20141023/bin/scuff-transmission(main+0xc4f)[0x402f5f] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f081e21dead] /home/homer/work/scuff-em-installation-20141023/bin/scuff-transmission[0x4036a5]

**<><> received signal 11

Thanks!

HomerReid commented 9 years ago

This is probably the same issue as #14: a minor memory leak that affects long calculations involving PBC geometries. I haven't been able to pinpoint it because it only appears sporadically (and typically only after several hours of runtime). I will keep looking for it. Please post any other examples of inputs that provoke it.