59#if defined PIO_LIB && defined DISTRIBUTE 
   67      logical, 
save :: first
 
   69      integer :: ng, myerror, provided, required
 
   79      required=mpi_thread_multiple
 
   80      CALL mpi_init_thread (required, provided, myerror)
 
   81      IF (myerror.ne.0) 
THEN 
   82        print 
'(/,a)',
' ROMS: Unable to initialize multi-threaded MPI' 
   86      CALL mpi_init (myerror)
 
   87      IF (myerror.ne.0) 
THEN 
   88        print 
'(/,a)',
' ROMS: Unable to initialize MPI' 
   96      CALL mpi_comm_rank (mpi_comm_world, 
myrank, myerror)
 
   97      IF (myerror.ne.0) 
THEN 
   98        print 
'(/,a)',
' ROMS: Unable to inquire rank of local processor' 
  132#if defined PIO_LIB && defined DISTRIBUTE 
  136#if defined DISTRIBUTE && defined MPI 
  137      CALL mpi_finalize (myerror)
 
subroutine, public roms_deallocate_arrays
integer, dimension(:), allocatable ntimes
real(dp), dimension(:), allocatable dt
subroutine, public roms_finalize
subroutine, public roms_run(runinterval)
subroutine, public roms_initialize(first, mpicomm)
subroutine, public finalize_pio