Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

problem calling compiler

More
4 years 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.
More
4 years 3 weeks ago #2522 by mneunteufel
Hi Yongbin,

does
Code:
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
More
4 years 3 weeks ago #2527 by Yongbin
Replied by Yongbin on topic problem calling compiler
Hi mneunteufel,

Very good !It can run.
Thank you!

Yongbin Han
Time to create page: 0.137 seconds