new user on linux.
trying tutorials, all was fine until "navierstokes.py" which always consumes all memory and eventually gets terminated by system oom.
the line causing this is
Code:
inv_stokes = a.mat.Inverse(X.FreeDofs())
if i rem it out.
Code:
# solve Stokes problem for initial conditions:
#inv_stokes = a.mat.Inverse(X.FreeDofs())
res = f.vec.CreateVector()
res.data = f.vec - a.mat*gfu.vec
#gfu.vec.data += inv_stokes * res
it then works, even with another call to Inverse, on another matrix, later on
any ideas why, no messages etc and i can't find anything so am stuck.
BTW this is using the PPA pre-compiled binaries, i am looking at making an appimage without compilation, so i may have something wrong/missing with my installation, but i think this should work.
BTW2 my distro can't install debs and doesn't have anaconda.