Skip to content

Commit

Permalink
In NAG Fortran integer(kind=4) is 8-byte integer
Browse files Browse the repository at this point in the history
Use integer*4 for 4-byte integer instead.
  • Loading branch information
wkliao committed Dec 7, 2023
1 parent a0b8aca commit e135a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/F90/fill_mode.f90
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ program main
integer err, nprocs, rank, ierr, get_args, dummy
integer cmode, ncid, rec_varid, fix_varid, dimid(2)
integer no_fill, old_mode
integer(kind=4) fill_value
integer*4 fill_value
integer(kind=MPI_OFFSET_KIND) nx, ny, global_nx, global_ny
integer(kind=MPI_OFFSET_KIND) starts(2), counts(2)
integer(kind=MPI_OFFSET_KIND) malloc_size, sum_size
Expand Down

0 comments on commit e135a42

Please sign in to comment.