MAPL_Verify Function

public function MAPL_Verify(status, filename, line, rc) result(fail)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: status
character(len=*), intent(in) :: filename
integer, intent(in) :: line
integer, intent(out), optional :: rc

Return Value logical


Calls

proc~~mapl_verify~~CallsGraph proc~mapl_verify MAPL_Verify proc~mapl_throw_exception MAPL_throw_exception proc~mapl_verify->proc~mapl_throw_exception

Called by

AbstractGridFactory%cartesian_to_spherical_3d_real64wMAPL_Verify
w
AbstractGridFactory%get_basisw
w
AbstractGridFactory%make_arbitrary_decompositionw
w
AbstractGridFactory%make_gridw
w
AbstractGridFactory%spherical_to_cartesian_3d_real64w
w
AbstractMessage%dispatchw
w
AbstractMeter%finalizew
w
AbstractRegridder%initialize_basew
w
AbstractServer%report_profilew
w
add_fvarw
w
add_new_field_to_bundlew
w
all_gatherw
w
alloc_w
w
ArrDescrCreateReaderCommw
w
ArrDescrCreateWriterCommw
w
ArrDescrInitw
w
Attribute_deserializew
w
BaseThread%clear_RequestHandlew
w
BW_Benchmark%runw
w
CapDriver_Mainw
w
CFIOCollection%findw
w
checkpoint_testerw
w
ClientManager%collective_prefetch_dataw
w
ClientManager%collective_stage_dataw
w
ClientManager%done_collective_prefetchw
w
ClientManager%done_collective_stagew
w
ClientManager%modify_metadataw
w
ClientManager%post_waitw
w
ClientManager%set_optimal_serverw
w
ClientManager%stage_nondistributed_dataw
w
ClientManager%terminatew
w
ClientThread%add_ext_collectionw
w
ClientThread%collective_prefetch_dataw
w
ClientThread%collective_stage_dataw
w
ClientThread%done_collective_prefetchw
w
ClientThread%done_collective_stagew
w
ClientThread%done_prefetchw
w
ClientThread%modify_metadataw
w
ClientThread%post_wait_allw
w
ClientThread%prefetch_dataw
w
ClientThread%terminatew
w
ClientThread%wait_allw
w
compare_bundlew
w
construct_ISO8601DateTimew
w
convert_ISO8601_to_esmf_timew
w
convert_ISO8601_to_esmf_timeintervalw
w
convert_ISO8601_to_integer_datew
w
convert_ISO8601_to_integer_timew
w
convert_twostring_2_esmfintervalw
w
CoordinateVariable%serializew
w
CoordinateVariable_deserializew
w
copy_bundle_to_bundlew
w
create_cfw
w
create_cfw
w
create_output_gridw
w
create_timeunitw
w
DerivedExport%evaluate_derived_fieldw
w
diff_two_timeunitsw
w
DirectoryService%connect_to_clientw
w
DirectoryService%connect_to_serverw
w
DirectoryService%free_directory_resourcesw
w
DirectoryService%get_directoryw
w
DirectoryService%publishw
w
DirectoryService%put_directoryw
w
DistributedMeter%reduce_mpiw
w
ESMF_time_to_two_integerw
w
ESMFL_BundleCpyFieldw
w
ESMFL_field_is_undefinedw
w
ESMFL_GridCoordGetw
w
ESMFL_StateFieldIsNeededw
w
ESMFL_StateFreePointersw
w
ESMFL_StateGetFieldw
w
ESMFL_StateGetFieldArrayw
w
ESMFL_StateSetFieldNeededw
w
ExtData_Driverw
w
ExtData_DriverGridComp%runw
w
ExtData_DriverGridComp%set_servicesw
w
ExtData_IoBundle%cleanw
w
ExtDataConfig%add_new_rulew
w
ExtDataConfig%new_ExtDataConfig_from_yamlw
w
ExtDataDriver%initialize_io_clients_serversw
w
ExtDataDriver%initialize_mpiw
w
ExtDataDriver%runw
w
ExtDataFileStream%detect_metadataw
w
ExtDataMask%evaluate_box_maskw
w
ExtDataMask%evaluate_maskw
w
ExtDataMask%evaluate_region_maskw
w
ExtDataMask%evaluate_zone_maskw
w
ExtDataNG_IOBundle%cleanw
w
ExtDataOldTypesCreator%fillin_derivedw
w
ExtDataOldTypesCreator%fillin_primaryw
w
ExtDataPointerUpdate%create_from_parametersw
w
ExtDataTimeSample%set_defaultsw
w
FakeExtData%initw
w
FakeExtData%initw
w
FakeHistData0%initw
w
FakeHistData0%runw
w
fieldAbsw
w
fieldAcosw
w
fieldAddw
w
fieldAsinw
w
fieldAtanw
w
FieldBundleWriter%create_from_bundlew
w
FieldBundleWriter%start_new_filew
w
FieldBundleWriter%write_to_filew
w
fieldCosw
w
fieldCoshw
w
fieldDividew
w
fieldExpw
w
fieldLogw
w
fieldLog10w
w
fieldMultiplyw
w
FieldNegatew
w
FieldPoww
w
fieldPowerw
w
FieldsHaveUndefw
w
fieldSinw
w
fieldSinhw
w
fieldSqrtw
w
fieldSubtractw
w
fieldTanw
w
fieldTanhw
w
FileMetadata_deserializew
w
FileMetadataUtils%get_coordinate_infow
w
FileMetadataUtils%get_time_infow
w
FileMetadataUtils%get_var_attr_int32w
w
FileMetadataUtils%get_var_attr_int64w
w
FileMetadataUtils%get_var_attr_real32w
w
FileMetadataUtils%get_var_attr_real64w
w
FileMetadataUtils%get_var_attr_stringw
w
FileMetadataUtils%get_variable_attributew
w
FileMetadataUtils%var_get_missing_valuew
w
FileMetadataUtils%var_has_attrw
w
FileMetadataUtils%var_has_missing_valuew
w
fill_grads_templatew
w
FillRequestBundlew
w
GathervKernel%initw
w
GathervKernel%runw
w
GenericCplSetServicesw
w
get_att_char_netcdfw
w
get_att_real_netcdfw
w
get_attribute_from_groupw
w
get_callbacksw
w
get_config_attributesw
w
get_esmf_grid_layoutw
w
get_factoryw
w
get_factory_idw
w
get_file_levelsw
w
get_file_levelsw
w
get_file_timesw
w
get_file_timesw
w
get_filename_from_templatew
w
get_filename_from_template_use_indexw
w
get_level_infow
w
get_long_namesw
w
get_ncfile_dimensionw
w
get_unitsw
w
get_v1d_netcdf_R8w
w
get_v1d_netcdf_R8_completew
w
get_v2d_netcdf_R4w
w
get_v2d_netcdf_R8w
w
get_var_from_name_w_groupw
w
GETFILEw
w
GridManager%get_factoryw
w
GridManager%make_clonew
w
GridManager%make_factory_from_distGridw
w
GridManager%make_grid_from_distGridw
w
has_levelw
w
initialize_ioserverw
w
initialize_mpiw
w
latlon_zmeanw
w
latlon_zstarw
w
local_esmf_timesetw
w
LocalMemReference%deserializew
w
LocalMemReference%serializew
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
mainw
w
make_BW_Benchmarkw
w
make_BW_Benchmarkw
w
make_BW_BenchmarkSpecw
w
make_ComboSpecw
w
make_GathervKernelw
w
make_GathervKernelw
w
make_GathervSpecw
w
make_subgridcompsw
w
MAPL_AddRecordw
w
MAPL_AdvertiseServicew
w
MAPL_Backspacew
w
MAPL_BalanceCreatew
w
MAPL_Cap%create_member_subcommunicatorw
w
MAPL_Cap%initialize_cap_gcw
w
MAPL_Cap%initialize_io_clients_serversw
w
MAPL_Cap%runw
w
MAPL_Cap%run_ensemblew
w
MAPL_Cap%run_memberw
w
MAPL_Cap%run_modelw
w
MAPL_CapGridComp%finalizew
w
MAPL_CapGridComp%initializew
w
MAPL_CapGridComp%runw
w
MAPL_CapGridComp%set_servicesw
w
MAPL_CapGridCompCreatew
w
MAPL_CFIOClosew
w
MAPL_CFIOCreateFromFilew
w
MAPL_CFIOCreatewritew
w
MAPL_CFIODestroyw
w
MAPL_CFIOGetTimeStringw
w
MAPL_CFIOOpenWritew
w
MAPL_CFIOReadBundleReadw
w
MAPL_CFIOReadBundleWaitw
w
MAPL_CFIOSetKrankw
w
MAPL_CFIOWriteBundlePostw
w
MAPL_CFIOWriteBundleWaitw
w
MAPL_CFIOWriteBundleWritew
w
MAPL_ChildAddAttribToImportSpecw
w
MAPL_ClimUpdatew
w
MAPL_CollectiveGather3Dw
w
MAPL_CollectiveScatter3Dw
w
MAPL_CollectiveWaitw
w
MAPL_ConnectServicew
w
MAPL_CplCompSetAlarmw
w
MAPL_CplCompSetVarSpecsw
w
MAPL_create_bundle_from_metdata_idw
w
MAPL_CreateRequestw
w
MAPL_DateStampGetw
w
MAPL_DestroyStateSavew
w
MAPL_DisableRecordw
w
MAPL_DistGridGetw
w
MAPL_DoNotAllocateImportw
w
MAPL_DoNotAllocateInternalw
w
MAPL_DoNotDeferExportw
w
MAPL_ESMFStateReadFromFilew
w
MAPL_ExchangeGridGetw
w
MAPL_ExchangeGridSetw
w
MAPL_ExportStateGetw
w
MAPL_Finalizew
w
MAPL_FriendlyGetw
w
MAPL_GCGetw
w
MAPL_GenericFinalizew
w
MAPL_GenericInitializew
w
MAPL_GenericRecordw
w
MAPL_GenericRefreshw
w
MAPL_GenericRunChildrenw
w
MAPL_GenericRunCouplersw
w
MAPL_GenericSetServicesw
w
MAPL_GenericStateRestorew
w
MAPL_GenericStateSavew
w
MAPL_GetAllExchangeGridsw
w
MAPL_GetChildLocstreamw
w
MAPL_GetCurrentFilew
w
MAPL_GetImsJmsw
w
MAPL_GetResource_config_arrayw
w
MAPL_GetResource_config_scalarw
w
MAPL_GridCompSetEntryPointw
w
MAPL_GridCoordAdjustw
w
MAPL_GridCreatew
w
MAPL_GriddedIO%alphabatize_variablesw
w
MAPL_GriddedIO%bundlePostw
w
MAPL_GriddedIO%check_chunkingw
w
MAPL_GriddedIO%CreateFileMetaDataw
w
MAPL_GriddedIO%CreateQuantizationInfow
w
MAPL_GriddedIO%CreateVariablew
w
MAPL_GriddedIO%modifyTimew
w
MAPL_GriddedIO%process_data_from_filew
w
MAPL_GriddedIO%regridScalarw
w
MAPL_GriddedIO%regridVectorw
w
MAPL_GriddedIO%request_data_from_filew
w
MAPL_GriddedIO%set_default_chunkingw
w
MAPL_GriddedIO%set_paramw
w
MAPL_GriddedIO%stage2DLatLonw
w
MAPL_GriddedIO%stageDataw
w
MAPL_GriddedIO%swap_undef_valuew
w
MAPL_GridGetw
w
MAPL_GridHasDEw
w
MAPL_ImportStateGetw
w
MAPL_Initializew
w
MAPL_InternalESMFStateGetw
w
MAPL_InternalStateCreatew
w
MAPL_InternalStateRetrievew
w
MAPL_IOChangeResw
w
MAPL_IOCountLevelsw
w
MAPL_IOGetTimew
w
MAPL_LocStreamAdjustNsubtilesw
w
MAPL_LocStreamCreateXformw
w
MAPL_MemReportw
w
MAPL_MemUtilsFreew
w
MAPL_MethodAddw
w
MAPL_NCIOGetFileTypew
w
MAPL_read_bundlew
w
MAPL_RecordAlarmIsRingingw
w
MAPL_RequestServicew
w
MAPL_Rewindw
w
MAPL_RoundRobinPEListw
w
MAPL_SetStateSavew
w
MAPL_SetVarSpecForCCw
w
MAPL_SimpleBundleDestroyw
w
MAPL_SimpleBundleReadw
w
MAPL_Skipw
w
MAPL_StateAlarmGetw
w
MAPL_StateCreateFromSpecw
w
MAPL_StateCreateFromSpecNeww
w
MAPL_StateEvalw
w
MAPL_StatePrintSpecCSVw
w
MAPL_SunGetDaylightDurationw
w
MAPL_SunGetDaylightDurationMaxw
w
MAPL_SunGetLocalSolarHourAnglew
w
MAPL_SunOrbitCreatew
w
MAPL_SunOrbitCreateFromConfigw
w
MAPL_TileMaskGetw
w
MAPL_VarSpecCreateInListw
w
MAPL_VarSpecCreateInListNeww
w
MAPL_VarSpecPrintCSVw
w
MAPL_VarSpecReconnectw
w
MAPLDataCollection%findw
w
MaplGrid%setw
w
mk_field_commonw
w
mk_field_r4_2dw
w
mk_field_r4_ungridw
w
mk_field_r8_2dw
w
mk_gridw
w
mk_r4fieldw
w
mk_r4ungrid_fieldw
w
mk_r8fieldw
w
MpiMutex%acquirew
w
MpiMutex%free_mpi_resourcesw
w
MpiMutex%releasew
w
MpiSocket%receivew
w
MpiSocket%sendw
w
MyGridCreate_w
w
MyGridCreate_w
w
NetCDF4_FileFormatter%createw
w
NetCDF4_FileFormatter%create_parw
w
NetCDF4_FileFormatter%inq_dimw
w
NetCDF4_FileFormatter%inq_var_string_lengthw
w
NetCDF4_FileFormatter%put_var_real64_4w
w
new_ExtData_DriverGridCompw
w
new_ExtDataOldTypesCreatorw
w
newExtDataDriverw
w
NewRegridderManager%find_prototypew
w
NewRegridderManager%make_regridder_w
w
parse_time_stringw
w
parse_timeunit_i4w
w
parse_timeunit_i8w
w
pfio_initw
w
ProvidedServiceSetw
w
read_M_files_4_swathw
w
regridw
w
regrid_support%create_gridw
w
regrid_support%has_levelw
w
regrid_support%process_command_linew
w
RegridderManager%make_regridder_from_gridsw
w
RegridSupport%create_cubed_sphere_gridw
w
RegridSupport%create_esmf_gridsw
w
RegridSupport%create_lat_lon_gridw
w
RegridSupport%write_dataw
w
RegridSupport%write_metadataw
w
reportw
w
reportw
w
reportw
w
reset_times_to_current_dayw
w
runw
w
runw
w
runw
w
runw
w
runw
w
run_component_driverw
w
ServerManager%finalizew
w
ServerManager%initializew
w
ServerThread%initw
w
ServerThread%runw
w
set_ESMF_Time_from_ISO8601w
w
set_ESMF_TimeInterval_from_datetime_durationw
w
set_up_dataw
w
set_up_dataw
w
SetServicesw
w
SetServicesw
w
SetServicesw
w
SetServicesw
w
SetServicesw
w
SetServicesw
w
SimpleCommSplitter%add_group_simplew
w
SimpleCommSplitter%compute_colorw
w
SimpleCommSplitter%get_node_idw
w
SimpleCommSplitter%get_node_sizesw
w
SimpleCommSplitter%splitw
w
SimpleSocket%sendw
w
start_global_time_profilerw
w
stop_global_time_profilerw
w
string_to_esmf_timew
w
string_to_esmf_timeintervalw
w
StringAttributeMap_deserializew
w
StringVariableMap_deserializew
w
StringVariableMap_serializew
w
test_FieldAddR4w
w
test_FieldAddR4_missingw
w
test_FieldAddR8w
w
test_FieldAXPY_R4w
w
test_FieldAXPY_R8w
w
test_FieldClone3Dw
w
test_FieldConvertPrec_R4R8w
w
test_FieldCOPY_R4w
w
test_FieldCOPY_R4R8w
w
test_FieldCOPY_R8w
w
test_FieldCOPY_R8R4w
w
test_FieldGetCptrw
w
test_FieldGetLocalElementCountw
w
test_FieldGetLocalSizew
w
test_FieldNegR4w
w
test_FieldPowR4w
w
test_FieldPowR8w
w
test_FieldsAreConformableR4w
w
test_FieldsAreConformableR8w
w
test_FieldsAreSameTypeKindw
w
test_FieldSCAL_R4w
w
test_FieldSCAL_R8w
w
test_FieldSinR4w
w
test_ISO8601DateTime_gettersw
w
test_mainw
w
test_support%allocate_n_arraysw
w
test_support%close_filew
w
test_support%create_arraysw
w
test_support%create_communicatorsw
w
test_support%create_filew
w
test_support%set_parametersw
w
test_support%write_filew
w
test_support%write_levelw
w
test_support%write_variablew
w
TilingRegridder%initialize_subclassw
w
timew
w
timew
w
timew
w
time_avew
w
time_esmf_2_nc_intw
w
time_ESMF_to_realw
w
time_nc_int_2_esmfw
w
time_real_to_ESMFw
w
timeData%add_time_to_metadataw
w
timeData%compute_time_vectorw
w
timeData%define_time_variablew
w
timeData%get_start_timew
w
two_integer_to_ESMF_timew
w
union_platformw
w
UnlimitedEntity_deserializew
w
usagew
w
ut_ReGriddingw
w
Variable%serializew
w
Variable_deserializew
w
verticalData%append_vertical_metadataw
w
verticalData%correct_topow
w
verticalData%get_interpolating_variablew
w
verticalData%setup_eta_to_pressurew
w
vertInterpolation_pressKappaw
w
write_headerw
w
write_headerw
w
write_headerw
w

Source Code

   logical function MAPL_Verify(status, filename, line, rc) result(fail)
      integer, intent(in) :: status
      character(*), intent(in) :: filename
      integer, intent(in) :: line
      integer, optional, intent(out) :: rc ! Not present in MAIN

      logical :: condition
      character(:), allocatable :: message
      character(16) :: status_string

      condition = (status == 0)
      fail = .not. condition

      if (fail) then
         write(status_string,'(i0)') status
         message = 'status=' // status_string
         !$omp critical (MAPL_ErrorHandling3)
         call MAPL_throw_exception(filename, line, message=message)
         !$omp end critical (MAPL_ErrorHandling3)
         if (present(rc)) rc = status
      end if

   end function MAPL_Verify