I am asking if there is any sample code for GPUDirect RDMA I can download. I am trying to use GPUDirect RDMA beta in the project accessing data on the GPUs of one computer from the GPUs of another computer. However, the User Manual (http://www.mellanox.com/page/products_dyn?product_family=116&mtag=gpudirecthttp://www.mellanox.com/page/products_dyn?product_family=116&mtag=gpudirect ) provides the bechmark MVAPICH2-GDR which has no source code yet. Do you know where we can download the sample code using verbs + CUDA to implement GPUDirect RDMA, so I can build our own project according to the source code?
The MVAPICH2-GDR is free, but not open source. If you need to have an MPI that is free and open source, you can use Open MPI as an alternative. Both MVAPICH2-GDR and Open MPI have CUDA aware and can support GPUDirect RDMA.
Thanks for your reply. Attached below are some question after reading and checking the materials you sent to me. I also sent those question to Mr. Scot Schultz, the director of HPC at Mellanox.
To build a simple template accessing data on the GPUs of one node from the GPUs of another GPUs, we want to run some benchmark code or testing code on the system to ensure GPUDirect RMDA works on our system, then to create the template code for the future use.
I am not able to open the link you gave me (git://git.openfabrics.org/~grockah/perftest.git http://git.openfabrics.org/~grockah/perftest.git ). Could you please show me another link if possible?
If you are looking for a CUDA + IB verbs level example, the ib_send_bw and ib_write_bw tests in perftest could serve as an example. A copy of the perftest can be found here: git://git.openfabrics.org/~grockah/perftest.git http://git.openfabrics.org/~grockah/perftest.git