GSvit documentation

open source FDTD solver with GPU support

User Tools

Site Tools


opt:graphics_cards

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
opt:graphics_cards [2018/08/31 08:47]
pklapetek
opt:graphics_cards [2018/08/31 08:57]
pklapetek
Line 13: Line 13:
  
 To check if the graphics card installed on your computer is suitable for GSvit calculations and if GSvit was installed with graphics card support at all, you can run the solver with parameter "test 0", e.g. on Linux system: To check if the graphics card installed on your computer is suitable for GSvit calculations and if GSvit was installed with graphics card support at all, you can run the solver with parameter "test 0", e.g. on Linux system:
 +
 <​html>​ <​html>​
-<code>+<pre>
 klapetek@pejsek:​~/​rungsvit/​bin>​ ./gsvit test 0 klapetek@pejsek:​~/​rungsvit/​bin>​ ./gsvit test 0
 Running GSvit tests at level 0 Running GSvit tests at level 0
Line 21: Line 22:
 Program is compiled with GPU support Program is compiled with GPU support
 Searching for available GPUs... Searching for available GPUs...
-Found GPUs+Found GPUs
 The Properties of the Device with ID 0 are The Properties of the Device with ID 0 are
 Device Name             : Tesla K40m Device Name             : Tesla K40m
Line 45: Line 46:
 Block Shared memory size: 49152 Block Shared memory size: 49152
 Max grid size           : 2147483647x65535x65535 Max grid size           : 2147483647x65535x65535
-Max threads dim         : 1024x1024x64 ​                                                                                                                                                                                                                                        ​ +Max threads dim         : 1024x1024x64 
-The Properties ​of the Device with ID 4 are                                                                                                                                                                                                                                      +</​pre>​ 
-Device Name             Tesla K20Xm                                                                                                                                                                                                                                          ​ +</​html>​ 
-Device Memory Size      : 1744371712 ​                                                                                                                                                                                                                                           + 
-Block Shared memory size: 49152                                                                                                                                                                                                                                                ​ +This means that you can use four different GPUs on this system (which does not usually happen on a standard computer). GSvit does not support use of all of them at once, but you can still run up to four different instances on different cards. The basic settings for using the GPU are therefore whether to use it at all (GPU directive in the parameter file) and eventually which one to use (UGPU directive in the parameter file). GPUs are numbered from 0, exactly the same way as what <​tt>​gsvit test 0</​tt>​ outputs, so these settings in the parameter file
-Max grid size           : 2147483647x65535x65535 ​                                                                                                                                                                                                                               + 
-Max threads dim         : 1024x1024x64 ​                                              +<​html>​ 
 +<tt> 
 +GPU<​br>​ 
 +1<br>
  
-</code>+<​br>​ 
 +UGPU<​br>​ 
 +0<​br>​ 
 +</tt>
 </​html>​ </​html>​
  
 +will run the calculation on the Tesla K40m card on our system.
  
  
opt/graphics_cards.txt · Last modified: 2018/09/04 17:24 by pklapetek