Open jbusecke opened 2 years ago
I would make a plot of how long the execution time takes as a function of domain size. Just 4-5 points should be enough to see whether it is scaling linearly. If so, we can focus on optimizing with just a small piece of data.
Good idea! Ill do that in a bit.
For results see here: https://github.com/ocean-transport/scale-aware-air-sea/issues/28#issuecomment-1158136723
So from this I conclude that we can optimize on a small domain size e.g. 100x100.
Some relief was brought by #40 (see benchmarks there).
I am currently struggling with what I perceive as very slow performance with aerobulk-python.
For some of the work we are doing over at https://github.com/ocean-transport/scale-aware-air-sea, it seems that a single timestep of CM2.6 data takes about 45-50s to execute.
This does not seem to be a particularity of the data wer are using, since I am getting similar times for synthetic data:
When I time this execution
I get a runtime of ~100sec, so about 50s per timestep.
Am I expecting too much of the fortran code? Or is this slow for computing on ~1e7 data points.
I wonder if there is some obvious issue with our compiler flags?