Commit e941ea89 authored by Chris Cantwell's avatar Chris Cantwell

Added a simple hostfile to allow us to force the number of available slots.

parent e65f0e32
......@@ -212,12 +212,13 @@ int main(int argc, char *argv[])
#ifdef NEKTAR_TEST_FORCEMPIEXEC
#else
if (file.GetNProcesses() > 1)
if (file.GetNProcesses() > 1)
#endif
{
system("echo 'localhost slots=12' > hostfile");
command += "@MPIEXEC@ @MPIEXEC_NUMPROC_FLAG@ "
+ boost::lexical_cast<string>(file.GetNProcesses())
+ " ";
+ " -hostfile hostfile ";
}
fs::path execPath = startDir / file.GetExecutable();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment