techstaff:slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
techstaff:slurm [2018/05/04 12:38] – kauffman | techstaff:slurm [2018/05/04 12:41] – [Paths] kauffman | ||
---|---|---|---|
Line 268: | Line 268: | ||
Example when using tensorflow: | Example when using tensorflow: | ||
- | Give the file ' | + | Given the file ''%%f%%'': |
< | < | ||
# | # | ||
Line 277: | Line 277: | ||
Here we can see that no GPU was allocated to us because we did not specify the '' | Here we can see that no GPU was allocated to us because we did not specify the '' | ||
< | < | ||
- | kauffman3@bulldozer: | + | user@bulldozer: |
- | | + | user@gpu3:~$ ./f 2>&1 | grep physical_device_desc |
- | | + | user@gpu3:~$ |
</ | </ | ||
If we request only 1 GPU. | If we request only 1 GPU. | ||
< | < | ||
- | kauffman3@bulldozer: | + | user@bulldozer: |
- | | + | user@gpu3:~$ ./f 2>&1 | grep physical_device_desc |
- | physical_device_desc: | + | physical_device_desc: |
</ | </ | ||
If we request 2 GPUs. | If we request 2 GPUs. | ||
< | < | ||
- | kauffman3@bulldozer: | + | user@bulldozer: |
- | kauffman3@gpu3:~$ ./f 2>&1 | grep physical_device_desc | + | user@gpu3:~$ ./f 2>&1 | grep physical_device_desc |
- | physical_device_desc: | + | physical_device_desc: |
- | physical_device_desc: | + | physical_device_desc: |
</ | </ | ||
If we request more GPUs then are available. | If we request more GPUs then are available. | ||
< | < | ||
- | | + | kauffman3@bulldozer: |
- | srun: error: Unable to allocate resources: Requested node configuration is not available | + | srun: error: Unable to allocate resources: Requested node configuration is not available |
</ | </ | ||
Line 321: | Line 321: | ||
===== Paths ===== | ===== Paths ===== | ||
- | You will need to add the following to your $PATH and $LD_LIBRARY_PATH. | + | You will need to add the following to your '' |
export PATH=$PATH:/ | export PATH=$PATH:/ |
/var/lib/dokuwiki/data/pages/techstaff/slurm.txt · Last modified: 2021/01/06 16:13 by kauffman