Skip to content

Commit

Permalink
Merge pull request #13799 from marcosvanella/master
Browse files Browse the repository at this point in the history
FDS makefile : add openmp flag for ccib.f90 if needed.
  • Loading branch information
marcosvanella authored Nov 25, 2024
2 parents 71f3c25 + dcd4d09 commit e7bd3b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Build/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ setup_win:

# Files which have OpenMP compiler directives are compiled using the FOPENMPFLAG and can be enabled/disabled on a per-file basis.

ccib.o: FFLAGS += $(FOPENMPFLAGS)
divg.o: FFLAGS += $(FOPENMPFLAGS)
func.o: FFLAGS += $(FOPENMPFLAGS)
mass.o: FFLAGS += $(FOPENMPFLAGS)
Expand All @@ -164,6 +165,7 @@ radi.o: FFLAGS += $(FOPENMPFLAGS)
wall.o: FFLAGS += $(FOPENMPFLAGS)
main.o: FFLAGS += $(FOPENMPFLAGS)

ccib.obj: FFLAGS += $(FOPENMPFLAGS)
divg.obj: FFLAGS += $(FOPENMPFLAGS)
func.obj: FFLAGS += $(FOPENMPFLAGS)
mass.obj: FFLAGS += $(FOPENMPFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion Source/mass.f90
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ SUBROUTINE DENSITY(T,DT,NM)

!$OMP PARALLEL

!$OMP DO PRIVATE(IW,WC,BC)
!$OMP DO PRIVATE(IW,WC,EWC,BC)
WALL_LOOP_2: DO IW=1,N_EXTERNAL_WALL_CELLS
WC => WALL(IW)
EWC => EXTERNAL_WALL(IW)
Expand Down

0 comments on commit e7bd3b4

Please sign in to comment.