[mpich-discuss] MPI jobs don't have access to CUDA devices

Jayesh Krishna jayesh at mcs.anl.gov
Tue Feb 22 11:02:03 CST 2011


Hi,
 You are right, the launched processes do not have an interactive console session. This prevents the MPI processes from using GPUs. This is a feature that can be added in future (Although I don't have a timeline for it).
 You can however use GPUs on a local node using the "-localroot" option of mpiexec.

Regards,
Jayesh

----- Original Message -----
From: "Florin Ciubotaru" <florinciu at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Tuesday, February 22, 2011 10:53:45 AM
Subject: [mpich-discuss] MPI jobs don't have access to CUDA devices


Hi, 


I'm running mpi jobs on a small cluster that has several machines with CUDA enabled devices. I'm trying to add gpu acceleration to my computations, but I'm having issues executing CUDA code while running the processes as an mpi job. The gpu logic works fine when the application is executed as an independent process. 
I guess there's something in the way smpd launches the job and prevents the process from properly accessing the CUDA driver(and device). Most probable cause is that smpd is running as a Windows service and not as an interactive console session. Is there a way to tweak smpd or mpiexec in order to have CUDA access for the jobs? 


Thanks, 
Florin Ciubotaru 




_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list