Skip to content

y1r/mcp

Repository files navigation

MCP: MPI Copy Utility

MCP: cp command implementation by MPI

  • mcp_mpiio.cpp Use MPI-IO to aggregate a read operation.

  • mcp_mpi_bcast.cpp Use MPI_Bcast to broadcast.

  • mcp_mpi_bcast_direct.cpp Use MPI_Bcast to broadcast with O_DIRECT writing.

  • mcp_mpi_bcast_direct_pipeline.cpp Use MPI_Bcast to broadcast with O_DIRECT pipelined writing.

  • mcp.py Use MPI_Bcast to broadcast then use tarfile module to extract tar on-the-fly. Since pipelining is not implemented yet, use mcat with tar command.

mpicxx mcp_mpi_bcast_direct_pipeline.cpp -o mcp
mpiexec -N 1 ./mcp ${from} ${dst}

MCAT: cat command implementation by MPI

  • mcat.cpp
mpicxx mcat.cpp -o mcat
mpiexec -N 1 copy-tar-and-extract.sh

(copy-tar-and-extract.sh)

#!/bin/bash

./mcat ${from}.tar | tar xf - -C ${dst}

Releases

No releases published

Packages

No packages published