[mpich-discuss] MPI_Alloc_mem: optimized memory usage

Rajeev Thakur thakur at mcs.anl.gov
Fri Nov 7 13:08:59 CST 2008


In the sshm channel (scalable shared memory), which is now deprecated,
Alloc_mem allocated shared memory for use in one-sided communication. I
believe in other cases at present, Alloc_mem just calls malloc.

Rajeev 

> -----Original Message-----
> From: mpich-discuss-bounces at mcs.anl.gov 
> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of James S Perrin
> Sent: Friday, November 07, 2008 11:55 AM
> To: mpich
> Subject: [mpich-discuss] MPI_Alloc_mem: optimized memory usage
> 
> Hi,
> 	Are MPICH2 calls optimized for SMP/multi-core 
> architectures if I 
> allocate buffers using MPI_Alloc_mem()? I was reading the in 
> the MPI2.1 
> spec that MPI_Alloc_mem can be implemented to take advantage 
> of shared 
> memory pools when available meaning I can keep my code portable and 
> clean. Presumably this would only be available in ch3:ssm and nemesis 
> channels.
> 
> Regards
> James




More information about the mpich-discuss mailing list