Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communicate matom estimators between threads #135

Merged
merged 12 commits into from
Jan 16, 2015

Conversation

jhmatthews
Copy link
Collaborator

This fixes #132 - see discussion and test results there.

  • New functions in para_update.c
  • int communicate_estimators_para(void) - moved communication of non-matom estimators from python.c to subroutine (checked produces identical results with fiducial model)
  • int gather_spectra_para(int nspec_helper, int nspecs) - moved averaging of spectra from python.c to subroutine
  • int communicate_matom_estimators_para(void) new function which averages matom estimators between threads, using MPI_Reduce and MPI_Bcast.

jhmatthews added a commit that referenced this pull request Jan 16, 2015
Communicate matom estimators between threads
@jhmatthews jhmatthews merged commit 0e69acc into sirocco-rt:dev Jan 16, 2015
@jhmatthews jhmatthews deleted the para_estimator_fix branch June 3, 2016 15:41
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.

Macro-atom estimators not communicated between threads
1 participant