Skip to content

Conversation

@cmontemuino
Copy link
Owner

Adds documentation and fix the output.

cmontemuino and others added 25 commits April 12, 2016 08:56
# Conflicts:
#	Makefile
#	mspar.c
Common data needed by routines is now with global scope.

Resulting samples are accumulated first and later on outputted.
This is a precondition step we need before introducing super master topology.
When there is only one node, then each worker directly outputs
the results (vs. using a point-to-point communication for sending
the results to the master process).

When there are more than one node, then a second master is created
in the same node where the global master resides, and results are
outputted the same exact way as before (in that node only). This way
the global master is released from the coordination of local sample
generation, hence it can coordinate the generation among other nodes.
Now the global master should not be the bottleneck.
When there is only one node, then a secondary master is not needed,
meaning an extra MPI process is available for generating samples.
Workers located in master node now directly send the
generated samples to the standard output.

Master also generates samples when there is no other
work to do. This happens in the master node only.
Makefile is preferred when installed CMake is lower than 3.5.1
@cmontemuino cmontemuino merged commit e751c55 into master Jun 13, 2016
@cmontemuino cmontemuino deleted the feature/autonomous-local-masters branch September 2, 2016 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants