INSEE 05.04.2011
Interconnection Nertworks Simulation and Evaluation Environment
C:/cygwin/home/Javier/insee/src/dimemas.h
Go to the documentation of this file.
00001 
00026 enum op_id {
00027         CPU=1, 
00028         SEND=2, 
00029         RECEIVE=3, 
00030         COLLECTIVE=10, 
00031         EVENT=20,
00032         FOPEN=101,
00033         FREAD=102,
00034         FWRITE=103,
00035         FSEEK=104,
00036         FCLOSE=105,
00037         FDUP=106,
00038         FUNLINK=107,
00039         IOCOLL=301,
00040         IOBLOCKNCOLL=302,
00041         IOBLOCKCOLL=303,
00042         IONBLOCKNCOLLBEGIN=304,
00043         IONBLOCKNCOLLEND=305,
00044         IONBLOCKCOLLBEGIN=306,
00045         IONBLOCKCOLLEND=307,
00046         ONESIDEGENOP=401,
00047         ONESIDEFENCE=402,
00048         ONESIDELOCK=403,
00049         ONESIDEPOST=404,
00050         LAPIOP=501
00051 } operation;
00052 
00056 enum def_t {
00057         COMMUNICATOR=1,
00058         FILE_IO=2,
00059         OSWINDOW=3
00060 } definitions;
00061 
00065 enum send_type {
00066         NONE=0,
00067         RENDEZVOUS=1,
00068         IMMEDIATE=2,
00069         BOTH=3
00070 } send_type;
00071 
00075 enum recv_t{
00076         RECV=0,
00077         IRECV=1,
00078         WAIT=2
00079 } recv_type;
00080 
00084 enum coll_t{
00085         OP_MPI_Barrier=0,
00086         OP_MPI_Bcast=1,
00087         OP_MPI_Gather=2,
00088         OP_MPI_Gatherv=3,
00089         OP_MPI_Scatter=4,
00090         OP_MPI_Scatterv=5,
00091         OP_MPI_Allgather=6,
00092         OP_MPI_Allgatherv=7,
00093         OP_MPI_Alltoall=8,
00094         OP_MPI_Alltoallv=9,
00095         OP_MPI_Reduce=10,
00096         OP_MPI_Allreduce=11,
00097         OP_MPI_Reduce_Scatter=12,
00098         OP_MPI_Scan=13
00099 } collective_ap;
00100 
00104 enum event_type{
00105         POINT2POINT=50000001,
00106         COLLECTIVES=50000002,
00107         OTHERS=     50000003
00108 } event_type;
00109 
00110 
00111 #define END 0 ///< Event end.
00112 #define End 0 ///< Event end. just in case...
00113 
00117 enum p2p_ev_t{
00118         EV_MPI_Bsend=33,
00119         EV_MPI_Bsend_init=112,
00120         EV_MPI_Cancel=40,
00121         EV_MPI_Recv_init=116,
00122         EV_MPI_Send_init=117,
00123         EV_MPI_Ibsend=36,
00124         EV_MPI_Iprobe=62,
00125         EV_MPI_Irecv=4,
00126         EV_MPI_Irsend=38,
00127         EV_MPI_Isend=3,
00128         EV_MPI_Issend=37,
00129         EV_MPI_Probe=61,
00130         EV_MPI_Recv=2,
00131         EV_MPI_Rsend=35,
00132         EV_MPI_Rsend_init=121,
00133         EV_MPI_Send=1,
00134         EV_MPI_Sendrecv=41,
00135         EV_MPI_Sendrecv_replace=42,
00136         EV_MPI_Ssend=34,
00137         EV_MPI_Ssend_init=122,
00138         EV_MPI_Wait=5,
00139         EV_MPI_Waitall=6,
00140         EV_MPI_Waitany=59,
00141         EV_MPI_Waitsome=60
00142 } point2point_event;
00143 
00147 enum coll_ev_t{
00148         EV_MPI_Allgather=17,
00149         EV_MPI_Allgatherv=18,
00150         EV_MPI_Allreduce=10,
00151         EV_MPI_Alltoall=11,
00152         EV_MPI_Alltoallv=12,
00153         EV_MPI_Barrier=8,
00154         EV_MPI_Bcast=7,
00155         EV_MPI_Gather=13,
00156         EV_MPI_Gatherv=14,
00157         EV_MPI_Reduce_scatter=80,
00158         EV_MPI_Reduce=9,
00159         EV_MPI_Scan=30,
00160         EV_MPI_Scatter=15,
00161         EV_MPI_Scatterv=16
00162 } collective_event;
00163 
00167 enum other_ev_t{
00168         MPI_Op_create=78,
00169         MPI_Op_free=79,
00170         MPI_Attr_delete=81,
00171         MPI_Attr_get=82,
00172         MPI_Attr_put=83,
00173         MPI_Comm_create=21,
00174         MPI_Comm_dup=22,
00175         MPI_Comm_free=25,
00176         MPI_Comm_group=24,
00177         MPI_Comm_rank=19,
00178         MPI_Comm_remote_group=26,
00179         MPI_Comm_remote_size=27,
00180         MPI_Comm_size=20,
00181         MPI_Comm_split=23,
00182         MPI_Comm_test_inter=28,
00183         MPI_Comm_compare=29,
00184         MPI_Group_difference=84,
00185         MPI_Group_excl=85,
00186         MPI_Group_free=86,
00187         MPI_Group_incl=87,
00188         MPI_Group_intersection=88,
00189         MPI_Group_rank=89,
00190         MPI_Group_range_excl=90,
00191         MPI_Group_range_incl=91,
00192         MPI_Group_size=92,
00193         MPI_Group_translate_ranks=93,
00194         MPI_Group_union=94,
00195         MPI_Group_compare=95,
00196         MPI_Intercomm_create=96,
00197         MPI_Intercomm_merge=97,
00198         MPI_Keyval_free=98,
00199         MPI_Keyval_create=99,
00200         MPI_Abort=100,
00201         MPI_Error_class=101,
00202         MPI_Errhandler_create=102,
00203         MPI_Errhandler_free=103,
00204         MPI_Errhandler_get=104,
00205         MPI_Error_string=105,
00206         MPI_Errhandler_set=106,
00207         MPI_Finalize=32,
00208         MPI_Get_processor_name=107,
00209         MPI_Init=31,
00210         MPI_Initialized=108,
00211         MPI_Wtick=109,
00212         MPI_Wtime=110,
00213         MPI_Address=111,
00214         MPI_Buffer_attach=113,
00215         MPI_Buffer_detach=114,
00216         MPI_Request_free=115,
00217         MPI_Get_count=118,
00218         MPI_Get_elements=119,
00219         MPI_Pack=76,
00220         MPI_Pack_size=120,
00221         MPI_Start=123,
00222         MPI_Startall=124,
00223         MPI_Test=39,
00224         MPI_Testall=125,
00225         MPI_Testany=126,
00226         MPI_Test_cancelled=127,
00227         MPI_Testsome=128,
00228         MPI_Type_commit=129,
00229         MPI_Type_contiguous=130,
00230         MPI_Type_extent=131,
00231         MPI_Type_free=132,
00232         MPI_Type_hindexed=133,
00233         MPI_Type_hvector=134,
00234         MPI_Type_indexed=135,
00235         MPI_Type_lb=136,
00236         MPI_Type_size=137,
00237         MPI_Type_struct=138,
00238         MPI_Type_ub=139,
00239         MPI_Type_vector=140,
00240         MPI_Unpack=77,
00241         MPI_Cart_coords=45,
00242         MPI_Cart_create=43,
00243         MPI_Cart_get=46,
00244         MPI_Cart_map=47,
00245         MPI_Cart_rank=48,
00246         MPI_Cart_shift=44,
00247         MPI_Cart_sub=49,
00248         MPI_Cartdim_get=50,
00249         MPI_Dims_create=51,
00250         MPI_Graph_get=52,
00251         MPI_Graph_map=53,
00252         MPI_Graph_neighbours=54,
00253         MPI_Graph_create=55,
00254         MPI_Grapdims_get=56,
00255         MPI_Graph_neighbours_count=57,
00256         MPI_Topo_test=58
00257 } other_event;
00258 
00262 enum os_lapi_op_id{
00263         LAPI_Init=1,
00264         LAPI_End=2,
00265         LAPI_Put=3,
00266         LAPI_Get=4,
00267         LAPI_Fence=5,
00268         LAPI_Barrier=6, // May be LAPI_Gfence
00269         LAPI_Alltoall=7 // May be LAPI_AddrInit
00270 } lapi_operations;