fujitsu / oss-patches-for-a64fx

"oss-patches-for-a64fx" is a set of patches for A64FX for various open source software.
5 stars 1 forks source link

Question regarding OpenFOAM #4

Open BrushXue opened 1 year ago

BrushXue commented 1 year ago

Hello. I'm an Ookami HPC user and I'm trying to optimize OpenFOAM based on benchmarks from Fugaku.

In your repo, DICPreconditioner.C is patched to improve performance. However, after patching the code, I found there's essentially no difference between your improved DIC algorithm and the FDIC algorithm (https://develop.openfoam.com/Development/openfoam/-/blob/master/src/OpenFOAM/matrices/lduMatrix/preconditioners/FDICPreconditioner/FDICPreconditioner.C)

Which means that DIC doesn't need to be patched at all. All you need to do is specifying "FDIC" in fvSolutions.