@@ -8,6 +8,7 @@ module rof_comp_nuopc
88 use NUOPC , only : NUOPC_CompDerive, NUOPC_CompSetEntryPoint, NUOPC_CompSpecialize
99 use NUOPC , only : NUOPC_CompFilterPhaseMap, NUOPC_CompAttributeGet, NUOPC_CompAttributeSet
1010 use NUOPC_Model , only : model_routine_SS = > SetServices
11+ use NUOPC_Model , only : SetVM
1112 use NUOPC_Model , only : model_label_Advance = > label_Advance
1213 use NUOPC_Model , only : model_label_DataInitialize = > label_DataInitialize
1314 use NUOPC_Model , only : model_label_SetRunClock = > label_SetRunClock
@@ -27,14 +28,15 @@ module rof_comp_nuopc
2728 use perf_mod , only : t_startf, t_stopf, t_barrierf
2829 use rof_import_export , only : advertise_fields, realize_fields
2930 use rof_import_export , only : import_fields, export_fields
30- use rof_shr_methods , only : chkerr, state_setscalar, state_getscalar, state_diagnose, alarmInit
31- use rof_shr_methods , only : set_component_logging, get_component_instance, log_clock_advance
31+ use nuopc_shr_methods , only : chkerr, state_setscalar, state_getscalar, state_diagnose, alarmInit
32+ use nuopc_shr_methods , only : set_component_logging, get_component_instance, log_clock_advance
3233
3334 implicit none
3435 private ! except
3536
3637 ! Module routines
3738 public :: SetServices
39+ public :: SetVM
3840 private :: InitializeP0
3941 private :: InitializeAdvertise
4042 private :: InitializeRealize
@@ -715,13 +717,12 @@ subroutine ModelAdvance(gcomp, rc)
715717 if (ESMF_LogFoundError(rcToCheck= rc, msg= ESMF_LOGERR_PASSTHRU, line= __LINE__, file= u_FILE_u)) return
716718 end if
717719
718- if (masterproc) then
719- call ESMF_ClockPrint(clock, options= " currTime" , preString= " ------>Advancing ROF from: " , rc= rc)
720- if (ESMF_LogFoundError(rcToCheck= rc, msg= ESMF_LOGERR_PASSTHRU, line= __LINE__, file= u_FILE_u)) return
721- call ESMF_ClockPrint(clock, options= " stopTime" , preString= " --------------------------------> to: " , rc= rc)
722- if (ESMF_LogFoundError(rcToCheck= rc, msg= ESMF_LOGERR_PASSTHRU, line= __LINE__, file= u_FILE_u)) return
720+ if (debug > 1 ) then
721+ call log_clock_advance(clock, ' MOSART' , iulog, rc)
722+ if (ChkErr(rc,__LINE__,u_FILE_u)) return
723723 endif
724724
725+
725726 !- -------------------------------
726727 ! Reset shr logging to my original values
727728 !- -------------------------------
0 commit comments