MantisBT - CMake
View Issue Details
0013998CMakeModulespublic2013-03-10 11:132016-06-10 14:31
Orion Poplawski 
Kitware Robot 
normalminoralways
closedmoved 
CMake 2.8.10.2 
 
0013998: FindMPI MPIEXEC_MAX_NUMPROCS is hard coded to 2
In FindMPI, MPIEXEC_MAX_NUMPROCS is hard coded to 2. The seems very confusing given its description:

set(MPIEXEC_MAX_NUMPROCS "2" CACHE STRING "Maximum number of processors available to run MPI applications.")

It seems that it should either try to figure out the number of available cores to state that it is explicitly meant to be overridden.

It isn't mentioned at all in the docs.
No tags attached.
Issue History
2013-03-10 11:13Orion PoplawskiNew Issue
2013-03-11 15:48Robert MaynardNote Added: 0032584
2016-06-10 14:28Kitware RobotNote Added: 0042245
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0032584)
Robert Maynard   
2013-03-11 15:48   
This was added back in for backwards compatibility it seems on commit 5b3e62c7bc11eab36548.

The majority of projects that use this variable do so when launching MPI tests. The documentation should
at minimum state that the variable is actually set to the minimum number of processors to be considered a parallel job, which is 2.
(0042245)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.