Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Memory issue with HCurl

More
6 years 6 months ago #168 by ddrake
Using the current build of NGSolve (6.2.1708-44-g6a6eeec), I'm now seeing memory issues when constructing an HCurl space. For example:
Code:
from ngsolve import * from netgen.csg import unit_cube mesh = Mesh (unit_cube.GenerateMesh(maxh=0.5)) Xo= HCurl(mesh, order=4,dirichlet=[1,2,3,4,5,6],complex=True)
usually gives: "MemoryError: std::bad_array_new_length" and other times just segfaults.

I'm seeing similar behavior when this line is encountered in python_tutorials/cmagnet.py:
Code:
fes = HCurl(mesh, order=4, dirichlet="outer", nograds = True)
This issue was not present for me in previous builds (the last was about 4 days ago).

Best,
Dow Drake
More
6 years 6 months ago #169 by cwinters
Replied by cwinters on topic Memory issue with HCurl
Hi Dow,

thanks for pointing out the issue. It is fixed with this commit .

Best,
Christoph
The following user(s) said Thank You: ddrake
Time to create page: 0.104 seconds