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

segfault when using LATTICE option in scuff-neq #217

Open rbsecor opened 4 years ago

rbsecor commented 4 years ago

ddd output:

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff711bc5d in scuff::StampInNeighborBlock (B=0x4cda60, GradB=0x0, NR=NR@entry=3176, NC=NC@entry=3176, M=M@entry=0x4cd940, GradM=GradM@entry=0x0, RowOffset=0, ColOffset=0, L=0x7fffffffc500, kBloch=0x0, UseSymmetry=true) at AssembleBEMMatrix.cc:82 Missing separate debuginfos, use: dnf debuginfo-install blas-3.8.0-12.fc30.x86_64 hdf5-1.8.20-6.fc30.x86_64 lapack-3.8.0-12.fc30.x86_64 libaec-1.0.4-1.fc30.x86_64 libgcc-9.2.1-1.fc30.x86_64 libgfortran-9.2.1-1.fc30.x86_64 libgomp-9.2.1-1.fc30.x86_64 libquadmath-9.2.1-1.fc30.x86_64 libstdc++-9.2.1-1.fc30.x86_64 zlib-1.2.11-19.fc30.x86_64 (gdb) where

0 0x00007ffff711bc5d in scuff::StampInNeighborBlock (B=0x4cda60, GradB=0x0, NR=NR@entry=3176, NC=NC@entry=3176, M=M@entry=0x4cd940, GradM=GradM@entry=0x0, RowOffset=0, ColOffset=0, L=0x7fffffffc500, kBloch=0x0, UseSymmetry=true) at AssembleBEMMatrix.cc:82

1 0x00007ffff711cf76 in scuff::RWGGeometry::AssembleBEMMatrixBlock (this=this@entry=0x41fc30, nsa=nsa@entry=0, nsb=nsb@entry=0, Omega=..., kBloch=kBloch@entry=0x0, M=0x4cd940, GradM=GradM@entry=0x0, RowOffset=0, ColOffset=0, Accelerator=0x0, TransposeAccelerator=false, NumTorqueAxes=0, dMdT=0x0, GammaMatrix=0x0) at AssembleBEMMatrix.cc:505

2 0x0000000000404952 in WriteFlux (SNEQD=SNEQD@entry=0x41fab0, Omega=..., kBloch=kBloch@entry=0x0) at WriteFlux.cc:244

3 0x0000000000402fef in main (argc=, argv=) at scuff-neq.cc:279