ITS/High Performance Computing Cluster/WMAP 5yr likelihood code

[edit] How to install WMAP 5yr likelihood code

  • download the code, untar it and change to its directory
pmv9@master:~> wget http://lambda.gsfc.nasa.gov/data/map/dr3/dcp/wmap_likelihood_sub_v3p2.tar.gz
--09:55:36--  http://lambda.gsfc.nasa.gov/data/map/dr3/dcp/wmap_likelihood_sub_v3p2.tar.gz
           => `wmap_likelihood_sub_v3p2.tar.gz'
Resolving lambda.gsfc.nasa.gov... 128.183.175.60
Connecting to lambda.gsfc.nasa.gov|128.183.175.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 400,825,770 (382M) [application/x-tar]

100%[==============================>] 400,825,770    5.20M/s    ETA 00:00

09:56:53 (4.97 MB/s) - `wmap_likelihood_sub_v3p2.tar.gz' saved [400825770/400825770]

pmv9@master:~> tar -xzf wmap_likelihood_sub_v3p2.tar.gz 
pmv9@master:~> cd likelihood_v3
pmv9@master:~/likelihood_v3> 
  • load the intel compiler modules VERY IMPORTANT: the intel compilers v10.0.025 produce buggy code with CosmoMC, so use version 8.1-64 for now.
  • load the intel math kernel libraries
pmv9@master:~/likelihood_v3> module load intel-compilers-8.1-64
pmv9@master:~/likelihood_v3> module load mkl-10.0.3.020
pmv9@master:~/likelihood_v3>
  • adjust the Makefile
    • set the path to cfitsio
    • use the proper linking flags for mkl
#Makefile --- WMAP Likelihood code...

#CFITSIO=/usr/local
CFITSIO=/home/pmv9/cfitsio
.
.
.
F90    = ifort
FFLAGS = -O $(WMAPFLAGS)
INCS   = -I. -I$(CFITSIO)/include
LIBS   = -L. -L$(CFITSIO) -lcfitsio -L$(MKL_HOME)/lib/em64t -lmkl_intel_lp64 -lmkl_intel_thread 
-lmkl_core -lguide -lpthread

pmv9@master:~/likelihood_v3> make
ifort -O -DOPTIMIZE -I. -I/home/pmv9/opt/include -c -o read_archive_map.o
read_archive_map.f90
read_archive_map.f90(56): (col. 42) remark: LOOP WAS VECTORIZED.
read_archive_map.f90(57): (col. 42) remark: LOOP WAS VECTORIZED.
.
.
.
/usr/local/intel/fce/10.0.025/lib/libimf.so: warning: warning: feupdateenv is not implemented
and will always fail
pmv9@master:~/likelihood_v3> 

Case Referrers

Blog Entries
This page has been accessed 138 times.
This page was last modified 16:02, July 30, 2009 by Pascal Vaudrevange.
About | Disclaimers