Skip to content

Commit

Permalink
introduce public module ints stdout and stderr for standard output
Browse files Browse the repository at this point in the history
  • Loading branch information
alperaltuntas committed Oct 27, 2020
1 parent 165b1b2 commit 30fac75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/framework/MOM_io.F90
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module MOM_io
use mpp_io_mod, only : get_file_fields=>mpp_get_fields, get_file_times=>mpp_get_times
use mpp_io_mod, only : io_infra_init=>mpp_io_init

use iso_fortran_env, only : stdout_iso=>output_unit, stderr_iso=>error_unit
use netcdf

implicit none ; private
Expand Down Expand Up @@ -84,6 +85,9 @@ module MOM_io
module procedure MOM_read_vector_2d
end interface

integer, public :: stdout = stdout_iso !< standard output unit
integer, public :: stderr = stderr_iso !< standard output unit

contains

!> Routine creates a new NetCDF file. It also sets up
Expand Down

0 comments on commit 30fac75

Please sign in to comment.