OpenCMISS-Iron Internal API Documentation
|
This module contains all computational environment variables. More...
Data Types | |
type | cache_type |
Contains information on a cache heirarchy. More... | |
type | computational_environment_type |
Contains information on the computational environment the program is running in. More... | |
type | computational_node_type |
Contains information on a computational node containing a number of processors. More... | |
type | computational_work_group_ptr_type |
!>pointer type to COMPUTATIONAL_WORK_GROUP_TYPE More... | |
type | computational_work_group_type |
Contains information on logical working groups (added by Robert on 01/04/2010) More... | |
type | mpi_computational_node_type |
Contains information on the MPI type to transfer information about a computational node. More... | |
Functions/Subroutines | |
subroutine, public | computational_work_group_subgroup_add (PARENT_WORK_GROUP, NUMBER_COMPUTATIONAL_NODES, ADDED_WORK_GROUP, ERR, ERROR,) |
Add the work sub-group to the parent group based on the computational requirements (called by user) More... | |
subroutine, public | computational_work_group_create_start (WORLD_WORK_GROUP, NUMBER_COMPUTATIONAL_NODES, ERR, ERROR,) |
Create the highest level work group (Default: GROUP_WORLD) More... | |
recursive subroutine | computational_workgroupgeneratecompenviron (WORK_GROUP, AVAILABLE_RANK_LIST, ERR, ERROR,) |
Generate computational environment for current level work group tree and all it's subgroups recursively. More... | |
subroutine, public | computational_work_group_create_finish (WORLD_WORK_GROUP, ERR, ERROR,) |
Generate the hierarchy computational environment based on work group tree. More... | |
subroutine | computational_node_finalise (COMPUTATIONAL_NODE, ERR, ERROR,) |
Finalises the computational node data structures and deallocates all memory. More... | |
subroutine | computational_node_initialise (COMPUTATIONAL_NODE, RANK, ERR, ERROR,) |
Initialises the computational node data structures. More... | |
subroutine | computational_node_mpi_type_finalise (ERR, ERROR,) |
Finalises the data structure containing the MPI type information for the COMPUTATIONAL_NODE_TYPE. More... | |
subroutine | computational_node_mpi_type_initialise (COMPUTATIONAL_NODE, ERR, ERROR,) |
Initialises the data structure containing the MPI type information for the COMPUTATIONAL_NODE_TYPE. More... | |
subroutine, public | computational_environment_finalise (ERR, ERROR,) |
Finalises the computational environment data structures and deallocates all memory. More... | |
subroutine, public | computational_environment_initialise (ERR, ERROR,) |
Initialises the computational environment data structures. More... | |
integer(intg) function, public | computational_node_number_get (ERR, ERROR) |
Returns the number/rank of the computational nodes. More... | |
integer(intg) function, public | computational_nodes_number_get (ERR, ERROR) |
Returns the number of computational nodes. More... | |
Variables | |
type(computational_environment_type), target, public | computational_environment |
The computational environment the program is running in. More... | |
type(mpi_computational_node_type) | mpi_computational_node_type_data |
The MPI data on the computational nodes. More... | |
This module contains all computational environment variables.
subroutine, public comp_environment::computational_environment_finalise | ( | integer(intg), intent(out) | ERR, |
type(varying_string), intent(out) | ERROR | ||
) |
Finalises the computational environment data structures and deallocates all memory.
[out] | err | The error code |
[out] | error | The error string |
Definition at line 503 of file computational_environment.f90.
References computational_environment, computational_node_finalise(), computational_node_mpi_type_finalise(), base_routines::enters(), base_routines::exits(), cmiss_mpi::mpi_error_check(), and cmisspetsc::petsc_finalise().
Referenced by cmiss::cmfe_finalise_(), and computational_environment_initialise().
subroutine, public comp_environment::computational_environment_initialise | ( | integer(intg), intent(out) | ERR, |
type(varying_string), intent(out) | ERROR | ||
) |
Initialises the computational environment data structures.
[out] | err | The error code |
[out] | error | The error string |
Definition at line 546 of file computational_environment.f90.
References computational_environment, computational_environment_finalise(), computational_node_initialise(), computational_node_mpi_type_initialise(), base_routines::computational_node_numbers_set(), base_routines::diagnostic_output_type, base_routines::diagnostics1, base_routines::diagnostics2, base_routines::enters(), base_routines::exits(), cmiss_mpi::mpi_error_check(), and cmisspetsc::petsc_initialise().
Referenced by cmiss::cmfe_initialise_().
|
private |
Finalises the computational node data structures and deallocates all memory.
[in,out] | computational_node | The computational node to finalise |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 347 of file computational_environment.f90.
References base_routines::enters(), and base_routines::exits().
Referenced by computational_environment_finalise().
|
private |
Initialises the computational node data structures.
[out] | computational_node | The computational node to initialise |
[in] | rank | The MPI rank of the computational node |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 373 of file computational_environment.f90.
References base_routines::enters(), base_routines::exits(), and cmiss_mpi::mpi_error_check().
Referenced by computational_environment_initialise().
|
private |
Finalises the data structure containing the MPI type information for the COMPUTATIONAL_NODE_TYPE.
[out] | err | The error code |
[out] | error | The error string |
Definition at line 403 of file computational_environment.f90.
References base_routines::enters(), base_routines::exits(), mpi_computational_node_type_data, and cmiss_mpi::mpi_error_check().
Referenced by computational_environment_finalise(), and computational_node_mpi_type_initialise().
|
private |
Initialises the data structure containing the MPI type information for the COMPUTATIONAL_NODE_TYPE.
[in] | computational_node | The computational node containing the MPI type to initialise |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 436 of file computational_environment.f90.
References computational_node_mpi_type_finalise(), base_routines::diagnostic_output_type, base_routines::diagnostics3, base_routines::enters(), base_routines::exits(), mpi_computational_node_type_data, and cmiss_mpi::mpi_error_check().
Referenced by computational_environment_initialise().
integer(intg) function, public comp_environment::computational_node_number_get | ( | integer(intg), intent(out) | ERR, |
type(varying_string), intent(out) | ERROR | ||
) |
Returns the number/rank of the computational nodes.
[out] | err | The error code |
[out] | error | The error string |
Definition at line 640 of file computational_environment.f90.
References computational_environment, base_routines::enters(), and base_routines::exits().
Referenced by darcy_equations_routines::darcy_equation_monitor_convergence(), data_projection_routines::dataprojection_datapointsprojectionevaluate(), distributed_matrix_vector::distributed_vector_cmiss_create_finish(), domain_mappings::domain_mappings_local_from_global_calculate(), equations_set_routines::equations_set_boundary_conditions_increment(), field_io_routines::field_io_elements_export(), field_io_routines::field_io_fields_import(), field_io_routines::field_io_nodes_export(), fieldml_output_routines::fieldml_output_add_field_node_dofs(), fieldml_input_routines::fieldmlinput_fieldnodalparametersupdate(), finite_elasticity_routines::finiteelasticity_boundaryconditionsanalyticcalculate(), reaction_diffusion_io_routines::REACTION_DIFFUSION_IO_WRITE_CMGUI::reaction_diffusion_io_write_cmgui(), and reaction_diffusion_equation_routines::REACTION_DIFFUSION_POST_SOLVE_OUTPUT_DATA::reaction_diffusion_post_solve_output_data().
integer(intg) function, public comp_environment::computational_nodes_number_get | ( | integer(intg), intent(out) | ERR, |
type(varying_string), intent(out) | ERROR | ||
) |
Returns the number of computational nodes.
[out] | err | The error code |
[out] | error | The error string |
Definition at line 668 of file computational_environment.f90.
References computational_environment, base_routines::enters(), and base_routines::exits().
Referenced by distributed_matrix_vector::distributed_vector_update_finish(), distributed_matrix_vector::distributed_vector_update_start(), field_io_routines::field_io_elements_export(), field_io_routines::field_io_fields_import(), and field_io_routines::field_io_nodes_export().
subroutine, public comp_environment::computational_work_group_create_finish | ( | type(computational_work_group_type), intent(inout), pointer | WORLD_WORK_GROUP, |
integer(intg), intent(out) | ERR, | ||
type(varying_string), intent(out) | ERROR | ||
) |
Generate the hierarchy computational environment based on work group tree.
[out] | err | The error code |
[out] | error | The error string |
Definition at line 311 of file computational_environment.f90.
References computational_environment, computational_workgroupgeneratecompenviron(), base_routines::enters(), and base_routines::exits().
subroutine, public comp_environment::computational_work_group_create_start | ( | type(computational_work_group_type), intent(inout), pointer | WORLD_WORK_GROUP, |
integer(intg), intent(in) | NUMBER_COMPUTATIONAL_NODES, | ||
integer(intg), intent(out) | ERR, | ||
type(varying_string), intent(out) | ERROR | ||
) |
Create the highest level work group (Default: GROUP_WORLD)
[out] | err | The error code |
[out] | error | The error string |
Definition at line 205 of file computational_environment.f90.
References base_routines::exits().
subroutine, public comp_environment::computational_work_group_subgroup_add | ( | type(computational_work_group_type), intent(inout), pointer | PARENT_WORK_GROUP, |
integer(intg), intent(in) | NUMBER_COMPUTATIONAL_NODES, | ||
type(computational_work_group_type), intent(inout), pointer | ADDED_WORK_GROUP, | ||
integer(intg), intent(out) | ERR, | ||
type(varying_string), intent(out) | ERROR | ||
) |
Add the work sub-group to the parent group based on the computational requirements (called by user)
[out] | err | The error code |
[out] | error | The error string |
Definition at line 144 of file computational_environment.f90.
References base_routines::exits().
|
private |
Generate computational environment for current level work group tree and all it's subgroups recursively.
[out] | err | The error code |
[out] | error | The error string |
Definition at line 237 of file computational_environment.f90.
References computational_environment, base_routines::enters(), base_routines::exits(), and cmiss_mpi::mpi_error_check().
Referenced by computational_work_group_create_finish().
type(computational_environment_type), target, public comp_environment::computational_environment |
The computational environment the program is running in.
Definition at line 125 of file computational_environment.f90.
Referenced by analytic_analysis_routines::analyticanalysis_output(), analytic_analysis_routines::analyticanalysis_rmserrorgetelement(), analytic_analysis_routines::analyticanalysis_rmserrorgetnode(), boundary_conditions_routines::boundary_conditions_create_finish(), cmiss::cmfe_initialise_(), computational_environment_finalise(), computational_environment_initialise(), computational_node_number_get(), computational_nodes_number_get(), computational_work_group_create_finish(), computational_workgroupgeneratecompenviron(), data_projection_routines::dataprojection_datapointsprojectionevaluate(), distributed_matrix_vector::distributed_matrix_petsc_create_finish(), distributed_matrix_vector::distributed_vector_petsc_create_finish(), distributed_matrix_vector::distributed_vector_update_start(), domain_mappings::domain_mappings_global_to_local_get(), navier_stokes_equations_routines::NavierStokes_CalculateBoundaryFlux::navierstokes_calculateboundaryflux(), navier_stokes_equations_routines::NavierStokes_Couple1D0D::navierstokes_couple1d0d(), navier_stokes_equations_routines::NavierStokes_CoupleCharacteristics::navierstokes_couplecharacteristics(), and solver_mapping_routines::solver_mapping_calculate().
|
private |
The MPI data on the computational nodes.
Definition at line 126 of file computational_environment.f90.
Referenced by computational_node_mpi_type_finalise(), and computational_node_mpi_type_initialise().