[Insight-developers] CMake detect system memory size

Kevin H. Hobbs hobbsk at ohio.edu
Tue Aug 23 10:41:22 EDT 2011


On 08/23/2011 08:49 AM, Bradley Lowekamp wrote:
> Hello,
> 
> Is there any way for cmake to detect the amount of memory a system has?
> 
> We have re-added the cmake variable ITK_COMPUTER_MEMORY_SIZE. This enables certain big-memory tests. It would be great if this could automatically be set.
> 
> Any ideas?
> 

If CMake can't do it on it's own I wonder if any of the technology from
the open-mpi sub-project hwloc could be of use.


http://www.open-mpi.org/projects/hwloc/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110823/40cc6cfd/attachment.pgp>


More information about the Insight-developers mailing list