44 int ierr = MPI_Comm_rank( comm, &rank); assert( ierr == 0);
51 int ierr = MPI_Comm_size( comm, &size); assert( ierr == 0);
56 int main(
int argc,
char *argv[]) {
57 MPI_Init( &argc, &argv);
60 std::cout <<
"Usage: " << argv[0]
61 <<
" <Rocin input file> <material name>" << endl;
64 string inputfname(argv[1]);
65 const string matname(argv[2]);
85 const string newfname(
"with_aspect_ratios");
94 string MyString =
"001";
here we put it at the!beginning of the common block The point to point and collective!routines know about but MPI_TYPE_STRUCT as yet does not!MPI_STATUS_IGNORE and MPI_STATUSES_IGNORE are similar objects!Until the underlying MPI library implements the C version of these are declared as arrays of MPI_STATUS_SIZE!The types and are OPTIONAL!Their values are zero if they are not available Note that!using these reduces the portability of MPI_IO INTEGER MPI_BOTTOM INTEGER MPI_DOUBLE_PRECISION INTEGER MPI_LOGICAL INTEGER MPI_2REAL INTEGER MPI_2DOUBLE_COMPLEX INTEGER MPI_LB INTEGER MPI_WTIME_IS_GLOBAL INTEGER MPI_COMM_WORLD
int get_comm_rank(MPI_Comm comm)
This file contains the prototypes for Roccom API.
A Roccom mesh optimization module.
void COM_set_verbose(int i)
int COM_get_attribute_handle(const char *waname)
int get_comm_size(MPI_Comm comm)
void COM_print_profile(const char *fname, const char *header)
void COM_set_profiling(int i)
void COM_call_function(const int wf, int argc,...)
Definition for Rocblas API.
int main(int argc, char *argv[])
void COM_init(int *argc, char ***argv)
#define COM_LOAD_MODULE_STATIC_DYNAMIC(moduleName, windowString)
int COM_get_function_handle(const char *wfname)
#define COM_EXTERN_MODULE(moduleName)