-
Type:
Task
-
Status: Done (View Workflow)
-
Priority:
Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
The 2d psf generating code is considerable slower when running under LSST imports, when compared to when being run with same libraries outside LSST environment. Testing reveals that to generate a 20x20 images in focus, same code under LSST env takes around 1.3 seconds, and around 0.85 seconds outside LSST enviroment.
Profliing is in support of my suspicion and previous result that the main slowdown is due to slower FFT calculations. Profiling results are attached as ``LSST_package'' and ``my_package''. They are complex to read, but careful comparison shows that that FFT calculations take larger fraction of time under LSST enviroment. This is almost certainly due to the fact that LSST env does not support MKL. During Monday meeting, it has benn clarified that this is due to legacy support which is not needed any more, and it should be relatively easy and painfree to turn MKL support back on.