1. A machine-readable non-transitory storage medium comprising a plurality of instructions that in response to being executed result in a system: during a compiling stage, retrieving shared data from a message passing interface (MPI) program, wherein the shared data is sharable by a plurality of processes; during a runtime stage, allocating the shared data to a shared memory, wherein the shared memory is accessible by the plurality of processes; and during the runtime stage, maintaining a single copy of the shared data in the shared memory so that more than one processes of the plurality of processes can read or write the single copy of the shared data from or to the shared memory.