From ee510a72d975f8f6a49804b9c658067321e0b151 Mon Sep 17 00:00:00 2001 From: Van Dung Nguyen <vdg.nguyen@gmail.com> Date: Fri, 7 Jul 2017 01:02:42 +0200 Subject: [PATCH] use warning instead of error --- NonLinearSolver/nlsolver/nonLinearMechSolver.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/NonLinearSolver/nlsolver/nonLinearMechSolver.cpp b/NonLinearSolver/nlsolver/nonLinearMechSolver.cpp index 6f88f5b1d..6616d7cea 100644 --- a/NonLinearSolver/nlsolver/nonLinearMechSolver.cpp +++ b/NonLinearSolver/nlsolver/nonLinearMechSolver.cpp @@ -185,10 +185,9 @@ nonLinearMechSolver::~nonLinearMechSolver() } if(_ipf != NULL) delete _ipf; - if(!_microFlag) // only on the master solver? -->ok, we need to pass once only to finish everything (PETSc, SLEPc, ...) Msg::Exit(0); - } +} void nonLinearMechSolver::createRestartByTime(const int day,const int hour,const int minute,const int second) { @@ -751,7 +750,7 @@ void nonLinearMechSolver::init(){ } if(firsthostname) { - Msg::Error("File are moved on rank %d, hostname %s",Msg::GetCommRank(),vhostname[Msg::GetCommRank()]); + Msg::Warning("File are moved on rank %d, hostname %s",Msg::GetCommRank(),vhostname[Msg::GetCommRank()]); system("rm -rf previousScheme"); // reserved name folder ? system("mkdir previousScheme"); system("mv *.csv previousScheme"); // no support for other format for now @@ -765,7 +764,7 @@ void nonLinearMechSolver::init(){ } else { - Msg::Error("Nothing moved on rank %d, hostname %s",Msg::GetCommRank(),vhostname[Msg::GetCommRank()]); + Msg::Warning("Nothing moved on rank %d, hostname %s",Msg::GetCommRank(),vhostname[Msg::GetCommRank()]); } Msg::Barrier(); // delete array -- GitLab