SCALE-RM
|
module PROCESS More...
Functions/Subroutines | |
subroutine, public | prc_mpistart (comm) |
Start MPI. More... | |
subroutine, public | prc_local_mpistart (myrank, ismaster) |
Start MPI, without nesting, bulk job. More... | |
subroutine, public | prc_universal_setup (comm, nprocs, ismaster) |
setup MPI in universal communicator More... | |
subroutine, public | prc_global_setup (abortall, comm) |
setup MPI in global communicator More... | |
subroutine, public | prc_local_setup (comm, myrank, ismaster) |
Setup MPI. More... | |
subroutine, public | prc_mpistop |
Abort MPI. More... | |
subroutine, public | prc_mpifinish |
Stop MPI peacefully. More... | |
subroutine, public | prc_mpisplit (ORG_COMM, NUM_DOMAIN, PRC_DOMAINS, CONF_FILES, LOG_SPLIT, bulk_split, color_reorder, INTRA_COMM, inter_parent, inter_child, fname_local) |
MPI Communicator Split. More... | |
subroutine, public | prc_mpisplit_letkf (ORG_COMM, mem_np, nitmax, nprocs, proc2mem, INTRA_COMM) |
MPI Communicator Split for SCALE-LETKF ensemble. More... | |
subroutine, public | prc_mpibarrier |
Barrier MPI. More... | |
real(dp) function, public | prc_mpitime () |
Get MPI time. More... | |
subroutine, public | prc_mpitimestat (avgvar, maxvar, minvar, maxidx, minidx, var) |
Calc global statistics for timer. More... | |
Variables | |
integer, parameter, public | prc_masterrank = 0 |
master process in each communicator More... | |
integer, parameter, public | prc_domain_nlim = 10000 |
max depth of domains More... | |
integer, public | prc_universal_comm_world = -1 |
original communicator More... | |
integer, public | prc_universal_myrank = -1 |
myrank in universal communicator More... | |
integer, public | prc_universal_nprocs = -1 |
process num in universal communicator More... | |
logical, public | prc_universal_ismaster = .false. |
master process in universal communicator? More... | |
integer, public | prc_universal_jobid = 0 |
my job ID in universal communicator More... | |
integer, public | prc_global_comm_world = -1 |
global communicator More... | |
integer, public | prc_global_myrank = -1 |
myrank in global communicator More... | |
integer, public | prc_global_nprocs = -1 |
process num in global communicator More... | |
logical, public | prc_global_ismaster = .false. |
master process in global communicator? More... | |
integer, public | prc_global_domainid = 0 |
my domain ID in global communicator More... | |
integer, public | prc_local_comm_world = -1 |
local communicator More... | |
integer, public | prc_nprocs = 1 |
myrank in local communicator More... | |
integer, public | prc_myrank = 0 |
process num in local communicator More... | |
logical, public | prc_ismaster = .false. |
master process in local communicator? More... | |
logical, public | prc_mpi_alive = .false. |
MPI is alive? More... | |
integer, public | prc_universal_handler |
error handler in universal communicator More... | |
integer, public | prc_abort_comm_world |
communicator for aborting More... | |
integer, public | prc_abort_handler |
error handler communicator for aborting More... | |
module PROCESS
subroutine, public scale_process::prc_mpistart | ( | integer, intent(out) | comm | ) |
Start MPI.
Definition at line 109 of file scale_process.F90.
References prc_mpi_alive, and prc_universal_handler.
Referenced by scalerm_launcher().
subroutine, public scale_process::prc_local_mpistart | ( | integer, intent(out) | myrank, |
logical, intent(out) | ismaster | ||
) |
Start MPI, without nesting, bulk job.
Definition at line 132 of file scale_process.F90.
References prc_global_setup(), prc_local_setup(), prc_mpi_alive, prc_universal_handler, and prc_universal_setup().
subroutine, public scale_process::prc_universal_setup | ( | integer, intent(in) | comm, |
integer, intent(out) | nprocs, | ||
logical, intent(out) | ismaster | ||
) |
setup MPI in universal communicator
Definition at line 165 of file scale_process.F90.
References prc_abort_comm_world, prc_abort_handler, prc_masterrank, prc_universal_comm_world, prc_universal_handler, prc_universal_ismaster, prc_universal_myrank, and prc_universal_nprocs.
Referenced by prc_local_mpistart(), and scalerm_launcher().
subroutine, public scale_process::prc_global_setup | ( | logical, intent(in) | abortall, |
integer, intent(in) | comm | ||
) |
setup MPI in global communicator
Definition at line 203 of file scale_process.F90.
References prc_global_comm_world, prc_global_ismaster, prc_global_myrank, prc_global_nprocs, and prc_masterrank.
Referenced by prc_local_mpistart(), and scalerm_launcher().
subroutine, public scale_process::prc_local_setup | ( | integer, intent(in) | comm, |
integer, intent(out) | myrank, | ||
logical, intent(out) | ismaster | ||
) |
Setup MPI.
Definition at line 238 of file scale_process.F90.
References prc_ismaster, prc_local_comm_world, prc_masterrank, prc_myrank, and prc_nprocs.
Referenced by prc_local_mpistart(), mod_rm_driver::scalerm(), and mod_rm_prep::scalerm_prep().
subroutine, public scale_process::prc_mpistop | ( | ) |
Abort MPI.
Definition at line 267 of file scale_process.F90.
References prc_mpi_alive, and prc_universal_comm_world.
Referenced by mod_admin_restart::admin_restart_setup(), mod_admin_time::admin_time_setup(), scale_atmos_adiabat::atmos_adiabat_cape(), mod_atmos_admin::atmos_admin_getscheme(), mod_atmos_admin::atmos_admin_setup(), scale_atmos_boundary::atmos_boundary_resume(), scale_atmos_boundary::atmos_boundary_resume_file(), scale_atmos_boundary::atmos_boundary_resume_online(), scale_atmos_boundary::atmos_boundary_setup(), scale_atmos_boundary::atmos_boundary_update(), mod_atmos_dyn_driver::atmos_dyn_driver_setup(), scale_atmos_dyn_common::atmos_dyn_filter_setup(), scale_atmos_dyn_fvm_flux::atmos_dyn_fvm_flux_setup(), scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tinteg_large_euler::atmos_dyn_tinteg_large_euler_setup(), scale_atmos_dyn_tinteg_large_rk3::atmos_dyn_tinteg_large_rk3_setup(), scale_atmos_dyn_tinteg_large::atmos_dyn_tinteg_large_setup(), scale_atmos_dyn_tinteg_short_rk3::atmos_dyn_tinteg_short_rk3_setup(), scale_atmos_dyn_tinteg_short_rk4::atmos_dyn_tinteg_short_rk4_setup(), scale_atmos_dyn_tinteg_short::atmos_dyn_tinteg_short_setup(), scale_atmos_dyn_tinteg_tracer_euler::atmos_dyn_tinteg_tracer_euler_setup(), scale_atmos_dyn_tinteg_tracer_rk3::atmos_dyn_tinteg_tracer_rk3_setup(), scale_atmos_dyn_tinteg_tracer::atmos_dyn_tinteg_tracer_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), scale_atmos_dyn_tstep_large::atmos_dyn_tstep_large_setup(), scale_atmos_dyn_tstep_short_fvm_heve::atmos_dyn_tstep_short_fvm_heve_regist(), scale_atmos_dyn_tstep_short_fvm_hevi::atmos_dyn_tstep_short_fvm_hevi_regist(), scale_atmos_dyn_tstep_short_fvm_hivi::atmos_dyn_tstep_short_fvm_hivi_regist(), scale_atmos_dyn_tstep_short_fvm_hivi::atmos_dyn_tstep_short_fvm_hivi_setup(), scale_atmos_dyn_tstep_short::atmos_dyn_tstep_short_regist(), scale_atmos_dyn_tstep_tracer_fvm_heve::atmos_dyn_tstep_tracer_fvm_heve_setup(), scale_atmos_dyn_tstep_tracer::atmos_dyn_tstep_tracer_setup(), mod_atmos_dyn_vars::atmos_dyn_vars_setup(), scale_atmos_hydrometeor::atmos_hydrometeor_regist(), scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_1d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_3d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_0d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_1d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_3d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_rev_2d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_rev_3d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_1d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_3d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_atmos_1d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_atmos_3d(), scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_real_3d(), scale_atmos_hydrostatic::atmos_hydrostatic_setup(), scale_atmos_phy_ae::atmos_phy_ae_config(), scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_config(), scale_atmos_phy_ae_kajino13::atmos_phy_ae_kajino13_config(), scale_atmos_phy_ae_kajino13::atmos_phy_ae_kajino13_setup(), mod_atmos_phy_ae_vars::atmos_phy_ae_vars_setup(), mod_atmos_phy_ch_vars::atmos_phy_ch_vars_setup(), scale_atmos_phy_cp_kf::atmos_phy_cp_kf_setup(), scale_atmos_phy_cp::atmos_phy_cp_setup(), mod_atmos_phy_cp_vars::atmos_phy_cp_vars_setup(), scale_atmos_phy_mp_convert::atmos_phy_mp_bulk2bin(), scale_atmos_phy_mp::atmos_phy_mp_config(), scale_atmos_phy_mp_dry::atmos_phy_mp_dry_config(), scale_atmos_phy_mp_kessler::atmos_phy_mp_kessler_config(), scale_atmos_phy_mp_kessler::atmos_phy_mp_kessler_setup(), scale_atmos_phy_mp_common::atmos_phy_mp_negative_fixer(), scale_atmos_phy_mp_common::atmos_phy_mp_saturation_adjustment(), scale_atmos_phy_mp_sdm::atmos_phy_mp_sdm(), scale_atmos_phy_mp_sdm::atmos_phy_mp_sdm_config(), scale_atmos_phy_mp_sdm::atmos_phy_mp_sdm_setup(), scale_atmos_phy_mp_sn14::atmos_phy_mp_sn14(), scale_atmos_phy_mp_sn14::atmos_phy_mp_sn14_config(), scale_atmos_phy_mp_sn14::atmos_phy_mp_sn14_setup(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_config(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_setup(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_config(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_setup(), mod_atmos_phy_mp_vars::atmos_phy_mp_vars_setup(), mod_atmos_phy_rd_driver::atmos_phy_rd_driver(), scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx(), scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_setup(), scale_atmos_phy_rd_offline::atmos_phy_rd_offline(), scale_atmos_phy_rd_offline::atmos_phy_rd_offline_setup(), scale_atmos_phy_rd_profile::atmos_phy_rd_profile_setup(), scale_atmos_phy_rd_profile::atmos_phy_rd_profile_setup_zgrid(), scale_atmos_phy_rd::atmos_phy_rd_setup(), mod_atmos_phy_rd_vars::atmos_phy_rd_vars_setup(), scale_atmos_phy_sf_bulk::atmos_phy_sf_bulk_setup(), scale_atmos_phy_sf_const::atmos_phy_sf_const_setup(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), scale_atmos_phy_sf::atmos_phy_sf_setup(), mod_atmos_phy_sf_vars::atmos_phy_sf_vars_setup(), scale_atmos_phy_tb::atmos_phy_tb_config(), scale_atmos_phy_tb_d1980::atmos_phy_tb_d1980_config(), scale_atmos_phy_tb_d1980::atmos_phy_tb_d1980_setup(), scale_atmos_phy_tb_dns::atmos_phy_tb_dns_config(), scale_atmos_phy_tb_dns::atmos_phy_tb_dns_setup(), scale_atmos_phy_tb_hybrid::atmos_phy_tb_hybrid_config(), scale_atmos_phy_tb_mynn::atmos_phy_tb_mynn_config(), scale_atmos_phy_tb_mynn::atmos_phy_tb_mynn_setup(), scale_atmos_phy_tb_smg::atmos_phy_tb_smg_config(), scale_atmos_phy_tb_smg::atmos_phy_tb_smg_setup(), mod_atmos_phy_tb_vars::atmos_phy_tb_vars_setup(), scale_atmos_refstate::atmos_refstate_read(), scale_atmos_refstate::atmos_refstate_resume(), scale_atmos_refstate::atmos_refstate_setup(), scale_atmos_saturation::atmos_saturation_setup(), scale_atmos_solarins::atmos_solarins_setup(), mod_atmos_vars::atmos_vars_restart_open(), mod_atmos_vars::atmos_vars_restart_read(), mod_atmos_vars::atmos_vars_setup(), scale_bulkflux::bulkflux_setup(), scale_calendar::calendar_cfunits2sec(), scale_calendar::calendar_unit2sec(), scale_debug::check(), mod_cnvlanduse::cnvlanduse(), mod_cnvlanduse::cnvlanduse_setup(), mod_cnvtopo::cnvtopo(), mod_cnvtopo::cnvtopo_setup(), scale_comm::comm_vars8_init(), scale_comm::comm_vars_init(), scale_const::const_setup(), scale_fileio::construct_derived_datatype(), mod_convert::convert(), mod_convert::convert_setup(), scale_external_io::convertarrayorderwrf2dsp(), mod_copytopo::copytopo(), scale_atmos_phy_cp_kf::cp_kf_main(), scale_atmos_phy_cp_kf::cp_kf_param(), mod_cpl_admin::cpl_admin_setup(), mod_cpl_vars::cpl_vars_setup(), scale_external_io::externalfilegetglobalattc(), scale_external_io::externalfilegetshape(), scale_external_io::externalfileread2drealdp(), scale_external_io::externalfileread2drealsp(), scale_external_io::externalfileread3drealdp(), scale_external_io::externalfileread3drealsp(), scale_external_io::externalfileread4drealdp(), scale_external_io::externalfileread4drealsp(), scale_external_io::externalfilereadoffset4drealdp(), scale_external_input::extin_regist(), scale_external_input_rm::extin_rm_get_dims_1d(), scale_external_input_rm::extin_rm_get_dims_2d(), scale_external_input_rm::extin_rm_get_dims_3d(), scale_external_input::extin_setup(), scale_external_input::extin_update_1d(), scale_external_input::extin_update_2d(), scale_external_input::extin_update_3d(), scale_fileio::fileio_create(), scale_fileio::fileio_def_var(), scale_fileio::fileio_read_1d(), scale_fileio::fileio_read_2d(), scale_fileio::fileio_read_3d(), scale_fileio::fileio_read_4d(), scale_fileio::fileio_read_var_1d(), scale_fileio::fileio_read_var_2d(), scale_fileio::fileio_read_var_3d(), scale_fileio::fileio_read_var_4d(), scale_fileio::fileio_setup(), scale_fileio::fileio_write_1d(), scale_fileio::fileio_write_2d(), scale_fileio::fileio_write_3d(), scale_fileio::fileio_write_3d_t(), scale_fileio::fileio_write_4d(), scale_fileio::fileio_write_var_1d(), scale_fileio::fileio_write_var_2d(), scale_fileio::fileio_write_var_3d(), scale_fileio::fileio_write_var_3d_t(), scale_fileio::fileio_write_var_4d(), mod_mkinit::flux_setup(), scale_grid::grid_generate(), scale_grid_index::grid_index_setup(), scale_grid::grid_setup(), scale_gridtrans::gtrans_rotcoef(), scale_gridtrans::gtrans_setup(), scale_history::hist_reg(), scale_history::hist_setup(), mod_mkinit::interporation_fact(), scale_interpolation_nest::intrpnest_domain_compatibility(), scale_interpolation_nest::intrpnest_interp_fact_latlon(), scale_interpolation_nest::intrpnest_interp_fact_llz(), scale_interpolation_nest::intrpnest_setup(), mod_land_admin::land_admin_getscheme(), mod_land_admin::land_admin_setup(), scale_land_grid_index::land_grid_index_setup(), scale_land_grid::land_grid_setup(), mod_realinput::land_interporation(), scale_land_phy_matsiro::land_phy_matsiro_setup(), scale_land_phy::land_phy_setup(), scale_land_phy_slab::land_phy_slab_setup(), mod_mkinit::land_setup(), scale_land_sfc_const::land_sfc_const(), scale_land_sfc::land_sfc_setup(), scale_land_sfc_thick_slab::land_sfc_thick_slab(), scale_land_sfc_thick_slab::land_sfc_thick_slab_setup(), scale_land_sfc_thin_slab::land_sfc_thin_slab(), scale_land_sfc_thin_slab::land_sfc_thin_slab_setup(), mod_land_vars::land_vars_external_in(), mod_land_vars::land_vars_setup(), scale_landuse::landuse_setup(), mod_mkinit::mkinit(), mod_mkinit::mkinit_setup(), mod_mktopo::mktopo(), mod_mktopo::mktopo_setup(), scale_monitor::monit_setup(), scale_monitor::monit_write(), scale_atmos_phy_mp_suzuki10::mp_suzuki10(), scale_mapproj::mprj_lonlat2xy(), scale_mapproj::mprj_mapfactor(), scale_mapproj::mprj_rotcoef_0d(), scale_mapproj::mprj_rotcoef_2d(), scale_mapproj::mprj_setup(), scale_mapproj::mprj_xy2lonlat(), scale_grid_nest::nest_comm_intercomm_nestdown_3d(), scale_grid_nest::nest_comm_issuer_of_receive_3d(), scale_grid_nest::nest_comm_issuer_of_wait_3d(), scale_grid_nest::nest_comm_nestdown(), scale_grid_nest::nest_comm_recv_cancel(), scale_grid_nest::nest_comm_recvwait_issue(), scale_grid_nest::nest_comm_test(), scale_grid_nest::nest_comm_waitall(), scale_grid_nest::nest_domain_relate(), scale_grid_nest::nest_domain_shape(), scale_grid_nest::nest_setup(), scale_atmos_phy_mp_sn14::nucleation_kij(), mod_ocean_admin::ocean_admin_getscheme(), mod_ocean_admin::ocean_admin_setup(), scale_ocean_phy_file::ocean_phy_file(), scale_ocean_phy_file::ocean_phy_file_setup(), scale_ocean_phy::ocean_phy_setup(), scale_ocean_phy_slab::ocean_phy_slab_setup(), mod_mkinit::ocean_setup(), scale_ocean_sfc_const::ocean_sfc_const(), scale_ocean_sfc::ocean_sfc_setup(), mod_ocean_vars::ocean_vars_setup(), mod_realinput_grads::parentatominputgrads(), mod_realinput::parentatomsetup(), mod_realinput_grads::parentatomsetupgrads(), mod_realinput_wrfarw::parentatomsetupwrfarw(), mod_realinput_grads::parentlandinputgrads(), mod_realinput_grads::parentlandsetupgrads(), mod_realinput_wrfarw::parentlandsetupwrfarw(), mod_realinput_grads::parentoceaninputgrads(), mod_realinput_grads::parentoceansetupgrads(), mod_realinput_wrfarw::parentoceansetupwrfarw(), prc_mpisplit(), scale_rm_process::prc_setup(), scale_prof::prof_setup(), scale_random::random_setup(), mod_realinput_grads::read_namelist(), mod_mkinit::read_sounding(), scale_grid_real::real_setup(), scale_grid_real::real_update_z(), mod_realinput::realinput_atmos(), mod_realinput::realinput_surface(), mod_mkinit::rect_setup(), mod_realinput::replace_misval_map(), scale_roughness::roughness_setup(), scalerm_launcher(), scale_atmos_refstate::smoothing(), scale_atmos_dyn_tstep_short_fvm_hivi::solve_bicgstab(), scale_atmos_dyn_tstep_short_fvm_hevi::solve_direct(), scale_rm_statistics::stat_setup(), scale_rm_statistics::stat_total_2d(), scale_rm_statistics::stat_total_3d(), mod_mkinit::tke_setup(), scale_topography::topo_fillhalo(), scale_topography::topo_setup(), scale_tracer::tracer_regist(), mod_urban_admin::urban_admin_getscheme(), mod_urban_admin::urban_admin_setup(), scale_urban_grid_index::urban_grid_index_setup(), scale_urban_grid::urban_grid_setup(), scale_urban_phy::urban_phy_setup(), scale_urban_phy_slc::urban_phy_slc(), scale_urban_phy_slc::urban_phy_slc_setup(), mod_mkinit::urban_setup(), mod_urban_vars::urban_vars_setup(), mod_user::user_setup(), mod_user::user_step(), scale_debug::valcheck_1d(), scale_debug::valcheck_2d(), scale_debug::valcheck_3d(), scale_comm::vars8_2d_mpi(), scale_comm::vars8_3d_mpi(), scale_comm::vars_2d_mpi(), scale_comm::vars_3d_mpi_pc(), and scale_comm::vars_init_mpi_pc().
subroutine, public scale_process::prc_mpifinish | ( | ) |
Stop MPI peacefully.
Definition at line 283 of file scale_process.F90.
References scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_stdout, scale_stdio::io_l, prc_abort_handler, prc_global_comm_world, prc_local_comm_world, prc_mpi_alive, prc_universal_comm_world, and prc_universal_handler.
Referenced by scalerm_launcher().
subroutine, public scale_process::prc_mpisplit | ( | integer, intent(in) | ORG_COMM, |
integer, intent(in) | NUM_DOMAIN, | ||
integer, dimension(:), intent(in) | PRC_DOMAINS, | ||
character(len=*), dimension(:), intent(in) | CONF_FILES, | ||
logical, intent(in) | LOG_SPLIT, | ||
logical, intent(in) | bulk_split, | ||
logical, intent(in) | color_reorder, | ||
integer, intent(out) | INTRA_COMM, | ||
integer, intent(out) | inter_parent, | ||
integer, intent(out) | inter_child, | ||
character(len=h_long), intent(out) | fname_local | ||
) |
MPI Communicator Split.
Definition at line 336 of file scale_process.F90.
References prc_masterrank, prc_mpistop(), prc_universal_ismaster, and prc_universal_jobid.
Referenced by scalerm_launcher().
subroutine, public scale_process::prc_mpisplit_letkf | ( | integer, intent(in) | ORG_COMM, |
integer, intent(in) | mem_np, | ||
integer, intent(in) | nitmax, | ||
integer, intent(in) | nprocs, | ||
integer, dimension(2,nitmax,nprocs), intent(in) | proc2mem, | ||
integer, intent(out) | INTRA_COMM | ||
) |
MPI Communicator Split for SCALE-LETKF ensemble.
Definition at line 480 of file scale_process.F90.
References prc_universal_ismaster.
subroutine, public scale_process::prc_mpibarrier | ( | ) |
Barrier MPI.
Definition at line 732 of file scale_process.F90.
References prc_local_comm_world, and prc_mpi_alive.
Referenced by scale_prof::prof_rapend(), and scale_prof::prof_rapstart().
real(dp) function, public scale_process::prc_mpitime | ( | ) |
Get MPI time.
Definition at line 747 of file scale_process.F90.
References prc_mpi_alive.
Referenced by mod_admin_time::admin_time_advance(), mod_admin_time::admin_time_checkstate(), mod_admin_time::admin_time_setup(), scale_prof::prof_rapend(), and scale_prof::prof_rapstart().
subroutine, public scale_process::prc_mpitimestat | ( | real(dp), dimension(:), intent(out) | avgvar, |
real(dp), dimension(:), intent(out) | maxvar, | ||
real(dp), dimension(:), intent(out) | minvar, | ||
integer, dimension(:), intent(out) | maxidx, | ||
integer, dimension(:), intent(out) | minidx, | ||
real(dp), dimension(:), intent(in) | var | ||
) |
Calc global statistics for timer.
[out] | avgvar | average |
[out] | maxvar | maximum |
[out] | minvar | minimum |
[out] | maxidx | index of maximum |
[out] | minidx | index of minimum |
[in] | var | values for statistics |
Definition at line 769 of file scale_process.F90.
References gtool_file::filecloseall(), scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_stdout, scale_stdio::io_l, prc_abort_comm_world, prc_global_domainid, prc_global_myrank, prc_global_nprocs, prc_local_comm_world, prc_mpi_alive, prc_myrank, prc_nprocs, prc_universal_jobid, prc_universal_myrank, and prc_universal_nprocs.
Referenced by scale_prof::prof_rapreport().
integer, parameter, public scale_process::prc_masterrank = 0 |
master process in each communicator
Definition at line 57 of file scale_process.F90.
Referenced by scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_setup(), scale_comm::comm_bcast_1d(), scale_comm::comm_bcast_2d(), scale_comm::comm_bcast_3d(), scale_comm::comm_bcast_4d(), scale_comm::comm_bcast_int_1d(), scale_comm::comm_bcast_int_2d(), scale_comm::comm_bcast_int_scr(), scale_comm::comm_bcast_logical_scr(), scale_comm::comm_bcast_scr(), scale_comm::comm_gather_2d(), scale_comm::comm_gather_3d(), scale_fileio::fileio_create(), scale_fileio::fileio_write_3d(), scale_fileio::fileio_write_3d_t(), scale_history::hist_setup(), prc_global_setup(), prc_local_setup(), prc_mpisplit(), scale_rm_process::prc_setup(), and prc_universal_setup().
integer, parameter, public scale_process::prc_domain_nlim = 10000 |
max depth of domains
Definition at line 58 of file scale_process.F90.
Referenced by scalerm_launcher().
integer, public scale_process::prc_universal_comm_world = -1 |
original communicator
Definition at line 61 of file scale_process.F90.
Referenced by prc_mpifinish(), prc_mpistop(), scale_rm_process::prc_setup(), and prc_universal_setup().
integer, public scale_process::prc_universal_myrank = -1 |
myrank in universal communicator
Definition at line 62 of file scale_process.F90.
Referenced by prc_mpitimestat(), scale_rm_process::prc_setup(), and prc_universal_setup().
integer, public scale_process::prc_universal_nprocs = -1 |
process num in universal communicator
Definition at line 63 of file scale_process.F90.
Referenced by prc_mpitimestat(), scale_rm_process::prc_setup(), and prc_universal_setup().
logical, public scale_process::prc_universal_ismaster = .false. |
master process in universal communicator?
Definition at line 64 of file scale_process.F90.
Referenced by mod_admin_time::admin_time_checkstate(), prc_mpisplit(), prc_mpisplit_letkf(), scale_rm_process::prc_setup(), and prc_universal_setup().
integer, public scale_process::prc_universal_jobid = 0 |
my job ID in universal communicator
Definition at line 66 of file scale_process.F90.
Referenced by prc_mpisplit(), and prc_mpitimestat().
integer, public scale_process::prc_global_comm_world = -1 |
global communicator
Definition at line 69 of file scale_process.F90.
Referenced by scale_grid_nest::nest_comm_disconnect(), prc_global_setup(), prc_mpifinish(), and scale_rm_process::prc_setup().
integer, public scale_process::prc_global_myrank = -1 |
myrank in global communicator
Definition at line 70 of file scale_process.F90.
Referenced by prc_global_setup(), prc_mpitimestat(), and scale_rm_process::prc_setup().
integer, public scale_process::prc_global_nprocs = -1 |
process num in global communicator
Definition at line 71 of file scale_process.F90.
Referenced by prc_global_setup(), prc_mpitimestat(), and scale_rm_process::prc_setup().
logical, public scale_process::prc_global_ismaster = .false. |
master process in global communicator?
Definition at line 72 of file scale_process.F90.
Referenced by prc_global_setup(), and scale_rm_process::prc_setup().
integer, public scale_process::prc_global_domainid = 0 |
my domain ID in global communicator
Definition at line 74 of file scale_process.F90.
Referenced by scale_grid_nest::nest_setup(), and prc_mpitimestat().
integer, public scale_process::prc_local_comm_world = -1 |
local communicator
Definition at line 77 of file scale_process.F90.
Referenced by scale_comm::comm_setup(), scale_fileio::fileio_create(), scale_fileio::fileio_open(), scale_history::hist_reg(), prc_local_setup(), prc_mpibarrier(), prc_mpifinish(), prc_mpitimestat(), and scale_rm_process::prc_setup().
integer, public scale_process::prc_nprocs = 1 |
myrank in local communicator
Definition at line 78 of file scale_process.F90.
Referenced by scale_grid_nest::nest_domain_shape(), prc_local_setup(), prc_mpitimestat(), scale_rm_process::prc_setup(), scale_prof::prof_rapreport(), scale_grid_real::real_setup(), scale_grid_real::real_update_z(), and scale_rm_statistics::stat_detail().
integer, public scale_process::prc_myrank = 0 |
process num in local communicator
Definition at line 79 of file scale_process.F90.
Referenced by mod_admin_time::admin_time_setup(), scale_atmos_phy_mp_common::atmos_phy_mp_negative_fixer(), mod_atmos_vars::atmos_vars_monitor(), mod_atmos_vars::atmos_vars_restart_check(), mod_copytopo::copytopo(), scale_atmos_phy_mp_sn14::debug_tem_kij(), scale_external_input::extin_regist(), scale_fileio::fileio_create(), scale_fileio::fileio_open(), scale_fileio::fileio_setup(), scale_fileio::fileio_write_axes(), scale_fileio::fileio_write_var_1d(), scale_fileio::fileio_write_var_2d(), scale_fileio::fileio_write_var_3d(), scale_fileio::fileio_write_var_3d_t(), scale_fileio::fileio_write_var_4d(), scale_grid::grid_allocate(), scale_grid::grid_generate(), scale_grid_index::grid_index_setup(), scale_history::hist_reg(), scale_history::hist_setup(), scale_land_grid::land_grid_setup(), scale_land_sfc_thin_slab::land_sfc_thin_slab(), scale_monitor::monit_finalize(), scale_monitor::monit_write(), scale_grid_nest::nest_comm_issuer_of_receive_3d(), scale_grid_nest::nest_domain_relate(), scale_grid_nest::nest_domain_shape(), prc_local_setup(), prc_mpitimestat(), scale_rm_process::prc_setup(), scale_random::random_setup(), scale_rm_statistics::stat_detail(), scale_rm_statistics::stat_total_2d(), scale_rm_statistics::stat_total_3d(), scale_urban_grid::urban_grid_setup(), scale_urban_phy_slc::urban_phy_slc(), scale_debug::valcheck_1d(), scale_debug::valcheck_2d(), and scale_debug::valcheck_3d().
logical, public scale_process::prc_ismaster = .false. |
master process in local communicator?
Definition at line 80 of file scale_process.F90.
Referenced by mod_admin_time::admin_time_advance(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_setup(), scale_monitor::monit_write(), scale_grid_nest::nest_domain_shape(), scale_grid_nest::nest_setup(), mod_realinput::parentatomsetup(), prc_local_setup(), scale_rm_process::prc_setup(), scale_prof::prof_rapreport(), and scale_grid_real::real_update_z().
logical, public scale_process::prc_mpi_alive = .false. |
MPI is alive?
Definition at line 83 of file scale_process.F90.
Referenced by prc_local_mpistart(), prc_mpibarrier(), prc_mpifinish(), prc_mpistart(), prc_mpistop(), prc_mpitime(), prc_mpitimestat(), and scale_rm_process::prc_setup().
integer, public scale_process::prc_universal_handler |
error handler in universal communicator
Definition at line 84 of file scale_process.F90.
Referenced by prc_local_mpistart(), prc_mpifinish(), prc_mpistart(), and prc_universal_setup().
integer, public scale_process::prc_abort_comm_world |
communicator for aborting
Definition at line 85 of file scale_process.F90.
Referenced by prc_mpitimestat(), scale_rm_process::prc_setup(), and prc_universal_setup().
integer, public scale_process::prc_abort_handler |
error handler communicator for aborting
Definition at line 86 of file scale_process.F90.
Referenced by prc_mpifinish(), and prc_universal_setup().