Skip to content

Commit

Permalink
Add OMP_Lib to NWTC_IO.f90
Browse files Browse the repository at this point in the history
I'm not positive this is necessary without more advanced OMP directives that the `!$OMP critical`.  With my luck though, some obscure compiler will be unhappy about it if I don't.
  • Loading branch information
andrew-platt committed Nov 28, 2024
1 parent 67cb371 commit 0548e92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/nwtc-library/src/NWTC_IO.f90
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ MODULE NWTC_IO
USE NWTC_Library_Types ! ProgDesc and other types with copy and other routines for those types
USE IEEE_ARITHMETIC

#ifdef _OPENMP
use OMP_LIB
#endif

IMPLICIT NONE

!=======================================================================
Expand Down

0 comments on commit 0548e92

Please sign in to comment.