SHUSCT / SHUBYD_GMCORE_ASC24

MIT License
0 stars 0 forks source link

Add OpenMP support for dynamics/adv/adv_batch_mod.F90:line:450-461,463-474,477-488,492-503,507-513,515-521 #18

Closed GrassBlock2016 closed 5 months ago

GrassBlock2016 commented 5 months ago

I found in file adv_batch_mod.F90 that there are so many loops in the function adv_batch_accum_wind. Under the guidance of AI assistant, I tried to add OpenMP for them. However, the results are 9s slower than before on average.

Maybe I just need to calm down to learn some knowledge of multi-threading.