AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
506 stars 337 forks source link

Workaround for Windows omp_lock_t issue #3910

Closed WeiqunZhang closed 1 month ago

WeiqunZhang commented 2 months ago

Sorry there was a typo.

ax3l commented 2 months ago

Currently testing this in the 24.05 release roll-outs on conda-forge.

ax3l commented 2 months ago

@WeiqunZhang your work-around does the trick! :tada: https://github.com/conda-forge/warpx-feedstock/pull/83

WeiqunZhang commented 2 months ago

I tested the code for Windows on Linux by changing #if defined(_WIN32) to #if !defined(_WIN32) and ran some tests. It worked.