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
125 stars 50 forks source link

gmsh error(floating point exception) #134

Closed brandanli closed 7 years ago

brandanli commented 7 years ago

Thanks for your work and I have installed the SCUFF-em successfully. But there was another trouble when I tried to verified the examples. 1 Could not open file xxxxtransformed.pp 2 gmsh error (floating point exception) gmsh error

HomerReid commented 7 years ago

Based on your screenshot, it appears you are running the codes from within the directory /usr/local/share/scuff-em/examples/CubeTorus. This is a system directory, not a user directory, and you almost certainly do not have write access to this directory, which is why the code is unable to create the output file you mentioned. The solution is simply to run the code from within your own user filespace.

I can't debug why gmsh is failing on your system, as I am not a developer or maintainer of gmsh.

Feel free to ask more questions, or close the issue if satisfied.