@@ -238,20 +238,6 @@ void AtmosphereDriver::create_atm_processes()
238
238
stop_timer (" EAMxx::create_atm_processes" );
239
239
stop_timer (" EAMxx::init" );
240
240
m_atm_logger->info (" [EAMxx] create_atm_processes ... done!" );
241
-
242
- auto &driver_options_pl = m_atm_params.sublist (" driver_options" );
243
- const int verb_lvl =
244
- driver_options_pl.get <int >(" atmosphere_dag_verbosity_level" , -1 );
245
- if (verb_lvl > 0 ) {
246
- // create an initial DAG with only atm_process nodes
247
- AtmProcDAG dag;
248
- // First, add all atm processes
249
- dag.init_atm_proc_nodes (*m_atm_process_group);
250
- // Write a dot file for visualization
251
- if (m_atm_comm.am_i_root ()) {
252
- dag.write_dag (" scream_atm_createProc_dag.dot" , std::max (verb_lvl, 0 ));
253
- }
254
- }
255
241
}
256
242
257
243
void AtmosphereDriver::create_grids ()
@@ -706,10 +692,8 @@ void AtmosphereDriver::create_fields()
706
692
// NOTE: at this point, fields provided by initial conditions may (will)
707
693
// appear as unmet dependencies
708
694
AtmProcDAG dag;
709
-
710
695
// First, add all atm processes
711
696
dag.create_dag (*m_atm_process_group);
712
-
713
697
// Write a dot file for visualization
714
698
if (m_atm_comm.am_i_root ()) {
715
699
dag.write_dag (" scream_atm_createField_dag.dot" , std::max (verb_lvl,0 ));
@@ -889,31 +873,6 @@ initialize_fields ()
889
873
TraceGasesWorkaround::singleton ().run_type = m_run_type;
890
874
}
891
875
892
- // See if we need to print a DAG. We do this first, cause if any input
893
- // field is missing from the initial condition file, an error will be thrown.
894
- // By printing the DAG first, we give the user the possibility of seeing
895
- // what fields are inputs to the atm time step, so he/she can fix the i.c. file.
896
- // TODO: would be nice to do the IC input first, and mark the fields in the
897
- // DAG node "Begin of atm time step" in red if there's no initialization
898
- // mechanism set for them. That is, allow field XYZ to not be found in
899
- // the IC file, and throw an error when the dag is created.
900
-
901
- auto & driver_options_pl = m_atm_params.sublist (" driver_options" );
902
- const int verb_lvl = driver_options_pl.get <int >(" atmosphere_dag_verbosity_level" ,-1 );
903
- if (verb_lvl>0 ) {
904
- // generate the full DAG, resolving any spurious unmet dependencies that
905
- // may be provided by initial conditions
906
- AtmProcDAG dag;
907
- // First, add all atm processes
908
- dag.create_dag (*m_atm_process_group);
909
- // process the initial conditions to maybe fulfill unmet dependencies
910
- dag.process_initial_conditions (m_fields_inited);
911
- // Write a dot file for visualization
912
- if (m_atm_comm.am_i_root ()) {
913
- dag.write_dag (" scream_atm_initField_dag.dot" , std::max (verb_lvl,0 ));
914
- }
915
- }
916
-
917
876
// Initialize fields
918
877
if (m_run_type==RunType::Restart) {
919
878
restart_model ();
0 commit comments