I am working on a PETSc code. I met a problem when I used the sentence:
build(Mesh, s, intersection, D, Pk, mpiCommWorld)
It returns an error:
Error line number 682, in file macro: buildOverlapEdgePeriodicRecursive in /usr/local/ff++/mpich3/lib/ff++/4.8/idp/macro_ddm.idp, before token =
syntax error
current line = 682 mpirank 0 / 4
Compile error : syntax error
line number :682, =
error Compile error : syntax error
line number :682, =
code = 1 mpirank: 0
Do you know whats going on here? neohook.edp (37.5 KB)
You have a macro named u, which clash with a variable name in macro_ddm.idp, so you need to rename your macro. Additionally, you should not use the very old macro build(), and instead switch to createMat() (but the problem will remain). I will rename the variable in macro_ddm.idp as well to avoid futur clashes.
Thank you. I have renamed the macro, however, another error popped up:
Error line number 682, in file macro: buildOverlapEdgePeriodicRecursive in /usr/local/ff++/mpich3/lib/ff++/4.8/idp/macro_ddm.idp, before token )
Sorry you mixte formulation with and without array
current line = 682 mpirank 0 / 4