Comments (3)
- rsqrt_approx_intrin is less accurate (_mm_rsqrt_ps).
- You need to manually delete the precomputed files after making changes to the kernel function.
How these relate to your observations:
- I believe in the first case, the errors are so large because you did not delete the precomputed files.
- You get convergence warnings (not errors) during precomputation because the kernel function is less accurate. The warnings here are irrelevant since that part of the code is only used for periodic boundary conditions. The warning goes away if the volume-potential term in kernel construction is replace by NULL. The double-layer kernel and scale-invariance condition don't make any difference to the warnings.
- In the second case you get much more reasonable relative errors (0.05 for a kernel function only accurate to 4-digits) because changing the scale-invariance condition required that the precomputed data had to be computed again for tree levels > 0. You could have achieved the same effect by deleting the precomputed files.
from pvfmm.
Thank you very much for the detailed information. Helped a lot!
Is it possible to disable the Precomp_XX
writing using some flags?
from pvfmm.
There is no option to disable writing the precomputed file, but you can hack it. You can use the configure option --with-precomp-dir="some-dir-path" to specify the directory where the file is stored. If you give a path which doesn't exist, then the file can not be written.
from pvfmm.
Related Issues (10)
- pvfmm_config.h breaks add_subdirectory() compilation with PVFMM as a third-party library HOT 1
- Documentation/suggestions for repeated invocation? HOT 3
- Not compiling on Linux & Intel Compiler HOT 2
- Segmentation fault when compiled with cuda HOT 6
- develop branch fails to build when USE_SSE is defined HOT 1
- SVD loops forever in certain cases HOT 6
- SVD still enters infinite loops in some cases HOT 4
- Kernel evaluation - non-symmetric HOT 1
- Odd behaviour of example2 with -q 0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pvfmm.