Skip to content

Commit

Permalink
update pgi optimzation to address reproducibility problems (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
apcraig authored and mhrib committed Sep 20, 2018
1 parent 64ddc41 commit 0c4af68
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions cicecore/cicedynB/general/ice_init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -880,9 +880,9 @@ subroutine input_data
write(nu_diag,1020) ' kcatbound = ', &
kcatbound
if (kdyn == 1) then
write(nu_diag,1020) ' kdyn = evp ', kdyn
write(nu_diag,1021) ' kdyn = ','evp ', kdyn
elseif (kdyn == 2) then
write(nu_diag,1020) ' kdyn = eap ', kdyn
write(nu_diag,1021) ' kdyn = ','eap ', kdyn
else
write(nu_diag,1020) ' kdyn = ', kdyn
endif
Expand Down Expand Up @@ -1121,6 +1121,7 @@ subroutine input_data
1005 format (a30,2x,f9.6) ! float
1010 format (a30,2x,l6) ! logical
1020 format (a30,2x,i6) ! integer
1021 format (a30,2x,a8,i6) ! char, int
1030 format (a30, a8) ! character
1040 format (a30,2x,6i6) ! integer
1050 format (a30,2x,6a6) ! character
Expand Down
2 changes: 1 addition & 1 deletion configuration/scripts/machines/Macros.conrad_pgi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FFLAGS_NOOPT:= -O0
ifeq ($(ICE_BLDDEBUG), true)
FFLAGS += -O0 -g -Mbounds -Mchkptr
else
FFLAGS += -O2
FFLAGS += -O -g
endif

ifeq ($(ICE_COMMDIR), mpi)
Expand Down
2 changes: 1 addition & 1 deletion configuration/scripts/machines/Macros.gordon_pgi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FFLAGS_NOOPT:= -O0
ifeq ($(ICE_BLDDEBUG), true)
FFLAGS += -O0 -g -Mbounds -Mchkptr
else
FFLAGS += -O2
FFLAGS += -O -g
endif

ifeq ($(ICE_COMMDIR), mpi)
Expand Down

0 comments on commit 0c4af68

Please sign in to comment.