Experiences (continued)
Compiler directives--could keep same code, but would be restricted to available shared memory on the computer
Message passing--domain decomposition; would need change code but would have more memory available on the computer.
The main modification was the addition of ghost cells at the boundaries, requiring subroutines that only updated the ghost cells.
In the parallel code, these subroutines would be replaced by interprocessor communication