Trouble updating from 4.9 to 4.15

I’m quite novice at FreeFEM. I’ve been using edp-files we put together several years back (v9). While upgrading the a new computer I discovered that one of the edp-files throws an error in v15. I’ve included some of the code below.


fespace Vh(MYmesh, [P2, P2, P2, P2], periodic = [[-2, y], [-4, y]]);

Vh [f, u, v, w], [ff, uu, vv, ww];

Mat A(Vh.ndof);
Mat B(Vh.ndof);

The error occurs for [Mat A(Vh.ndof);]

165 : Mat The Identifier Mat does not exist

Error line number 165, in file .\myfile.edp, before token Mat

I’m hoping this is due to the need to load a package, or something equally simple.

I found the problem … SLEPc-complex has been superseded by PETSc-complex

Indeed, the load "SLEPc" and load "SLEPc-complex" are now “useless” in the sense that they do nothing but print that you need to load PETSc or PETSc-complex instead.