Simon,

Le mer. 19 oct. 2022 à 09:33, Simon Wiesheier <simon.wieshe...@gmail.com> a
écrit :

> Thank you for your answer!
>
> " Did you set DEAL_II_NUM_THREADS=1?"
>
> How can I double-check that?
> ccmake .
> only shows my the variables CMAKE_BUILD_TYPE and deal.II_DIR .
> But I do  do knot if this is the right place to look for.
>
It's an environment variable. If you are using bash, you can do

export DEAL_II_NUM_THREADS=1


>
> " That could explain why CPU and Wall time are different. Finally, if I
> understand correctly, you are calling the constructor of FEValues about 2.5
> million times. That means that the call to one FEValues constructor is
> 100/2.5e6 seconds about 40 microseconds. That doesn't seem too slow. "
>
> There was a typo in my post. It should be 160/2.5e6 seconds about 64
> microsecends.
>
My point is the constructor should not be called millions of times. You are
not going to be able to get that function 100 times faster. It's best to
find a way to call it less often.

Best,

Bruno

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAGVt9eMfVohOUToQOsBD_v%2BqU%3D0Em_XOMiwqFi2SM_0zLoy-sQ%40mail.gmail.com.

Reply via email to