Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CodeVault
hpc-kernels
structured_grids
Commits
c44ac5aa
Commit
c44ac5aa
authored
Oct 13, 2016
by
Thomas Steinreiter
Browse files
Merge branch 'wireworld' of gitlab.com:steinret/CodeVault into wireworld
parents
71ae80c3
c08e6a90
Changes
2
Hide whitespace changes
Inline
Side-by-side
cellular_automaton/wireworld_c++/README.md
View file @
c44ac5aa
...
...
@@ -11,7 +11,7 @@ This code sample demonstrates:
*
Creating a distributed
**Graph Topology**
for the Halo Exchange, i.e.
`MPI_Dist_graph_create_adjacent`
*
Two different approaches for the Halo Exchange:
1.
Using
**collective communication**
, i.e.
`MPI_Ineighbor_alltoallw`
1.
Using
**point to point communication**
, i.e.
'
MPI_Isend
'
,
'
MPI_Irecv
'
1.
Using
**point to point communication**
, i.e.
`
MPI_Isend
`
,
`
MPI_Irecv
`
The code sample is structured as follows:
...
...
@@ -76,7 +76,7 @@ either on the command line or in your batch script, where an inputfile must be p
### Command line arguments
*
`-x [ --nprocs-x ]`
: number of processes in x-direction (optional, automatically deduced)
*
`-
r
[ --nprocs-y ]`
: number of processes in y-direction (optional, automatically deduced)
*
`-
y
[ --nprocs-y ]`
: number of processes in y-direction (optional, automatically deduced)
*
`-g [ --generations ]`
: number of generations simulated (default 1000)
*
`-m [ --commmode ]`
: Communication Mode.
`Collective`
or
`P2P`
(default Collective)
*
`-f [ --inputfile ]`
: path to wireworld input file (mandatory, flag can be obmitted) The file dimension must be divisible by the
*
grid dimension.
...
...
cellular_automaton/wireworld_c++/
s
tate.hpp
→
cellular_automaton/wireworld_c++/
S
tate.hpp
View file @
c44ac5aa
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment