Re: [AMBER] Select cuda ID device in PMEMD

From: Gonzalo Jimenez <gjimenez.chem.ucla.edu>
Date: Thu, 17 Nov 2011 19:43:48 -0800

Dear all,

Following on this, I have found this information from the nvidia forums, but
unfortunately, I cannot use nvidia-smi -c 1 in a script without root (or
enough) permissions...

Gonzalo

********************************************************************************************
# Nvidia forum states nvidia-smi must be running continuously in the
background for a GPU mode to stay "set"
nvidia-smi -l -i 30 -lsa &

# Now actually set the modes to exclusive use by one host thread per GPU...
sudo nvidia-smi -g 0 -c 1
sudo nvidia-smi -g 1 -c 1
sudo nvidia-smi -g 2 -c 1
sudo nvidia-smi -g 3 -c 1

# Now list the compute modes we just set...
nvidia-smi -g 0 -s
nvidia-smi -g 1 -s
nvidia-smi -g 2 -s
nvidia-smi -g 3 -s

-----Mensaje original-----
From: Gonzalo Jimenez
Sent: Thursday, November 17, 2011 7:14 PM
To: amber.ambermd.org
Subject: [AMBER] Select cuda ID device in PMEMD

Dear all,

Is there any chance to choose which cuda ID device to be used by
PMEMD.cuda.MPI? This could be good to avoid competition between different
jobs in the same node for the same GPUs.

Thanks a lot,

Gonzalo
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Nov 17 2011 - 20:00:05 PST
Custom Search