On 02/19/2015 02:58 PM, Nathan Hjelm wrote:
On Thu, Feb 19, 2015 at 12:16:49PM -0500, Eric Chamberland wrote:

On 02/19/2015 11:56 AM, Nathan Hjelm wrote:

If you have yama installed you can try:

Nope, I do not have it installed... is it absolutely necessary? (and would
it change something when it fails when I am root?)

Other question: In addition to "--with-cma" configure flag, do we have to
pass any options to "mpicc" when compiling/linking an mpi application to use
cma?

No. CMA should work out of the box. You appear to have a setup I haven't
yet tested. It doesn't have yama nor does it have the PR_SET_PTRACER
prctl. Its quite possible there are no restriction on ptrace in this
setup. Can you try changing the following line at
opal/mca/btl/vader/btl_vader_component.c:370 from:

bool cma_happy = false;

to

bool cma_happy = true;


ok! (as of the officiel release, this is line 386.)

and let me know if that works. If it does I will update vader to allow
CMA in this configuration.

Yep! It now works perfectly. Testing with https://computing.llnl.gov/tutorials/mpi/samples/C/mpi_bandwidth.c, on my own computer (dual Xeon), I have this:

Without CMA:

***Message size:  1000000 *** best  /  avg  / worst (MB/sec)
   task pair:    0 -    1:    8363.52 / 7946.77 / 5391.14

with CMA:
   task pair:    0 -    1:    9137.92 / 8955.98 / 7489.83

Great!

Now I have to bench my real application... ;-)

Thanks!

Eric

Reply via email to