Download XSHELLS 1.2 : User Manual
Transcript
• a C++ compiler with OpenMP support, • an MPI library (with thread support), • the HDF5 library for post-processing and interfacing with paraview, • Python 3, with NumPy and matplotlib (Python 2.7 should also work), • a processor supporting the AVX instruction set. • Gnuplot, for real-time plotting. 1.3 Installation FFTW and SHTns must be installed first. FFTW comes already installed on many systems, but in order to get high performance, you should install it yourself, and use the optimization options that correspond to your machine (e.g. --enable-avx). Please refer to the FFTW installation guide. Note that it is possbile to use the intel MKL library instead of FFTW. To do so, you must configure both SHTns and XSHELLS with the --enable-mkl option. To install SHTns, get the latest version of SHTns, extract it and run: ./configure make make install This will install the serial version (without OpenMP) of SHTns, which is the one required for XSHELLS. If you do not have administrator privileges, you can use ./configure --prefix=$HOME to install it in your home directory. To choose another compiler than the default one, use ./configure CC=my-c-compiler. To install XSHELLS, grab the XSHELLS archive, extract it, and then run ./configure to automatically configure XSHELLS for your machine. If you have used the --prefix option when installing SHTns, you should pass the same one to configure for XSHELLS. Type ./configure --help to see available options, among which --disable-openmp and --disable-mpi. Before compiling, you need to setup the xshells.hpp configuration file (see next section). 2