--- MITgcm/pkg/atm_compon_interf/cpl_import_external_data.F 2007/06/18 21:28:53 1.3 +++ MITgcm/pkg/atm_compon_interf/cpl_import_external_data.F 2009/12/25 19:42:46 1.4 @@ -1,4 +1,4 @@ -C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/atm_compon_interf/Attic/cpl_import_external_data.F,v 1.3 2007/06/18 21:28:53 jmc Exp $ +C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/atm_compon_interf/Attic/cpl_import_external_data.F,v 1.4 2009/12/25 19:42:46 jmc Exp $ C $Name: $ #include "CPP_OPTIONS.h" @@ -7,7 +7,7 @@ C !ROUTINE: CPL_IMPORT_EXTERNAL_DATA C !INTERFACE: SUBROUTINE CPL_IMPORT_EXTERNAL_DATA( - I myIter, myTime, myThid ) + I myTime, myIter, myThid ) C !DESCRIPTION: \bv C *==========================================================* @@ -28,15 +28,16 @@ C !INPUT/OUTPUT PARAMETERS: C == Routine arguments == -C myIter - Current timestep number. -C myTime - Current internal time. -C myThid - Thread number for this instance of the routine. - INTEGER myIter +C myTime :: Current time in simulation. +C myIter :: Current timestep number. +C myThid :: Thread number for this instance of the routine. _RL myTime + INTEGER myIter INTEGER myThid CEOP #ifdef COMPONENT_MODULE +C !LOCAL VARIABLES: C == Local variables == C Fetch data from coupling layer. Note MIT Coupler checkpoint1 @@ -44,7 +45,10 @@ C has to be consistent with ordering coupling layer. IF ( MOD(myIter,cplSendFrq_iter).EQ.0 ) THEN - WRITE(0,*) ' Importing oceanic fields at iteration ', myIter + _BEGIN_MASTER( myThid ) + WRITE(0,'(A,I5,A,I10)') ' Importing (pid=', myProcId, + & ' ) oceanic fields at iteration', myIter + _END_MASTER( myThid ) CALL ATM_IMPORT_FIELDS( myThid ) ENDIF