IF ( MASTER_CPU_IO(myThid) ) THEN
LOGICAL MASTER_CPU_IO
iAmDoingIO = MASTER_CPU_IO(myThid)
LOGICAL FUNCTION MASTER_CPU_IO( myThid )
MASTER_CPU_IO = .FALSE.
MASTER_CPU_IO = .TRUE.