]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Adding walltime to multinode parameters
authorYOANN AUDOUIN <B61570@dsp1062659>
Thu, 7 Sep 2023 08:10:46 +0000 (10:10 +0200)
committerYOANN AUDOUIN <B61570@dsp1062659>
Thu, 7 Sep 2023 08:10:46 +0000 (10:10 +0200)
src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx

index 5d3d1f0ce99c8555d706b4f9be52c87c44825baa..ad34d3262725de4d1bc7989a8e3076e28e8c0c5e 100644 (file)
@@ -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);
   }