亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? az_comm.c

?? 并行解法器,功能強大
?? C
?? 第 1 頁 / 共 5 頁
字號:
      (void) fprintf(stderr, "%sERROR on node %d\nmd_wait failed, message "                     "type = %d\n", yo, node, type);      exit(-1);    }  }} /* AZ_gdot_vec *//******************************************************************************//******************************************************************************//******************************************************************************/void AZ_print_sync_start(int proc, int do_print_line, int proc_config[])/*******************************************************************************  Routine to allow IO between print_sync_start and print_sync_end to be printed  by each processor entirely before the next processor begins its IO.  The  printing sequence is from proc = 0 to the last processor,  number_of_procs = nprocs - 1.  NOTE: THERE CAN BE NO COMMUNICATON BETWEEN THESE CALLS.  Author:          John N. Shadid, SNL, 1421  =======  Return code:     void  ============  Parameter list:  ===============  proc:            Current processor number.  do_print_line:   Boolean variable.  If true, a line of # is printed to                   indicate the start of a print_sync I/O block.*******************************************************************************/{  /* local variables */  int flag = 1, from, st, type;  MPI_AZRequest request;  /**************************** execution begins ******************************/  type = AZ_sys_msg_type;  if (proc_config[AZ_node] != 0) {    from = proc - 1;    mdwrap_iread((void *) &flag, sizeof(int), &from, &type, &request);    mdwrap_wait((void *) &flag, sizeof(int), &from, &type, &st, &request);  }  else {    if (do_print_line) {      (void) printf("\n");      for (flag = 0; flag < 37; flag++) (void) printf("#");      (void) printf(" PRINT_SYNC_START ");      for (flag = 0; flag < 25; flag++) (void) printf("#");      (void) printf("\n");    }  }} /* AZ_print_sync_start *//******************************************************************************//******************************************************************************//******************************************************************************/void AZ_print_sync_end(int proc_config[], int do_print_line)/*******************************************************************************  Routine to allow IO between print_sync_start and print_sync_end to be printed  by each processor entirely before the next processor begins its IO. The  printing sequence is from proc = 0 to the last processor,  number_of_procs = nprocs - 1.  NOTE: THERE CAN BE NO COMMUNICATON BETWEEN THESE CALLS.  Author:          John N. Shadid, SNL, 1421  =======  Return code:     void  ============  Parameter list:  ===============  proc:            Current processor number.  nprocs:          Number of processors in the current machine configuration.  do_print_line:   Boolean variable.  If true, a line of # is printed to                   indicate the start of a print_sync I/O block.*******************************************************************************/{  /* local variables */  int st, flag = 1, from, type, to, proc, nprocs;  MPI_AZRequest request, request2;  /**************************** execution begins ******************************/  proc = proc_config[AZ_node];  nprocs = proc_config[AZ_N_procs];  type            = AZ_sys_msg_type;  AZ_sys_msg_type = (AZ_sys_msg_type+1-AZ_MSG_TYPE) % AZ_NUM_MSGS + AZ_MSG_TYPE;  if (proc < nprocs -1) to = proc + 1;  else {    to = 0;    if (do_print_line) {      (void) printf("\n");      for (flag = 0; flag < 37; flag++) (void) printf("#");      (void) printf(" PRINT_SYNC_END__ ");      for (flag = 0; flag < 25; flag++) (void) printf("#");      (void) printf("\n\n");    }  }  mdwrap_iwrite((void *) &flag, sizeof(int), to, type, &st, &request);  if (proc == 0) {    from = nprocs -1;    mdwrap_iread((void *) &flag, sizeof(int), &from, &type, &request2);    mdwrap_wait((void *) &flag, sizeof(int), &from, &type, &st,                  &request2);  }  /*   * Do a final sync amongst all the processors, so that all of the other   * processors must wait for Proc 0 to receive the final message from   * Proc (Num_Proc-1).   */  AZ_sync(proc_config);} /* AZ_print_sync_end *//******************************************************************************//******************************************************************************//******************************************************************************/void AZ_sync(int proc_config[])/*******************************************************************************  Author:          John N. Shadid, SNL, 1421  =======  Return code:     void  ============  Parameter list:  ===============  node:            Current processor number.  nprocs:          Number of processors in the current machine configuration.*******************************************************************************/{  /* local variables */  int   type;                     /* type of next message */  int   partner;                  /* processor I exchange with */  int   mask;                     /* bit pattern identifying partner */  int   hbit;                     /* largest nonzero bit in nprocs */  int   nprocs_small;             /* largest power of 2 <= nprocs */  int   cflag;                    /* dummy argument for compatability */  int   node, nprocs;  char *yo = "sync: ";  MPI_AZRequest request;  /* Message handle */  /**************************** execution begins ******************************/  node   = proc_config[AZ_node];  nprocs = proc_config[AZ_N_procs];  type            = AZ_sys_msg_type;  AZ_sys_msg_type = (AZ_sys_msg_type+1-AZ_MSG_TYPE) % AZ_NUM_MSGS + AZ_MSG_TYPE;  /*  Find next lower power of 2. */  for (hbit = 0; (nprocs >> hbit) != 1; hbit++);  nprocs_small = 1 << hbit;  if (nprocs_small*2 == nprocs) {    nprocs_small *= 2;    hbit++;  }  partner = node ^ nprocs_small;  if (node+nprocs_small < nprocs) {    /* post receives on the hypercube portion of the machine partition */    if (mdwrap_iread((void *) NULL, 0, &partner, &type, &request)) {      (void) fprintf(stderr, "%sERROR on node %d\nmd_iread failed, message "                     "type = %d\n", yo, node, type);      exit(-1);    }  }  else if (node & nprocs_small) {    /*     * Send messages from the portion of the machine partition "above" the     * largest hypercube to the hypercube portion.     */    if (mdwrap_write((void *) NULL, 0, partner, type, &cflag)) {      (void) fprintf(stderr, "%sERROR on node %d\nmd_write failed, message "                     "type = %d\n", yo, node, type);      exit(-1);    }  }  if (node+nprocs_small < nprocs) {    /*     * Wait to receive the messages.  These messages will return length 1     * because MPI will not necessarily send a zero-length message.     */    (void) mdwrap_wait((void *) NULL, 0, &partner, &type, &cflag, &request);  }  /*  Now do a binary exchange on nprocs_small nodes. */  if (!(node & nprocs_small)) {    for (mask = nprocs_small>>1; mask; mask >>= 1) {      partner = node ^ mask;      if (mdwrap_iread((void *) NULL, 0, &partner, &type, &request)) {        (void) fprintf(stderr, "%sERROR on node %d\nmd_iread failed, message "                       "type = %d\n", yo, node, type);        exit(-1);      }      if (mdwrap_write((void *) NULL, 0, partner, type, &cflag)) {        (void) fprintf(stderr, "%sERROR on node %d\nmd_write failed, message "                       "type = %d\n", yo, node, type);        exit(-1);      }      /*       * Wait to receive the messages.  These messages will return length 1       * because MPI will not necessarily send a zero-length message.       */      (void) mdwrap_wait((void *) NULL, 0, &partner, &type, &cflag, &request);    }  }  /*  Finally, send message from lower half to upper half. */  partner = node ^ nprocs_small;  if (node & nprocs_small) {    if (mdwrap_iread((void *) NULL, 0, &partner, &type, &request)) {      (void) fprintf(stderr, "%sERROR on node %d\nmd_iread failed, message "                     "type = %d\n", yo, node, type);      exit(-1);    }  }  else if (node+nprocs_small < nprocs ) {    if (mdwrap_write((void *) NULL, 0, partner, type, &cflag)) {      (void) fprintf(stderr, "%sERROR on node %d\nmd_write failed, message "                     "type = %d\n", yo, node, type);      exit(-1);    }  }  /*   * Wait to receive the messages.  These messages will return length 1   * because MPI will not necessarily send a zero-length message.   */  if (node & nprocs_small) {    (void) mdwrap_wait((void *) NULL, 0, &partner, &type, &cflag, &request);  }} /* AZ_sync *//******************************************************************************//******************************************************************************//******************************************************************************/void AZ_gsum_vec_int(int vals[], int vals2[], int length, int proc_config[])/*******************************************************************************  For each element in vals[], perform a global sum with the other processors.  That is, on output vals[i] is equal to the sum of the input values in vals[i]  on all the processors.  Author:          Ray Tuminaro, SNL, 1422  =======  Return code:     void  ============  Parameter list:  ===============  vals:            On input, vals[i] on this processor is to be summed with                   vals[i] on all the other processors.                   On output, vals[i] is the sum of the input values in val[i]                   defined on all processors.  vals2:           Work space of size 'length'.  node:            Current processor number.  nprocs:          Number of processors in the current machine configuration.  length:          Number of values in 'vals' (i.e. number of global sums).*******************************************************************************/{  /* local variables */  int   type;             /* type of next message */  int   partner;          /* processor I exchange with */  int   mask;             /* bit pattern identifying partner */  int   hbit;             /* largest nonzero bit in nprocs */  int   nprocs_small;     /* largest power of 2 <= nprocs */  int   cflag;            /* dummy argument for compatability */  int   k;  int   node, nprocs;  char *yo = "AZ_gsum_vec_int: ";  MPI_AZRequest request;  /* Message handle */  /*********************** first executable statment *****************/  node   = proc_config[AZ_node];  nprocs = proc_config[AZ_N_procs];  type            = AZ_sys_msg_type;  AZ_sys_msg_type = (AZ_sys_msg_type+1-AZ_MSG_TYPE) % AZ_NUM_MSGS + AZ_MSG_TYPE;  /* Find next lower power of 2. */  for (hbit = 0; (nprocs >> hbit) != 1; hbit++);  nprocs_small = 1 << hbit;  if (nprocs_small * 2 == nprocs) {    nprocs_small *= 2;    hbit++;  }  partner = node ^ nprocs_small;  if (node+nprocs_small < nprocs) {    /* post receives on the hypercube portion of the machine partition */    if (mdwrap_iread((void *) vals2, length*sizeof(int), &partner, &type,                      &request)) {      (void) fprintf(stderr, "%sERROR on node %d\nmd_iread failed, message "                     "type = %d\n", yo, node, type);      exit(-1);    }  }  else if (node & nprocs_small) {    /*     * Send messages from the portion of the machine partition "above" the     * largest hypercube to the hypercube portion.     */    if (mdwrap_write((void *) vals, length*sizeof(int), partner, type,                      &cflag)) {      (void) fprintf(stderr, "%sERROR on node %d\nmd_write failed, message "                     "type = %d\n", yo, node, type);      exit(-1);    }  }  if (node+nprocs_small < nprocs) {    /* wait to receive the messages */    if (mdwrap_wait((void *) vals2

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产三级| 国产亚洲人成网站| 精品久久久久久久久久久久久久久 | 欧美高清一级片在线观看| 亚洲精品国久久99热| 国产一区二区导航在线播放| 色噜噜狠狠色综合欧洲selulu| 欧美电影一区二区| 亚洲视频一区在线观看| 麻豆免费看一区二区三区| 色婷婷精品久久二区二区蜜臂av| 精品久久久久久久久久久久包黑料| 亚洲色图20p| 国产乱子伦一区二区三区国色天香| 欧美三区在线观看| 国产精品第一页第二页第三页| 久久国产精品色| 欧美日韩国产高清一区二区| 亚洲黄色免费电影| 一本色道久久综合精品竹菊| 亚洲国产精品成人综合色在线婷婷 | 色综合视频在线观看| 欧美变态tickling挠脚心| 亚洲在线成人精品| 色婷婷久久久亚洲一区二区三区| 久久精品视频一区| 激情久久五月天| 欧美一区二区性放荡片| 亚洲www啪成人一区二区麻豆| 91视频91自| 中文字幕综合网| 国产91丝袜在线播放0| 久久婷婷色综合| 国产一区二区在线视频| 日韩欧美一区在线| 久久国产乱子精品免费女| 欧美日韩高清一区二区| 日日夜夜免费精品视频| 欧美精品123区| 天天av天天翘天天综合网| 色菇凉天天综合网| 亚洲精品免费视频| 97成人超碰视| 一区二区视频在线看| 欧洲亚洲精品在线| 亚洲成人福利片| 欧美撒尿777hd撒尿| 亚洲国产日韩在线一区模特| 欧美在线播放高清精品| 亚洲国产一区在线观看| 欧美精品丝袜中出| 亚洲丰满少妇videoshd| 91美女福利视频| 波多野洁衣一区| 久久精品一区二区三区av| 欧美日韩亚州综合| 欧美不卡一二三| 一区二区三区四区激情| 日韩**一区毛片| 日韩高清在线观看| 高清在线不卡av| 色94色欧美sute亚洲13| 久久精品一区二区三区不卡| 日韩美女一区二区三区四区| 亚洲黄色免费网站| 91精品蜜臀在线一区尤物| 激情综合色播激情啊| 国产精品入口麻豆原神| 欧美午夜理伦三级在线观看| 日韩精品欧美精品| 国产丝袜在线精品| 欧美午夜一区二区| 另类的小说在线视频另类成人小视频在线| 精品国产网站在线观看| 91免费看`日韩一区二区| 男女男精品视频网| 中文字幕一区二区三区色视频| 欧美调教femdomvk| 国产suv精品一区二区6| 亚洲va欧美va天堂v国产综合| 精品国产乱子伦一区| 色婷婷一区二区| 国产综合久久久久影院| 亚洲高清免费一级二级三级| 久久久久久久久久久黄色| 一本大道久久a久久精品综合| 美女一区二区久久| 亚洲一区视频在线| 国产亚洲欧洲997久久综合| 91麻豆精品91久久久久同性| 91视视频在线直接观看在线看网页在线看| 婷婷成人综合网| 亚洲人成网站影音先锋播放| 久久伊人中文字幕| 欧美精品一级二级三级| 91视视频在线观看入口直接观看www| 久久国产尿小便嘘嘘| 三级精品在线观看| 夜夜嗨av一区二区三区网页| 国产精品乱人伦中文| 亚洲精品一区二区精华| 欧美日韩在线一区二区| 色老综合老女人久久久| 风间由美一区二区av101| 蜜桃91丨九色丨蝌蚪91桃色| 亚洲午夜久久久久久久久电影院| 中文字幕av免费专区久久| 日韩一级片网址| 欧美精品久久天天躁| 欧美三级日韩三级| 色系网站成人免费| 成人av在线观| 成人激情小说网站| 成人精品视频一区二区三区| 国产一区二区三区久久久| 日韩成人免费看| 偷拍日韩校园综合在线| 亚洲国产另类精品专区| 亚洲成人在线免费| 亚洲成人免费观看| 日本特黄久久久高潮| 日韩精品乱码免费| 五月激情六月综合| 日韩激情av在线| 久久99热这里只有精品| 极品少妇一区二区| 国产一区二区电影| kk眼镜猥琐国模调教系列一区二区 | 最近日韩中文字幕| 亚洲黄色av一区| 日韩va欧美va亚洲va久久| 奇米一区二区三区av| 激情五月播播久久久精品| 久久99精品久久久久久| 高清国产午夜精品久久久久久| 不卡一区二区中文字幕| 在线区一区二视频| 91精品国产麻豆| 久久亚洲一级片| 亚洲人成人一区二区在线观看| 亚洲乱码精品一二三四区日韩在线| 亚洲高清中文字幕| 久久国产精品无码网站| 99久久99久久精品国产片果冻 | 日韩无一区二区| 久久久久高清精品| 亚洲精品你懂的| 奇米影视一区二区三区| 成人免费福利片| 欧美夫妻性生活| 国产日韩欧美精品在线| 亚洲精品高清在线| 久久精品国产成人一区二区三区 | 麻豆91免费看| 成人h动漫精品一区二| 欧美日韩精品一区视频| 久久久久久免费| 亚洲一二三四在线观看| 国产乱码一区二区三区| 欧美日韩一卡二卡三卡| 国产欧美日韩三区| 亚洲超碰97人人做人人爱| 国产成人综合精品三级| 欧美日韩一区二区三区不卡| 日本一区二区三区高清不卡| 婷婷国产在线综合| 91免费在线播放| 国产日韩欧美综合一区| 奇米888四色在线精品| 欧美综合一区二区三区| 国产精品美女久久久久久| 精品一区二区免费在线观看| 欧美亚洲国产一区在线观看网站| 欧美极品少妇xxxxⅹ高跟鞋| 天天影视色香欲综合网老头| 色综合视频一区二区三区高清| 久久久噜噜噜久久人人看| 毛片av一区二区| 欧美久久久久久蜜桃| 亚洲影院免费观看| 91麻豆国产自产在线观看| 中文字幕高清不卡| 国产福利91精品一区| 精品蜜桃在线看| 日本女优在线视频一区二区| 在线观看91视频| 亚洲综合999| 在线观看亚洲一区| 亚洲精品大片www| 91久久精品国产91性色tv| 日韩一区在线播放| 成人av中文字幕| 成人免费在线视频观看| av在线不卡观看免费观看| 国产精品日韩成人| av资源站一区| 亚洲精品国产精品乱码不99 | 国产精品乱码人人做人人爱| 国产成人福利片| 亚洲国产精品传媒在线观看|