Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation on LUMI with cray 16.0.1 #655

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/gen_modules_diag.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3188,9 +3188,9 @@ subroutine dvd_add_difflux_sbc(do_SDdvd, tr_num, dvd_tot, tr, trstar, partit, me
! Xchi at full depth level interface
nz = 1
!PS Dflx(nz) = Dflx(nz) * -2.0_WP*( trstar(nz, node) )
Dflx(nz) = Dflx(nz) * -2.0_WP*( trstar(nz+1, node)-trstar(nz, node) )
Dflx(nz) = Dflx(nz) * (-2.0_WP) * ( trstar(nz+1, node)-trstar(nz, node) )
do nz=nu1+1, nl1-1
Dflx(nz) = Dflx(nz) * -2.0_WP*( trstar(nz, node)-trstar(nz-1, node) )
Dflx(nz) = Dflx(nz) * (-2.0_WP) * ( trstar(nz, node)-trstar(nz-1, node) )
end do ! --> do nz=nu1+1, nl1-1

!___________________________________________________________________
Expand Down Expand Up @@ -3517,4 +3517,4 @@ subroutine dvd_add_clim_relax(do_SDdvd, tr_num, dvd_tot, tr, partit, mesh)
end do
end subroutine dvd_add_clim_relax

end module diagnostics
end module diagnostics
4 changes: 2 additions & 2 deletions src/icb_step.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@ subroutine init_buoy_output(partit)
longname='time' ! use NetCDF Climate and Forecast (CF) Metadata Convention
status = nf_PUT_ATT_TEXT(ncid, time_varid, 'long_name', len_trim(longname), trim(longname))
if (status .ne. nf_noerr) call handle_err(status)
write(att_text, '(a14,I4.4,a1,I2.2,a1,I2.2,a6)'), 'seconds since ', year_start, '-', month_start, '-', day_start, ' 00:00:00'
write(att_text, '(a14,I4.4,a1,I2.2,a1,I2.2,a6)') 'seconds since ', year_start, '-', month_start, '-', day_start, ' 00:00:00'
status = nf_PUT_ATT_TEXT(ncid, time_varid, 'units', len_trim(att_text), trim(att_text))
if (status .ne. nf_noerr) call handle_err(status)
if (include_fleapyear) then
Expand Down Expand Up @@ -2125,4 +2125,4 @@ subroutine write_buoy_props_netcdf(partit)


end subroutine write_buoy_props_netcdf
end module iceberg_step
end module iceberg_step
Loading