Skip to content

Commit

Permalink
Lift error conditions with shared ABF and SMP
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomofiorin committed Dec 1, 2023
1 parent 70a726d commit 7fe94dc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/colvarbias_abf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ int colvarbias_abf::init(std::string const &conf)
}
cvm::log("shared ABF will be applied among "+
cvm::to_str(proxy->num_replicas()) + " replicas.\n");
if (cvm::proxy->smp_enabled() == COLVARS_OK) {
cvm::error("Error: shared ABF is currently not available with SMP parallelism; "
"please set \"SMP off\" at the top of the Colvars configuration file.\n",
COLVARS_NOT_IMPLEMENTED);
return COLVARS_NOT_IMPLEMENTED;
}

// If shared_freq is not set, we default to output_freq
get_keyval(conf, "sharedFreq", shared_freq, output_freq);
Expand Down

0 comments on commit 7fe94dc

Please sign in to comment.