I ran two angle of attack points with T6 control polar with VPW and it took around 2 hrs for just two angles of attack, whereas in previous version it was taking around half an hour for the entire angle of attack sweep. Total number of triangles for both the versions were around 24000.
The CPU which has been used in INTEL Xeon and it is the LU factorization which is taking time. I have tried with matrix size less than 15k and it is also taking a lot of time to calculate.
Yes, I have used Triuniform density panel.
How can I optimize INTEL MKL?
Unfortunately, there aren’t any options to customize MKL other than setting the number of threads in the Preferences.
André
After some inverstigations, it appears that the problem may be caused by the “Efficiency cores” which deliver low performance. These pages explain how to force MKL to use “Performance cores”:
- Linux: Managing Performance with Heterogeneous Cores
- Windows: Managing Performance with Heterogeneous Cores
Practically you’ll need to
- open a terminal window
- set the environment variable, for instance “set KMP_HW_SUBSET=8c:intel_core,1t” in Windows and “export KMP_HW_SUBSET=8c:intel_core,1t” in Linux
- Launch flow5 from the same terminal window by typing c:/path/to/flow5.exe
Alternatively the environment variable can be set at system level, or you can create a script.
Hope this helps,
André
This problem has been reported in the past when running flow5 on an AMD CPU for which Intel’s MKL is not optimized. Can you check in the log file that it is the LU factorization which is the long operation?
Otherwise the intent is that flow5 calculations take less than a minute. Matrix sizes should be less than 20k and preferably less than 15k. Increasing sizes above this value increases computation times geometrically with limited benefits in terms of accuracy. To reduce matrix sizes, use tri-uniform rather than tri-linear panels, and clean the fuselage geometry to remove all small surfaces and edges before meshing.
With limited sizes MKL performs well on AMD – at least that is my experience.
André