Difference between revisions of "Sep 19, 2018 - Installing software"

From LSS Mocks
Jump to navigation Jump to search
Line 27: Line 27:
 
Download from [https://sourceforge.net/projects/healpix/]
 
Download from [https://sourceforge.net/projects/healpix/]
  
Run <code> ./configure </code>
+
Run <code>./configure</code>
  
 
Choose default choices unless otherwise stated.
 
Choose default choices unless otherwise stated.
Line 39: Line 39:
 
Choose 0 (exit)
 
Choose 0 (exit)
  
Add Healpix initialization to <code> ~/.bash_profile </code> (see output after Fortran initialization)
+
Add Healpix initialization to <code>~/.bash_profile</code> (see output after Fortran initialization)
  
Run <code> make </code>
+
Run <code>make</code>
  
 
Go for a coffee
 
Go for a coffee

Revision as of 00:48, 20 September 2018

Load modules

Add to ~/.bash_profile :

module load intel/intel-18\n
module load intelmpi/2018.1.163
module load openmpi/3.0.0-intel-18
module load gcc/7.3.0
module load python/2.7.14
#necessary to have Intel MPI working
export I_MPI_FABRICS=shm:tcp
export I_MPI_TCP_NETMASK=10.5.0.0

Install FITSIO

Download from [1]

Run ./configure

Run make

Install Healpix

Download from [2]

Run ./configure

Choose default choices unless otherwise stated.

Choose 3 (Fortran), ifort (F90 compiler), folder in which FITSIO was installed in the previous step (location of the cfitsio library).

Choose 4 (C++), 1 (basic_gcc configuration for C++ compilation)

Choose 5 (Python)

Choose 0 (exit)

Add Healpix initialization to ~/.bash_profile (see output after Fortran initialization)

Run make

Go for a coffee

Install modified Lenspix

Clone git repo https://github.com/louis-pham/modified_lenspix

Run make in src