Salome HOME
Bug correction for cluster detection.
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 9 Mar 2016 07:32:08 +0000 (08:32 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 24 Mar 2016 17:32:20 +0000 (18:32 +0100)
src/evalyfx/YACSEvalResource.cxx

index 619ec2fe621295c84fbe0f69b944160f9db16544..84b54912885b113bc5b99b8de792a68e6371c7d4 100644 (file)
@@ -393,7 +393,7 @@ bool YACSEvalListOfResources::isInteractive() const
           throw YACS::Exception(oss.str());
         }
       const ParserResourcesType& elt((*it2).second);
-      status[ii]=(elt.ClusterInternalProtocol==sh || elt.ClusterInternalProtocol==rsh || elt.ClusterInternalProtocol==ssh);
+      status[ii]=(elt.Batch==none);
     }
   std::size_t trueRet(std::count(status.begin(),status.end(),true)),falseRet(std::count(status.begin(),status.end(),false));
   if(trueRet==sz && falseRet==0)