Skip to content

Commit

Permalink
Add -g -init=snan,arrays to ifort flags
Browse files Browse the repository at this point in the history
Testing on cheyenne with intel also showed that we need to intialize remin to 0
below kmt in marbl_interior_tendency_share_set_used_particle_terms_to_zero()
  • Loading branch information
mnlevy1981 committed Mar 16, 2021
1 parent d1a4771 commit dd7cb41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/marbl_interior_tendency_share_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ subroutine marbl_interior_tendency_share_set_used_particle_terms_to_zero(k, sink

sinking_particle%sflux_out(k) = c0
sinking_particle%hflux_out(k) = c0
sinking_particle%remin(k) = c0

end subroutine marbl_interior_tendency_share_set_used_particle_terms_to_zero

Expand Down
2 changes: 1 addition & 1 deletion tests/driver_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ gnu:

.PHONY: intel
intel:
$(MAKE) -f $(MAKE_DIR)/Makefile $(EXE) COMP_NAME=intel$(MPISUF) FC=ifort FCFLAGS="-O2 -free -cpp -nogen-interface -fp-model source" INC="-module $(OBJ_ROOT)/intel$(MPISUF)" INC2="-module $(OBJ_ROOT)/intel$(MPISUF)/driver"
$(MAKE) -f $(MAKE_DIR)/Makefile $(EXE) COMP_NAME=intel$(MPISUF) FC=ifort FCFLAGS="-g -O2 -init=snan,arrays -free -cpp -nogen-interface -fp-model source" INC="-module $(OBJ_ROOT)/intel$(MPISUF)" INC2="-module $(OBJ_ROOT)/intel$(MPISUF)/driver"

.PHONY: pgi
pgi:
Expand Down

0 comments on commit dd7cb41

Please sign in to comment.