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
Previous revision
Next revision Both sides next revision
start:installation [2018/10/12 11:19]
rslesinger
start:installation [2018/10/12 15:22]
rslesinger [Download]
Line 4: Line 4:
 ==== Download ==== ==== Download ====
  
-GSvit can be downloaded as stable version, which is recommended,​ either as binary +GSvit can be downloaded as stable version, which is recommended,​ either as a Windows ​binary ​installer ​or as source code. A current development version can be also obtained from Subversion repository, however this is not recommended as code under development might behave unexpectedly.
-package for many different operating systems ​or as source code. A current development +
-version can be also obtained from Subversion repository, however this is not recommended +
-as code under development might behave unexpectedly. +
-See [[http://​gsvit.net/​download.php|GSvit download pages]] for more details. +
  
 +Download links can be found at [[http://​gsvit.net/​download.php|GSvit download pages]].
 ==== Binary installation ==== ==== Binary installation ====
  
Line 35: Line 31:
 === Linux === === Linux ===
  
-We already ​precompiled ​the source code for several distributions via [[https://​build.opensuse.org|openSUSE Build Service]]. However, these binaries ​are compiled without GPU support. The build is performed on the following distros (i586 and x86_64 architectures):​ +Due to process complexity, ​precompiled ​packages prepared using openSUSE Build Service are no longer provided.
-  * CentOS-6 +
-  * CentOS-7 +
-  * Fedora 20 +
-  * Fedora 21 +
-  * RHEL-6 +
-  * SLE 11 SP3 +
-  * SLE 12 +
-  * Scientific Linux 7 +
-  * openSUSE 11.4 +
-  * openSUSE 12.2 +
-  * openSUSE 12.3 +
-  * openSUSE 13.1 +
-  * openSUSE 13.2 +
-  * openSUSE Factory  +
- +
-The precompiled RPMs are available from the [[http://​software.opensuse.org/​package/​gsvit|home:​miraval]] project. Please note that the build might succeed also on some other distribution. We just didn't try it. +
- +
-The GSvit package is also dependent on Gwyddion'​s libraries. So you need first to install this package. You can download and install it using procedures described on the official [[http://​gwyddion.net/​download.php|Gwyddion]] pages or you can use the precompiled binaries hosted on the [[http://​software.opensuse.org/​package/​gsvit|home:​miraval]] project +
  
 ==== Installing from source tarball ==== ==== Installing from source tarball ====
Line 73: Line 50:
 </​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 80: Line 57:
 == 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.
Line 86: Line 63:
 == Gwyddion == == Gwyddion ==
  
-You also need to have Gwyddion open source software installed to provide output to .gwy files. If you installed Gwyddion in a nonstandard location, you have to set up the //​PKG_CONFIG_PATH//​ variable, e.g. by  ''​export PKG_CONFIG_PATH=/​home/​username/​somedir/​gwyddion-X.Y/​lib/​pkgconfig:​$PKG_CONFIG_PATH''​.+GSvit is also dependent on Gwyddion'​s libraries, so you need first to install this software. You can download and install it using procedures described on the official [[http://​gwyddion.net/​download.php|Gwyddion download]]. ​You also need to have Gwyddion open source software installed to provide output to .gwy files. 
 + 
 +If you installed Gwyddion in a nonstandard location, you have to set up the //​PKG_CONFIG_PATH//​ variable, e.g. by  ''​export PKG_CONFIG_PATH=/​home/​username/​somedir/​gwyddion-X.Y/​lib/​pkgconfig:​$PKG_CONFIG_PATH''​.
  
 The software has primarily been tested on openSUSE, Fedora and Debian, but hopefully should run on any system with CUDA and Gwyddion. The software has primarily been tested on openSUSE, Fedora and Debian, but hopefully should run on any system with CUDA and Gwyddion.
Line 101: Line 80:
 ''​svn checkout svn:​%%//​%%svn.code.sf.net/​p/​gsvit/​code/​trunk gsvit''​. For Windows, we have good experience with TortoiseSVN as a Subversion client. ''​svn checkout svn:​%%//​%%svn.code.sf.net/​p/​gsvit/​code/​trunk gsvit''​. For Windows, we have good experience with TortoiseSVN as a Subversion client.
  
-Under Linux environment the software should be installed using the standard source installation procedure, except ''​./​configure''​ is replaced by ''​./​autogen.sh''​. Note that you can also pass arguments such as ''​--prefix=path''​.+Under Linux environment the software should be installed using the standard source installation procedure, except ''​./​configure''​ is replaced by ''​./​autogen.sh''​. Note that you can also pass arguments such as ''​%%--%%prefix=path''​.
  
 Under Windows environment we use MS Visual Studio 2015, and we can provide a solution and project files together with all the necessary dependencies upon request. This MSVC version is able to compile 64-bit binaries, and indeed we succeded to complete the build. However, the 64-bit XSvit binary behaves oddly so we decided not to publish GSvit-x64 for now. We plan to put these together with all dependencies in the svn repository. ​ Under Windows environment we use MS Visual Studio 2015, and we can provide a solution and project files together with all the necessary dependencies upon request. This MSVC version is able to compile 64-bit binaries, and indeed we succeded to complete the build. However, the 64-bit XSvit binary behaves oddly so we decided not to publish GSvit-x64 for now. We plan to put these together with all dependencies in the svn repository. ​
start/installation.txt · Last modified: 2021/02/08 11:15 by pgrolich