4 int mpi_init_hcall(int *argc, char ***argv)
8 long long cmd=MPI_INIT;
10 HCALL(rc,cmd,argc,argv,zero,zero,zero,zero,zero,zero);
15 int mpi_deinit_hcall()
19 long long cmd=MPI_DEINIT;
21 HCALL(rc,cmd,zero,zero,zero,zero,zero,zero,zero,zero);
26 int mpi_comm_rank_hcall(void *comm, int *rank)
30 long long cmd=MPI_RANK;
32 HCALL(rc,cmd,comm,rank,zero,zero,zero,zero,zero,zero);
37 int mpi_send_hcall(void *buf, int n, void* dtype, int dest, int tag, void *comm)
41 long long cmd=MPI_SEND;
43 HCALL(rc,cmd,buf,n,dtype,dest,tag,comm,zero,zero);
48 int mpi_recv_hcall(void *buf, int n, void *dtype, int src, int tag,
49 void * comm, void *stat)
53 long long cmd=MPI_RECV;
55 HCALL(rc,cmd,buf,n,dtype,src,tag,comm,stat,zero);