You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
When building RevBayes v. 1.0.6 with MPI, a compilation error will appear:
/gpfs/projects/hpc_support/revbayes-dev/src/revlanguage/analysis/mcmc/RlMonteCarloAnalysis.cpp:
In member function ‘virtual RevLanguage::RevPtr<RevLanguage::RevVariable> RevLanguage::MonteCarloAnalysis::executeMethod(const string&, const std::vector<RevLanguage::Argument>&, bool&)’:
/gpfs/projects/hpc_support/revbayes-dev/src/revlanguage/analysis/mcmc/RlMonteCarloAnalysis.cpp:102:53: error: ‘tuning_interval’ was not declared in this scope
value->run( gen, rules, MPI_COMM_WORLD, tuning_interval );
I've been able to build by going to these lines of code and defining tuning_interval:
#ifdef RB_MPI
int tuning_interval = static_cast<const Natural &>(args[2].getVariable()->getRevObject()).getValue();
#endif`
It would seem that the software hasn't been tested with MPI thoroughly in this release, since it doesn't build. In addition to this compilation error, the validation scripts run more slowly as you increase the number of threads. I am running tech support on a cluster, and one of our users can't get the software to complete in a timely fashion on their own script unless they run on one processor - it always takes longer with more cores, which defeats the purpose of using MPI on a cluster.
The text was updated successfully, but these errors were encountered:
Hi Austin,
what type of analysis are you or your user running? There are some type of
analyses and models were the MPI implementation is definitely faster than
the single core version, but other types of analyses cannot be parallelized
easily.
Best,
Sebastian
I'm not sure what the analysis is for (I can find out though), but the problem shows up in the validation scripts as well so we might be able to just focus on those.
For problems that can't be parallelized, I would expect that running with more cores would take the same amount of time as one serial thread with just a slight amount of overhead. However, that's not what's happening. The 28-threaded task takes 10 times as long to finish when compared to the single-threaded task (still using MPI). I'm assuming the validation scripts don't analyze more data as you increase the thread count, so a run time this long points to some kind of bug.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When building RevBayes v. 1.0.6 with MPI, a compilation error will appear:
I've been able to build by going to these lines of code and defining
tuning_interval
:Changing the first line to:
It would seem that the software hasn't been tested with MPI thoroughly in this release, since it doesn't build. In addition to this compilation error, the validation scripts run more slowly as you increase the number of threads. I am running tech support on a cluster, and one of our users can't get the software to complete in a timely fashion on their own script unless they run on one processor - it always takes longer with more cores, which defeats the purpose of using MPI on a cluster.
The text was updated successfully, but these errors were encountered: