-
Notifications
You must be signed in to change notification settings - Fork 66
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
Feature/toolboxes #1769
Feature/toolboxes #1769
Conversation
…toolbox_fluid_turbulence
…' into feature/toolboxes
…' into feature/toolboxes
…hGhostsSplitted + mv some part in trait.hpp
…en eval on interprocess some expr using the exprselectorbymeshelement
@@ -464,8 +464,11 @@ Backend<T,SizeT>::nlSolve( sparse_matrix_ptrtype& A, | |||
} | |||
else if ( !ret.isConverged() ) | |||
{ | |||
LOG(ERROR) << "\n[backend] non-linear solver fail"; | |||
LOG(ERROR) << "Backend " << M_prefix << " : non-linear solver failed to converge" << std::endl; | |||
if ( this->worldComm().isMasterRank() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG() is supposed to do that, isn't it the case ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or may be it is the wrong WorldComm ?
exit(1); | ||
if ( !M_p.contains("key") ) | ||
{ | ||
CHECK( false ) << "invalid key"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a more explicit message here to help find where could be the problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, I will review errors when exception will be full operational
auto const& j_key = M_p.at("key"); | ||
if ( !j_key.is_string() ) | ||
{ | ||
CHECK( false ) << "invalid key"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
@@ -985,8 +985,14 @@ FLUIDMECHANICS_CLASS_TEMPLATE_TYPE::init( bool buildModelAlgebraicFactory ) | |||
this->log("FluidMechanics","init", "start" ); | |||
this->timerTool("Constructor").start(); | |||
|
|||
if ( this->physics().empty() ) | |||
this->initPhysics( this->keyword(), this->modelProperties().models() ); | |||
#if 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be removed....
@@ -216,7 +216,10 @@ MixedPoissonElasticity<Dim,Order,G_Order,E_Order>::assembleF_Elasticity() | |||
for( auto const& pairMat : M_ElasticityModel->modelProperties().materials() ) | |||
{ | |||
auto material = pairMat.second; | |||
#if 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably an unfinished business
nl::json subPt; | ||
subPt.emplace( "time mode", std::string( (this->isStationary())?"Stationary":"Transient") ); | ||
p["Physics"] = subPt; | ||
p["Physics2"] = subPt; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Physic2?
nl_case_t = cfpdes(dim=dim) | ||
simulate(nl_case_t) | ||
return not nl_case_t.checkResults() | ||
# def test_cfpde_nlthermoelectric(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently, can not work in seq and parallel together (sometimes work, sometimes not). I have also a strange behavior when the number of proc increase, maybe a bug somewhere, to investigate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was working in the automated tests via ctest in both seq and par cases.
when did you see the problem ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because the mesh is repartitioned and this partitioning is not always the same. The field loaded can be wrong (something crash if dofs are not compatible). Currently, in sequential we use a .msh and in // a partitioned mesh .json, both case can't be take into account in one config.
Another issue is when the number of proc increases (for example > 20 ), there is something wrong in the automatic diff I think but not very clear, I need to continue my investigation.
@prudhomm I didn't see that you have approved the PR, so I will merge when the CI will be finished. I need to finish the doc, next week |
sorry I thought I pinged you about that. took me some time to go through all the code |
@vincentchabannes we have this issue in this PR: https://buildkite.com/feelpp/feelpp/builds/4185#11a70d25-8a72-4960-9f96-44580bdd3359/265-505 |
WARNING : these changes has required to fix all json (or almost). This is the first phase. The next phase will be full refactoring of boundaryconditions