Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2020-07-06 12:56:12
Size: 4519
Editor: semin
Comment:
Revision 3 as of 2020-07-06 13:18:41
Size: 4375
Editor: semin
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
=== Direct installation
===
   * Dowload the latest version from the GIT repository
<pre>
git clone https://github.com/valandil/complex_bessel.git</pre>
   * Compile the code
<pre>
cd complex_bessel ; bash build.sh</pre>
=== Direct installation ===
   * Dowload the latest version from the GIT repository {{{git clone https://github.com/valandil/complex_bessel.git}}}
   * Compile the code {{{cd complex_bessel ; bash build.sh}}}
Line 18: Line 15:
== Xerus, a general purpose tensor library
==
== Xerus, a general purpose tensor library ==
Line 23: Line 19:
=== Direct installation
===
   * Download the needed dependent packages (see ["https://libxerus.org/md_building_xerus.html"]). On Ubuntu these packages can be downloaded using
<pre>sudo apt-get install binutils-dev libopenblas-dev libsuitesparse-dev liblapacke-dev</pre>
   * Get the latest development v
ersion of the code
<pre>
git clone https://git.hemio.de/xerus/xerus.git ; cd xerus ; git checkout v3</pre>
   * Copy the default configuration file and edit it
<pre>
cp config.mk.default config.mk ; $(EDITOR) config.mk</pre>
   * Test the library to be sure that all dependences and options are correct
<pre>
make test -j4</pre>
   * Compile and install the library. Depending on where you want to install it, you might need admin rights.
<pre>
make shared -j4 ; make install</pre>
=== Direct installation ===
   * Download the needed dependent packages (see [[https://libxerus.org/md_building_xerus.html]]). On Ubuntu these packages can be downloaded using {{{sudo apt-get install binutils-dev libopenblas-dev libsuitesparse-dev liblapacke-dev}}}
   * Get the latest development version of the code {{{git clone https://git.hemio.de/xerus/xerus.git ; cd xerus ; git checkout v3}}}
   * Copy the default configuration file and edit it {{{cp config.mk.default config.mk ; $(EDITOR) config.mk}}}
   * Test the library to be sure that all dependences and options are correct {{{make test -j4}}}
   * Compile and install the library. Depending on where you want to install it, you might need admin rights. {{{make shared -j4 ; make install}}}
Line 36: Line 26:
== alglib - cross-platform numerical analysis and data processing library
==
== alglib - cross-platform numerical analysis and data processing library ==
Line 41: Line 30:
=== Installing packages in Debian, Ubuntu or Redhat
===
=== Installing packages in Debian, Ubuntu or Redhat ===
Line 44: Line 32:
For the Linux distributions Debian or Ubuntu install the package For the Linux distributions Debian or Ubuntu install the package {{{libalglib-dev}}}
Line 46: Line 34:
<pre>libalglib-dev</pre>


== ftsh - fast transform for spherical harmonics library
==
== ftsh - fast transform for spherical harmonics library ==
Line 55: Line 39:
=== Installation of FFTW2
 ===
 
* Download it at ["http://www.fftw.org/download.html"], using <pre>wget http://www.fftw.org/fftw-2.1.5.tar.gz</pre>
   * Uncompress it <pre>tar -zxf fftw-2.1.5.tar.gz</pre>
   * Go inside the folder with <pre>cd fftw-2.1.5</pre>
   * Configure and install with <pre>./configure --prefix=$HOME/fftw2 ; make ; make install</pre> You can change the installation path 
=== Installation of FFTW2 ===
   * Download it at [[http://www.fftw.org/download.html]], using {{{wget http://www.fftw.org/fftw-2.1.5.tar.gz}}}
   * Uncompress it {{{tar -zxf fftw-2.1.5.tar.gz}}}
   * Go inside the folder with {{{cd fftw-2.1.5}}}
   * Configure and install with {{{./configure --prefix=$HOME/fftw2 ; make ; make install}}} You can change the installation path.
Line 62: Line 45:
=== Installation of FTSH
 ===
 
* Download it at ["http://www.ohiouniversityfaculty.com/mohlenka/research/libftsh/"], using <pre>wget http://www.ohiouniversityfaculty.com/mohlenka/research/libftsh.tar</pre>
   * Uncompress it <pre>tar xf libftsh.tar</pre>
   *
Go inside the folder with <pre>cd libftsh2012_4_6</pre>
=== Installation of FTSH ===
   * Download it at [[http://www.ohiouniversityfaculty.com/mohlenka/research/libftsh/]], using {{{wget http://www.ohiouniversityfaculty.com/mohlenka/research/libftsh.tar}}}
   * Uncom
press it {{{tar xf libftsh.tar}}}
   * Go inside the folder with {{{cd libftsh2012_4_6}}}
Line 68: Line 50:
<pre>10c10    {{{
10c10
Line 79: Line 62:
> LIBLINK = $(HOME)/fftw2/lib/librfftw.a $(HOME)/fftw2/lib/libfftw.a -lm</pre>
   * Compile it with <pre>make</pre>.
> LIBLINK = $(HOME)/fftw2/lib/librfftw.a $(HOME)/fftw2/lib/libfftw.a -lm
   }}}

   * Compile it with {{{make}}}.
Line 82: Line 66:
=== Activation
===
=== Activation ===
Line 86: Line 69:
<pre> {{{
Line 91: Line 74:
</pre> }}}
Line 93: Line 76:
== FFTW3 - Fast Fourier Transform library
==
== FFTW3 - Fast Fourier Transform library ==
Line 98: Line 80:
=== Installing packages in Debian, Ubuntu or Redhat
===
=== Installing packages in Debian, Ubuntu or Redhat ===
Line 101: Line 82:
For the Linux distributions Debian or Ubuntu install the package For the Linux distributions Debian or Ubuntu install the package {{{libfftw3-dev}}}
Line 103: Line 84:
<pre>libfftw3-dev</pre>

===
Direct installation
 ===
   * D
ownload it at ["http://www.fftw.org/download.html"], using <pre>wget http://www.fftw.org/fftw-3.3.8.tar.gz</pre>
   * Uncompress it <pre>tar -zxf fftw-3.3.8.tar.gz</pre>
   * Go inside the folder with <pre>cd fftw-3.3.8</pre>
   * Configure and install with <pre>./configure --prefix=$HOME/fftw2 ; make ; make install</pre> You can change the installation path
=== Direct installation ===
   * Download it at [[http://www.fftw.org/download.html]], using {{{wget http://www.fftw.org/fftw-3.3.8.tar.gz}}}
   * Uncompress it {{{tar -zxf fftw-3.3.8.tar.gz}}}
   * Go inside the folder with {{{cd fftw-3.3.8}}}
   * Configure and install with {{{./configure --prefix=$HOME/fftw3 ; make ; make install}}} You can change the installation path

Installation guide : optional libraries

complex_bessel, library used for using complex-valued Bessel functions.

Concepts uses complex_bessel, a library written by Joey Dumont and Denis Gagnon to handle with complex-valued (see https://blog.joey-dumont.ca/complex_bessel/).

Direct installation

  • Dowload the latest version from the GIT repository git clone https://github.com/valandil/complex_bessel.git

  • Compile the code cd complex_bessel ; bash build.sh

Library will be in the build folder, whereas include files will be in the include folder.

Xerus, a general purpose tensor library

Complex uses Xerus, a general purpose tensor library written by Benjamin Huber and Sebastian Wolf.

Direct installation

  • Download the needed dependent packages (see https://libxerus.org/md_building_xerus.html). On Ubuntu these packages can be downloaded using sudo apt-get install binutils-dev libopenblas-dev libsuitesparse-dev liblapacke-dev

  • Get the latest development version of the code git clone https://git.hemio.de/xerus/xerus.git ; cd xerus ; git checkout v3

  • Copy the default configuration file and edit it cp config.mk.default config.mk ; $(EDITOR) config.mk

  • Test the library to be sure that all dependences and options are correct make test -j4

  • Compile and install the library. Depending on where you want to install it, you might need admin rights. make shared -j4 ; make install

alglib - cross-platform numerical analysis and data processing library

Installation of this library is optional since there is an already embedded version inside Concepts.

Installing packages in Debian, Ubuntu or Redhat

For the Linux distributions Debian or Ubuntu install the package libalglib-dev

ftsh - fast transform for spherical harmonics library

Concepts uses FTSH, a library written by Martin J. Mohlenkamp to handle with fast transform for spherical harmonics. It relies on the version 2 of the FFTW library.

Installation of FFTW2

  • Download it at http://www.fftw.org/download.html, using wget http://www.fftw.org/fftw-2.1.5.tar.gz

  • Uncompress it tar -zxf fftw-2.1.5.tar.gz

  • Go inside the folder with cd fftw-2.1.5

  • Configure and install with ./configure --prefix=$HOME/fftw2 ; make ; make install You can change the installation path.

Installation of FTSH

  • Download it at http://www.ohiouniversityfaculty.com/mohlenka/research/libftsh/, using wget http://www.ohiouniversityfaculty.com/mohlenka/research/libftsh.tar

  • Uncompress it tar xf libftsh.tar

  • Go inside the folder with cd libftsh2012_4_6

  • Edit the file make.inc to set up compiler and relative path to the FFTW2 library. Here are for example the local changes on a Ubuntu 18.04 system

    10c10
    < FORTRAN  = g77
    ---
    > FORTRAN  = gfortran
    41a42
    > CFLAGS= -I$(HOME)/fftw2/include -fPIC
    52c53
    < LIBLINK= -lrfftw -lfftw -lm
    ---
    > #LIBLINK= -lrfftw -lfftw -lm
    63a65
    > LIBLINK =  $(HOME)/fftw2/lib/librfftw.a $(HOME)/fftw2/lib/libfftw.a -lm
  • Compile it with make.

Activation

The file boost-build-modules.jam should be modified in the following

modules.poke : FFTW_PATH             : /home/semin/fftw2/lib ;
modules.poke : FFTW_INCLPATH         : /home/semin/fftw2/include ;
modules.poke : FTSH_PATH              : /home/semin/libftsh2012_4_6 ;
modules.poke : FTSH_INCLPATH          : /home/semin/libftsh2012_4_6 ;

FFTW3 - Fast Fourier Transform library

Concepts uses FFTW3, a library written by Matteo Frigo and Steven G. Johnson and that is used to compute Discrete Fourier Transforms.

Installing packages in Debian, Ubuntu or Redhat

For the Linux distributions Debian or Ubuntu install the package libfftw3-dev

Direct installation

  • Download it at http://www.fftw.org/download.html, using wget http://www.fftw.org/fftw-3.3.8.tar.gz

  • Uncompress it tar -zxf fftw-3.3.8.tar.gz

  • Go inside the folder with cd fftw-3.3.8

  • Configure and install with ./configure --prefix=$HOME/fftw3 ; make ; make install You can change the installation path

numa: Concepts/installationExtra (last edited 2020-07-06 13:18:41 by semin)