
Go to the source code of this file.
Enumerations | |
| enum | { tc_global_max = 64 } |
Functions | |
| void | CmiAbort (const char *why) |
| "Standalone" version of all the Charm++ routines needed by simple libraries. | |
| void | CmiPrintf (const char *fmt,...) |
| void | CmiError (const char *fmt,...) |
| void * | CmiTmpAlloc (int size) |
| void | CmiTmpFree (void *p) |
| void | __cmi_assert (const char *expr, const char *file, int line) |
| CDECL double | CmiTimer (void) |
| CDECL double | CmiWallTimer (void) |
| CDECL void | TCHARM_Migrate (void) |
| void | TCHARM_Set_global (int globalID, void *new_value, TCHARM_Pup_global_fn pup_or_NULL) |
| void * | TCHARM_Get_global (int globalID) |
| CDECL int | TCHARM_Register (void *data, TCHARM_Pup_fn pfn) |
| FORTRAN_AS_C_RETURN (int, TCHARM_REGISTER, TCHARM_Register, tcharm_register,(void *data, TCHARM_Pup_fn pfn),(data, pfn)) | |
| CDECL void | TCHARM_Done (void) |
| FORTRAN_AS_C (TCHARM_DONE, TCHARM_Done, tcharm_done,(void),()) | |
| FORTRAN_AS_C (TCHARM_BARRIER, TCHARM_Barrier, tcharm_barrier,(void),()) | |
| FORTRAN_AS_C_RETURN (int, TCHARM_ELEMENT, TCHARM_Element, tcharm_element,(void),()) | |
| FORTRAN_AS_C_RETURN (int, TCHARM_NUM_ELEMENTS, TCHARM_Num_elements, tcharm_num_elements,(void),()) | |
| FORTRAN_AS_C_RETURN (double, TCHARM_WALL_TIMER, TCHARM_Wall_timer, tcharm_wall_timer,(void),()) | |
| CDECL int | CmiGetArgIntDesc (char **argv, const char *arg, int *optDest, const char *desc) |
| Find the given argument and integer option in argv. | |
| FDECL void | FTN_NAME (TCHARM_GETARG, tcharm_getarg) |
Variables | |
| int | _Cmi_mype = 0 |
| int | _Cmi_numpes = 1 |
| int | _Cmi_myrank = 0 |
| int | _Cmi_mynodesize = 1 |
| int | _Cmi_mynode = 0 |
| int | _Cmi_numnodes = 1 |
| double | _cpu_speed_factor = 0.0 |
| void * | tc_globals [tc_global_max] |
| anonymous enum |
| void CmiAbort | ( | const char * | why | ) |
"Standalone" version of all the Charm++ routines needed by simple libraries.
Serial version of common Charm++ routines:.
Currently only used for FEM_ALONE mode.
Orion Sky Lawlor, olawlor@acm.org, 2003/8/15
Definition at line 17 of file ckstandalone.C.
References abort().
| CDECL void TCHARM_Migrate | ( | void | ) |
Definition at line 61 of file ckstandalone.C.
References Converse::CkMyPe(), CthMigratable(), TCharm::get(), and TCharm::migrate().
| void TCHARM_Set_global | ( | int | globalID, | |
| void * | new_value, | |||
| TCHARM_Pup_global_fn | pup_or_NULL | |||
| ) |
Definition at line 65 of file ckstandalone.C.
References TCharm::get(), TCharm::getThread(), TCharm::sud, and tc_globals.
| void* TCHARM_Get_global | ( | int | globalID | ) |
Definition at line 68 of file ckstandalone.C.
References TCharm::get(), CkVec< T >::length(), TCharm::sud, and tc_globals.
| CDECL int TCHARM_Register | ( | void * | data, | |
| TCHARM_Pup_fn | pfn | |||
| ) |
Definition at line 74 of file ckstandalone.C.
References TCharm::add(), checkAddress(), and TCharm::get().
| FORTRAN_AS_C_RETURN | ( | int | , | |
| TCHARM_REGISTER | , | |||
| TCHARM_Register | , | |||
| tcharm_register | , | |||
| (void *data, TCHARM_Pup_fn pfn) | , | |||
| (data, pfn) | ||||
| ) |
Definition at line 75 of file ckstandalone.C.
| CDECL void TCHARM_Done | ( | void | ) |
| FORTRAN_AS_C | ( | TCHARM_DONE | , | |
| TCHARM_Done | , | |||
| tcharm_done | , | |||
| (void) | , | |||
| () | ||||
| ) |
Definition at line 81 of file ckstandalone.C.
| FORTRAN_AS_C | ( | TCHARM_BARRIER | , | |
| TCHARM_Barrier | , | |||
| tcharm_barrier | , | |||
| (void) | , | |||
| () | ||||
| ) |
Definition at line 84 of file ckstandalone.C.
| FORTRAN_AS_C_RETURN | ( | int | , | |
| TCHARM_ELEMENT | , | |||
| TCHARM_Element | , | |||
| tcharm_element | , | |||
| (void) | , | |||
| () | ||||
| ) |
Definition at line 87 of file ckstandalone.C.
| FORTRAN_AS_C_RETURN | ( | int | , | |
| TCHARM_NUM_ELEMENTS | , | |||
| TCHARM_Num_elements | , | |||
| tcharm_num_elements | , | |||
| (void) | , | |||
| () | ||||
| ) |
Definition at line 90 of file ckstandalone.C.
| FORTRAN_AS_C_RETURN | ( | double | , | |
| TCHARM_WALL_TIMER | , | |||
| TCHARM_Wall_timer | , | |||
| tcharm_wall_timer | , | |||
| (void) | , | |||
| () | ||||
| ) |
Definition at line 93 of file ckstandalone.C.
| FDECL void FTN_NAME | ( | TCHARM_GETARG | , | |
| tcharm_getarg | ||||
| ) |
Definition at line 134 of file ckstandalone.C.
Definition at line 45 of file ckstandalone.C.
| int _Cmi_numpes = 1 |
Definition at line 46 of file ckstandalone.C.
| int _Cmi_myrank = 0 |
Definition at line 47 of file ckstandalone.C.
| int _Cmi_mynodesize = 1 |
Definition at line 48 of file ckstandalone.C.
| int _Cmi_mynode = 0 |
Definition at line 49 of file ckstandalone.C.
| int _Cmi_numnodes = 1 |
Definition at line 50 of file ckstandalone.C.
| void* tc_globals[tc_global_max] |
Definition at line 64 of file ckstandalone.C.
Referenced by TCHARM_Get_global(), and TCHARM_Set_global().
1.5.5