Commit 1bed3b79 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Use "MPI_Type_create_hvector" instead of "MPI_Type_hvector" as the latter was removed in MPI-3.0

parent d49f7a91
......@@ -173,7 +173,7 @@ case class MPI_View(
getAccess
}
// create new datatype from old and free old afterwards
stmts += IR_FunctionCall(IR_ExternalFunctionReference("MPI_Type_hvector"), cellCountFrag(d), blocklength, stride(d), oldDatatype, IR_AddressOf(newDatatype))
stmts += IR_FunctionCall(IR_ExternalFunctionReference("MPI_Type_create_hvector"), cellCountFrag(d), blocklength, stride(d), oldDatatype, IR_AddressOf(newDatatype))
stmts += commitDatatype(newDatatype)
stmts += freeDatatype(oldDatatype)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment