AngPow method
Installation
Requirements
Python modules:
time,os,shutil,mpi4pyLinux Ubuntu packages:
g++,libfftw3-dev,mpich
Installing
After cloning the PySSC git repository using the –recurse-submodules argument, move to the AngPow directory and compile the AngPow method: .. code-block:
git clone --recurse-submodules https://github.com/fabienlacasa/PySSC.git
cd PySSC/AngPow
make
Notes
By default, the code runs locally and uses the number of threads defined in the environment variable OMP_NUM_THREADS
You need to have a python executable called
python, or make a symbolic link to your python executableYou need to tell Class to go to high wavenumbers: add
'P_k_max_h/Mpc':20to the dictionnary fed ascosmo_Classinput
Use
The following example computes the full sky Sij matrix for top-hat redshift bins, using the AngPow method
By default AngPow uses a number of threads defined by the OMP_NUM_THREADS environment variable. You can localy set this variable by passing the Np parameter to PySSC.Sij:
For a parallel computation of PySSC with the AngPow method (using mpi4py), you must provide a path to a text file storing the IP addresses of all the nodes in the cluster network, and associated number of threads. An example is given in AngPow_tools/machinefile_example. On top of this machinefile path, the Number of threads Nn on which you want the AngPow routine to be run in mpi must be passed to PySSC.Sij:
Concerning the partial sky coverage, the same arguments as in the classical method can be used.