| 232 | == __ocean__ == |
| 233 | |
| 234 | This multi-threaded parallel application is the port of the SPLASH OCEAN benchmark on the GIET_VM OS. |
| 235 | |
| 236 | This application studies the role of eddy and boundary currents in influencing large-scale ocean movements. |
| 237 | The ocean is modeled as dynamically allocated four-dimensional arrays for grid data storage, distributed in all clusters. |
| 238 | The two main parameters are : |
| 239 | * M : MxM define the grid size. M must be (power of 2) + 2. (from 36 to 1026). |
| 240 | * N : the number of threads is defined by the number of processors (one thread per processor. N must be power of 4. |
| 241 | The (M * M) grid modeling the ocean is split in (rootN * rootN) sub-grids (one square surged per thread. |
| 242 | If the sub-grids are large enough, we expect most of the memory access to be local. |
| 243 | |
| 244 | It requires one TTY terminal shared by all threads. |
| 245 | |
| 246 | The source code can be found [source:soft/giet_vm/applications/ocean/main.c here], and the mapping is defined [source:soft/giet_vm/applications/ocean/ocean.py here]. |