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

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

?? mpi.h

?? CCSM Research Tools: Community Atmosphere Model (CAM)
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* $Id: mpi.h,v 1.1.6.1 2002/04/24 03:26:00 erik Exp $ *//*   This is a special set of bindings for uni-processor use of MPI by the PETSc library.    NOT ALL THE MPI CALLS ARE IMPLEMENTED CORRECTLY! Only those needed in PETSc.   For example,   * Does not implement send to self.   * Does not implement attributes correctly.*//*  The following info is a response to one of the petsc-maint questions   regarding MPIUNI.  MPIUNI was developed with the aim of getting PETSc compiled, and  usable in the absence of MPI. This is the reason each function is  not documented.  The development strategy was - to make enough  changes to it so that PETSc source compiles without errors, and runs  in the uni-processor mode.  Most PETSc objects have both sequential and parallel  implementations, which are separate. For eg: We have two types of  sparse matrix storage formats - SeqAIJ, and MPIAIJ. Some MPI  routines are used in the Seq part, but most of them are used in the  MPI part. The send/receive calls can be found mostly in the MPI  part.  When MPIUNI is used, only the Seq version of the PETSc objects are  used, even though the MPI variant of the objects are compiled. Since  there are no send/receive calls in the Seq variant, PETSc works fine  with MPIUNI in seq mode.  The reason some send/receive functions are defined to abort(), is to  detect sections of code that use send/receive functions, and gets  executed in the sequential mode. (which shouldn't happen in case of  PETSc).  One of the goals with MPIUNI, is to avoid the function call overhead  of a regular MPI implementation. If this was not the case, we could  as well have used a regular implementation of MPI as they are  available on almost all machines. Hence most of the functions are  implemented as macros. One of the additional benefits we got from  MPIUNI is, we were able to use PETSc on machines where using a  proper implementation of MPI was painful (for eg NT).  Proper implementation of send/receive would involve writing a  function for each of them. Inside each of these functions, we have  to check if the send is to self or receive is from self, and then  doing the buffering accordingly (until the receive is called) - or  what if a nonblocking receive is called, do a copy etc.. Handling  the buffering aspects might be complicated enough, that in this  case, a proper implementation of MPI might as well be used. This is  the reason the send to self is not implemented in MPIUNI, and never  will be.*/#if !defined(__MPI_H)#define __MPI_H#if defined(__BSdependh)#error You cannot use MPI-uni with BlockSolve95#endif#if defined(__basic_H)#error You cannot use MPI-uni with SPAI#endif#define USING_MPIUNI/*    MPIUNI_TMP is used in the macros below only to stop various C/C++ compilersfrom generating warning messages about unused variables while compiling PETSc.*/extern void *MPIUNI_TMP;#define MPI_COMM_WORLD       1#define MPI_COMM_SELF        MPI_COMM_WORLD#define MPI_COMM_NULL        0#define MPI_SUCCESS          0#define MPI_IDENT            0#define MPI_CONGRUENT        0#define MPI_SIMILAR          0#define MPI_UNEQUAL          3#define MPI_ANY_SOURCE     (-2)#define MPI_KEYVAL_INVALID   0#define MPI_ERR_UNKNOWN     18#define MPI_ERR_INTERN      21#define MPI_ERR_OTHER        1#define MPI_TAG_UB           0#define MPI_ERRORS_RETURN    0/* External types */typedef int    MPI_Comm;  typedef void   *MPI_Request;typedef void   *MPI_Group;typedef struct {int MPI_TAG,MPI_SOURCE,MPI_ERROR;} MPI_Status;typedef char*   MPI_Errhandler;extern int MPIUNI_Memcpy(void*,void*,int);/* In order to handle datatypes, we make them into "sizeof(raw-type)";    this allows us to do the MPIUNI_Memcpy's easily */#define MPI_Datatype        int#define MPI_FLOAT           sizeof(float)#define MPI_DOUBLE          sizeof(double)#define MPI_CHAR            sizeof(char)#define MPI_BYTE            sizeof(char)#define MPI_INT             sizeof(int)#define MPI_LONG            sizeof(long)#define MPI_SHORT           sizeof(short)#define MPI_UNSIGNED_CHAR   sizeof(unsigned char)#define MPI_UNSIGNED_LONG   sizeof(unsigned long)#define MPIU_PETSCLOGDOUBLE sizeof(PetscLogDouble)#define MPI_REQUEST_NULL    ((MPI_Request)0)typedef int MPI_Op;#define MPI_SUM           0#define MPI_ANY_TAG     (-1)/*  Prototypes of some functions which are implemented in mpi.c*/typedef int   (MPI_Copy_function)(MPI_Comm,int,void *,void *,void *,int *);typedef int   (MPI_Delete_function)(MPI_Comm,int,void *,void *);typedef void  (MPI_User_function)(void *, void *, int *, MPI_Datatype *); /*  In order that the PETSc MPIUNI can be used with another package that has its  own MPIUni we map the following function names to a unique PETSc name. Those functions  are defined in mpi.c*/extern int    Petsc_MPI_Abort(MPI_Comm,int);extern int    Petsc_MPI_Attr_get(MPI_Comm comm,int keyval,void *attribute_val,int *flag);extern int    Petsc_MPI_Keyval_free(int*);extern int    Petsc_MPI_Attr_put(MPI_Comm,int,void *);extern int    Petsc_MPI_Attr_delete(MPI_Comm,int);extern int    Petsc_MPI_Keyval_create(MPI_Copy_function *,MPI_Delete_function *,int *,void *);extern int    Petsc_MPI_Comm_free(MPI_Comm*);extern int    Petsc_MPI_Initialized(int *);extern int    Petsc_MPI_Comm_dup(MPI_Comm,MPI_Comm *);extern int    Petsc_MPI_Finalize(void);#define MPI_Abort         Petsc_MPI_Abort#define MPI_Attr_get      Petsc_MPI_Attr_get#define MPI_Keyval_free   Petsc_MPI_Keyval_free#define MPI_Attr_put      Petsc_MPI_Attr_put#define MPI_Attr_delete   Petsc_MPI_Attr_delete#define MPI_Keyval_create Petsc_MPI_Keyval_create#define MPI_Comm_free     Petsc_MPI_Comm_free#define MPI_Initialized   Petsc_MPI_Initialized#define MPI_Comm_dup      Petsc_MPI_Comm_dup#define MPI_Finalize      Petsc_MPI_Finalize/*     Routines we have replace with macros that do nothing     Some return error codes others return success*/#define MPI_Init(argc,argv) \     (MPIUNI_TMP = (void*)(long) (argc),\      MPIUNI_TMP = (void*)(long) (argv),\      MPI_SUCCESS)#define MPI_Send(buf,count,datatype,dest,tag,comm)  \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (dest),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPI_SUCCESS)#define MPI_Recv(buf,count,datatype,source,tag,comm,status) \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (source),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPIUNI_TMP = (void*)(long) (status),\      MPI_Abort(MPI_COMM_WORLD,0))#define MPI_Get_count(status, datatype,count) \     (MPIUNI_TMP = (void*)(long) (status),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (count),\      MPI_Abort(MPI_COMM_WORLD,0))#define MPI_Bsend(buf,count,datatype,dest,tag,comm)  \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (dest),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPI_SUCCESS)#define MPI_Ssend(buf,count, datatype,dest,tag,comm) \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (dest),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPI_SUCCESS)#define MPI_Rsend(buf,count, datatype,dest,tag,comm) \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (dest),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPI_SUCCESS)#define MPI_Buffer_attach(buffer,size) \     (MPIUNI_TMP = (void*)(long) (buffer),\      MPIUNI_TMP = (void*)(long) (size),\      MPI_SUCCESS)#define MPI_Buffer_detach(buffer,size)\     (MPIUNI_TMP = (void*)(long) (buffer),\      MPIUNI_TMP = (void*)(long) (size),\      MPI_SUCCESS)#define MPI_Ibsend(buf,count, datatype,dest,tag,comm,request) \     (MPIUNI_TMP = (void*)(long) (buf),\       MPIUNI_TMP = (void*)(long) (count),\       MPIUNI_TMP = (void*)(long) (datatype),\       MPIUNI_TMP = (void*)(long) (dest),\       MPIUNI_TMP = (void*)(long) (tag),\       MPIUNI_TMP = (void*)(long) (comm),\       MPIUNI_TMP = (void*)(long) (request),\       MPI_SUCCESS)#define MPI_Issend(buf,count, datatype,dest,tag,comm,request) \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (dest),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPIUNI_TMP = (void*)(long) (request),\      MPI_SUCCESS)#define MPI_Irsend(buf,count, datatype,dest,tag,comm,request) \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (dest),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPIUNI_TMP = (void*)(long) (request),\      MPI_SUCCESS)#define MPI_Irecv(buf,count, datatype,source,tag,comm,request) \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (source),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPIUNI_TMP = (void*)(long) (request),\      MPI_Abort(MPI_COMM_WORLD,0))#define MPI_Isend(buf,count, datatype,dest,tag,comm,request) \     (MPIUNI_TMP = (void*)(long) (buf),\      MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (datatype),\      MPIUNI_TMP = (void*)(long) (dest),\      MPIUNI_TMP = (void*)(long) (tag),\      MPIUNI_TMP = (void*)(long) (comm),\      MPIUNI_TMP = (void*)(long) (request),\      MPI_Abort(MPI_COMM_WORLD,0))#define MPI_Wait(request,status) \     (MPIUNI_TMP = (void*)(long) (request),\      MPIUNI_TMP = (void*)(long) (status),\      MPI_SUCCESS)#define MPI_Test(request,flag,status) \     (MPIUNI_TMP = (void*)(long) (request),\      MPIUNI_TMP = (void*)(long) (status),\      *(flag) = 0, \      MPI_SUCCESS)#define MPI_Request_free(request) \     (MPIUNI_TMP = (void*)(long) (request),\      MPI_SUCCESS)#define MPI_Waitany(a,b,c,d) \     (MPIUNI_TMP = (void*)(long) (a),\      MPIUNI_TMP = (void*)(long) (b),\      MPIUNI_TMP = (void*)(long) (c),\      MPIUNI_TMP = (void*)(long) (d),\      MPI_SUCCESS)#define MPI_Testany(a,b,c,d,e) \     (MPIUNI_TMP = (void*)(long) (a),\      MPIUNI_TMP = (void*)(long) (b),\      MPIUNI_TMP = (void*)(long) (c),\      MPIUNI_TMP = (void*)(long) (d),\      MPIUNI_TMP = (void*)(long) (e),\      MPI_SUCCESS)#define MPI_Waitall(count,array_of_requests,array_of_statuses) \     (MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (array_of_requests),\      MPIUNI_TMP = (void*)(long) (array_of_statuses),\      MPI_SUCCESS)#define MPI_Testall(count,array_of_requests,flag,array_of_statuses) \     (MPIUNI_TMP = (void*)(long) (count),\      MPIUNI_TMP = (void*)(long) (array_of_requests),\      MPIUNI_TMP = (void*)(long) (flag),\      MPIUNI_TMP = (void*)(long) (array_of_statuses),\      MPI_SUCCESS)#define MPI_Waitsome(incount,array_of_requests,outcount,\                     array_of_indices,array_of_statuses) \     (MPIUNI_TMP = (void*)(long) (incount),\

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日本欧美一区二区| 91精品在线观看入口| 丝袜诱惑亚洲看片| 国产精品五月天| 日韩欧美久久久| 欧美日韩一区在线| 不卡影院免费观看| 国产成人免费视频| 狠狠色狠狠色综合| 老色鬼精品视频在线观看播放| 亚洲蜜桃精久久久久久久| 国产精品久久久久影视| 国产欧美综合在线| 久久免费电影网| 在线看国产一区二区| 99国产精品视频免费观看| 丝袜美腿亚洲一区二区图片| 亚洲成av人片一区二区| 亚洲国产裸拍裸体视频在线观看乱了| 国产精品福利一区二区三区| 亚洲欧美综合在线精品| 中文字幕一区二区三区色视频| 欧美激情一区二区三区不卡| 国产偷国产偷精品高清尤物| 国产亚洲女人久久久久毛片| 国产目拍亚洲精品99久久精品| 国产丝袜在线精品| 国产精品全国免费观看高清| 成人免费一区二区三区视频| 国产精品乱码久久久久久| 亚洲三级小视频| 亚洲国产一区在线观看| 亚洲国产精品黑人久久久| 337p日本欧洲亚洲大胆色噜噜| 91国产丝袜在线播放| 欧美性受极品xxxx喷水| 欧美一区二区三区思思人| 久久久久88色偷偷免费| 国产精品高潮呻吟| 亚洲bt欧美bt精品| 麻豆久久久久久久| 国产成人av电影在线观看| 成人精品一区二区三区四区 | 欧美一级日韩免费不卡| 欧美一二三四在线| 中文字幕字幕中文在线中不卡视频| 一区二区在线观看不卡| 免费观看在线综合| 成人免费观看av| 欧美婷婷六月丁香综合色| 日韩免费视频线观看| 国产精品久久久久毛片软件| 天天av天天翘天天综合网色鬼国产| 久久av老司机精品网站导航| 国产激情91久久精品导航| 在线看一区二区| 久久久99久久| 天天综合网天天综合色| 成人黄色小视频在线观看| 欧美精品1区2区3区| 国产性做久久久久久| 亚洲成人精品在线观看| 国产99久久久国产精品| 色婷婷综合中文久久一本| 精品av综合导航| 亚洲综合色成人| 国产乱理伦片在线观看夜一区| 欧美专区日韩专区| 中文字幕制服丝袜一区二区三区 | 色综合色综合色综合色综合色综合| 91视频你懂的| 日韩三级伦理片妻子的秘密按摩| 亚洲欧美日韩国产综合在线| 国产精品一区三区| 精品欧美一区二区三区精品久久| 亚洲影视资源网| 91在线精品秘密一区二区| 久久久午夜精品| 久久99久久99精品免视看婷婷| 在线观看国产91| 亚洲免费av高清| 99精品欧美一区二区三区综合在线| 久久人人爽人人爽| 国产在线视频一区二区| 日韩视频在线观看一区二区| 婷婷综合另类小说色区| 色美美综合视频| 国产精品色一区二区三区| 精品无人码麻豆乱码1区2区| 欧美不卡一区二区| 日本二三区不卡| **性色生活片久久毛片| youjizz久久| 中文字幕一区二区三中文字幕| 成人精品高清在线| 中文文精品字幕一区二区| 国产酒店精品激情| 国产视频亚洲色图| 懂色av中文一区二区三区| 中文字幕免费不卡在线| 成人精品在线视频观看| 国产精品电影一区二区| 成人黄色免费短视频| 亚洲国产电影在线观看| 国产成人福利片| 中文字幕一区二区三区在线播放| av一区二区三区四区| 亚洲精品成人精品456| 91官网在线免费观看| 视频在线观看一区二区三区| 欧美一区二区三区四区高清| 九九久久精品视频| 国产女主播一区| 91国偷自产一区二区三区成为亚洲经典| 亚洲一区二区三区美女| 日韩欧美卡一卡二| 91麻豆自制传媒国产之光| 亚洲成a人片在线不卡一二三区| 日韩一区二区三区精品视频 | 久久亚洲影视婷婷| 成人99免费视频| 午夜激情久久久| 久久久精品欧美丰满| 成人av电影在线| 亚洲精品中文字幕乱码三区 | 91黄色免费观看| 久久精品国产99久久6| 中文字幕一区二区三区在线观看| 欧美日韩国产首页| 黄网站免费久久| 亚洲免费观看高清在线观看| 欧美日韩亚洲综合在线| 国产成人av电影在线观看| 午夜不卡在线视频| 国产精品无人区| 欧美电视剧在线观看完整版| av影院午夜一区| 久久精品国产99国产| 一区二区三区在线高清| 亚洲精品一区二区精华| 欧美自拍偷拍午夜视频| 国产suv精品一区二区三区| 亚洲成人av电影在线| 国产精品不卡一区二区三区| 精品国产伦一区二区三区观看方式 | 午夜精品福利一区二区蜜股av| 久久精品视频一区二区三区| aaa国产一区| 日韩国产在线观看一区| 自拍偷拍亚洲欧美日韩| 久久久午夜精品理论片中文字幕| 欧美在线一区二区| av激情亚洲男人天堂| 国产一区二区三区久久久| 日韩黄色一级片| 亚洲成人自拍网| 一区二区三区不卡在线观看| 国产欧美一区在线| 欧美一区二区三区免费观看视频| 91污片在线观看| 成人激情开心网| 国产日韩欧美a| 国产亚洲精品aa| 亚洲欧美综合网| 亚洲国产人成综合网站| 91丝袜美腿高跟国产极品老师 | 欧美三级在线看| 欧美一区二区三区公司| 久久蜜臀精品av| 亚洲日穴在线视频| 丝瓜av网站精品一区二区| 久久精品99国产精品日本| 国产麻豆精品在线| 91在线精品一区二区| 69精品人人人人| 久久久久久久综合| 亚洲精品ww久久久久久p站| 日本中文字幕一区| 国产成人精品综合在线观看| 91网站视频在线观看| 91精品国产福利在线观看 | 粉嫩13p一区二区三区| 欧美私模裸体表演在线观看| 日韩欧美123| 中文字幕亚洲视频| 久久精品国产99国产精品| 91在线播放网址| 91精品国产欧美一区二区18 | 97久久精品人人做人人爽| 欧美日韩国产高清一区二区三区 | 911精品国产一区二区在线| 久久亚区不卡日本| 亚洲第一av色| 亚洲另类色综合网站| 亚洲激情一二三区| 午夜久久久久久| 国产成人在线网站| 欧美日韩中字一区| 国产欧美一区二区精品忘忧草| 亚洲高清一区二区三区|