problem calling compiler

Hi everyone! Now I have the following questions.

########
conv += (-InnerProduct(gradv*u.Trace(), u.Trace()) * ds(bonus_intorder = bonus_intorder)).Compile(True,True)

Error: problem calling compiler.

Hi Yongbin,

does

conv += (-InnerProduct(gradv*u.Trace(), u.Trace()) * ds(bonus_intorder = bonus_intorder)).Compile(False,True)

work?

To use Compile(True) you (mostly) need to compile NGSolve from sources.

Best,
Michael

Hi mneunteufel,

Very good !It can run.
Thank you!

Yongbin Han