problem calling compiler

5 months 3 weeks ago #2514 by Yongbin
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.

Please Log in or Create an account to join the conversation.

5 months 2 weeks ago #2522 by mneunteufel
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
The following user(s) said Thank You: Yongbin

Please Log in or Create an account to join the conversation.

5 months 2 weeks ago #2527 by Yongbin
Hi mneunteufel,

Very good !It can run.
Thank you!

Yongbin Han

Please Log in or Create an account to join the conversation.

© 2019 Netgen/NGSolve