From: YOANN AUDOUIN Date: Thu, 7 Sep 2023 08:10:46 +0000 (+0200) Subject: Adding walltime to multinode parameters X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=571f479e125b2ddb95e07e6f79f1642d8ce71adb;p=plugins%2Fnetgenplugin.git Adding walltime to multinode parameters --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx index 5d3d1f0..ad34d32 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx @@ -291,13 +291,13 @@ bool NETGENPlugin_NETGEN_3D_Remote::Compute(SMESH_Mesh& aMesh, if(method == ParallelismMethod::MultiThread){ params.push_back("--method=local"); } else if (method == ParallelismMethod::MultiNode){ - // TODO :See what parameters to handle in the end params.push_back("--method=cluster"); params.push_back("--resource="+aParMesh.GetResource()); params.push_back("--wc-key="+aParMesh.GetWcKey()); params.push_back("--nb-proc=1"); params.push_back("--nb-proc-per-node="+to_string(aParMesh.GetNbProcPerNode())); params.push_back("--nb-node="+to_string(aParMesh.GetNbNode())); + params.push_back("--walltime="+aParMesh.GetWalltime()); } else { throw SALOME_Exception("Unknown parallelism method "+method); }