GSvit documentation

open source FDTD solver with GPU support

User Tools

Site Tools


start:installation

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 Both sides next revision
start:installation [2018/10/12 15:17]
rslesinger [Installing from source tarball]
start:installation [2018/10/12 15:20]
rslesinger [Installing from source tarball]
Line 54: Line 54:
 </​code>​ </​code>​
  
-You can specify the path where to install GSvit by a configure option ''​--prefix=path''​.+You can specify the path where to install GSvit by a configure option ''​%%--%%prefix=path''​.
  
 A binary RPM can also be built from the source code tarball directly by issuing the following command: A binary RPM can also be built from the source code tarball directly by issuing the following command:
Line 61: Line 61:
 == Using a non-packaged CUDA installation == == Using a non-packaged CUDA installation ==
  
-The //PATH// variable is used to search for Nvidia'​s compiler NVCC. In order to find it, you need to set this variable accordingly,​ e.g. ''​export PATH=/​usr/​local/​cuda-X.Y/​bin:​$PATH''​. Alternatively,​ you can provide path by option ''​--with-cuda=path''​ to ''​./​configure''​.+The //PATH// variable is used to search for Nvidia'​s compiler NVCC. In order to find it, you need to set this variable accordingly,​ e.g. ''​export PATH=/​usr/​local/​cuda-X.Y/​bin:​$PATH''​. Alternatively,​ you can provide path by option ''​%%--%%with-cuda=path''​ to ''​./​configure''​.
  
 Please don't forget to adjust also your //​LD_LIBRARY_PATH//​ variable, e.g. by ''​export LD_LIBRARY_PATH=/​usr/​local/​cuda-X.Y/​lib64:/​usr/​local/​cuda-X.Y/​lib:​$LD_LIBRARY_PATH''​. Or you can update the ''/​etc/​ld.so.conf''​ file to contain the CUDA lib directory, however this needs root's permissions. Please don't forget to adjust also your //​LD_LIBRARY_PATH//​ variable, e.g. by ''​export LD_LIBRARY_PATH=/​usr/​local/​cuda-X.Y/​lib64:/​usr/​local/​cuda-X.Y/​lib:​$LD_LIBRARY_PATH''​. Or you can update the ''/​etc/​ld.so.conf''​ file to contain the CUDA lib directory, however this needs root's permissions.
start/installation.txt ยท Last modified: 2021/02/08 11:15 by pgrolich