Documentation ¶
Index ¶
- Variables
- func Abort(comm C.MPI_Comm, errorcode int)
- func Allreduce(sendbuf, recvbuf interface{}, op C.MPI_Op, comm C.MPI_Comm)
- func Allreduce_float32(sendbuf, recvbuf []float32, op C.MPI_Op, comm C.MPI_Comm)
- func Allreduce_float64(sendbuf, recvbuf []float64, op C.MPI_Op, comm C.MPI_Comm)
- func Allreduce_int(sendbuf, recvbuf []int, op C.MPI_Op, comm C.MPI_Comm)
- func Allreduce_int32(sendbuf, recvbuf []int32, op C.MPI_Op, comm C.MPI_Comm)
- func Allreduce_int64(sendbuf, recvbuf []int64, op C.MPI_Op, comm C.MPI_Comm)
- func Alltoall(sendbuf, recvbuf interface{}, comm C.MPI_Comm)
- func Alltoall_float32(sendbuf, recvbuf []float32, comm C.MPI_Comm)
- func Alltoall_float64(sendbuf, recvbuf []float64, comm C.MPI_Comm)
- func Alltoall_int(sendbuf, recvbuf []int, comm C.MPI_Comm)
- func Alltoall_int32(sendbuf, recvbuf []int32, comm C.MPI_Comm)
- func Alltoall_int64(sendbuf, recvbuf []int64, comm C.MPI_Comm)
- func Barrier(comm C.MPI_Comm)
- func Comm_rank(comm C.MPI_Comm) int
- func Comm_size(comm C.MPI_Comm) int
- func Finalize()
- func Init()
- func Irecv(recvbuf interface{}, source, tag int, comm C.MPI_Comm, request *Request)
- func Irecv_float32(recvbuf []float32, source, tag int, comm C.MPI_Comm, request *Request)
- func Irecv_float64(recvbuf []float64, source, tag int, comm C.MPI_Comm, request *Request)
- func Irecv_int(recvbuf []int, source, tag int, comm C.MPI_Comm, request *Request)
- func Irecv_int32(recvbuf []int32, source, tag int, comm C.MPI_Comm, request *Request)
- func Irecv_int64(recvbuf []int64, source, tag int, comm C.MPI_Comm, request *Request)
- func Isend(sendbuf interface{}, dest, tag int, comm C.MPI_Comm, request *Request)
- func Isend_float32(sendbuf []float32, dest, tag int, comm C.MPI_Comm, request *Request)
- func Isend_float64(sendbuf []float64, dest, tag int, comm C.MPI_Comm, request *Request)
- func Isend_int(sendbuf []int, dest, tag int, comm C.MPI_Comm, request *Request)
- func Isend_int32(sendbuf []int32, dest, tag int, comm C.MPI_Comm, request *Request)
- func Isend_int64(sendbuf []int64, dest, tag int, comm C.MPI_Comm, request *Request)
- func Recv(recvbuf interface{}, source, tag int, comm C.MPI_Comm, status *Status)
- func Recv_float32(recvbuf []float32, source, tag int, comm C.MPI_Comm, status *Status)
- func Recv_float64(recvbuf []float64, source, tag int, comm C.MPI_Comm)
- func Recv_int(recvbuf []int, source, tag int, comm C.MPI_Comm)
- func Recv_int32(recvbuf []int32, source, tag int, comm C.MPI_Comm)
- func Recv_int64(recvbuf []int64, source, tag int, comm C.MPI_Comm)
- func Redirect_STDOUT(comm C.MPI_Comm)
- func Send(sendbuf interface{}, dest, tag int, comm C.MPI_Comm, status *Status)
- func Send_float32(sendbuf []float32, dest, tag int, comm C.MPI_Comm, status *Status)
- func Send_float64(sendbuf []float64, dest, tag int, comm C.MPI_Comm)
- func Send_int(sendbuf []int, dest, tag int, comm C.MPI_Comm)
- func Send_int32(sendbuf []int32, dest, tag int, comm C.MPI_Comm)
- func Send_int64(sendbuf []int64, dest, tag int, comm C.MPI_Comm)
- func Wait(request *Request, status *Status)
- func Waitall()
- type Request
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //communication structures COMM_WORLD C.MPI_Comm = C.get_MPI_COMM_WORLD() //datatypes INT C.MPI_Datatype = C.get_MPI_Datatype(0) INT32 C.MPI_Datatype = C.get_MPI_Datatype(0) INT64 C.MPI_Datatype = C.get_MPI_Datatype(1) FLOAT32 C.MPI_Datatype = C.get_MPI_Datatype(2) FLOAT64 C.MPI_Datatype = C.get_MPI_Datatype(3) //operations MAX C.MPI_Op = C.get_MPI_Op(0) MIN C.MPI_Op = C.get_MPI_Op(1) SUM C.MPI_Op = C.get_MPI_Op(2) PROD C.MPI_Op = C.get_MPI_Op(3) )
implementational details: all #define values within mpi.h cannot be accessed directly, so go needs c-wrappers. below there is a small subsection of all values, which have to be extended, if needed. (mth: I implemented currently only things I need)
Functions ¶
func Allreduce_float32 ¶
func Allreduce_float64 ¶
func Alltoall_float32 ¶
func Alltoall_float64 ¶
func Alltoall_int ¶
func Alltoall_int32 ¶
func Alltoall_int64 ¶
func Irecv_float32 ¶
func Irecv_float64 ¶
func Irecv_int32 ¶
func Irecv_int64 ¶
func Isend_float32 ¶
func Isend_float64 ¶
func Isend_int32 ¶
func Isend_int64 ¶
func Recv_float32 ¶
func Redirect_STDOUT ¶
if you want to redirect each stdout per process in a file in order to avoid a parallel stdout mess (no standard mpi function)
func Send_float32 ¶
Types ¶
type Status ¶
type Status C.MPI_Status
Click to show internal directories.
Click to hide internal directories.