Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Application::IDo::Exec ( CString  prog,
CString  arguments,
int  ncpu = 0 
) [inline]

Definition at line 1575 of file mainIDo.cpp.

References CallSystem(), GetExtraArguments(), GetMpiCallString(), ILOG_INFO, mDryRun, mUseMpi, and Impala::StringResolveEnv().

Referenced by ClassifyCombineExec(), ClassifyExec(), ClusterSiftExec(), ComputeAverages(), ExportConceptsExec(), FeatureExec(), FeatureIndexExec(), FeatureIndexSiftExec(), FeatureSiftExec(), FrameHashes(), Frames(), IExec(), ImportConceptsExec(), Keyframes(), ModelExec(), ModelTestW(), PrecomputeExec(), and ShotSegmenter().

01576     {
01577         String args = StringResolveEnv(arguments);
01578         String extraArgs = GetExtraArguments();
01579 
01580         String prefix = prog;
01581         if (mUseMpi)
01582         {
01583             prefix = GetMpiCallString(prog, ncpu);
01584         }
01585         String cmdLine = prefix + " " + args + " " + extraArgs;
01586         if (mDryRun)
01587         {
01588             std::cout << cmdLine << std::endl;
01589         }
01590         else
01591         {
01592             ILOG_INFO("Exec: " << cmdLine);
01593             CallSystem(cmdLine);
01594         }
01595     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:14:24 2011 for ImpalaSrc by  doxygen 1.5.1