CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

[cosmomc] Error installing cosmomc with WMAP7, gfortran
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Noble P Abraham



Joined: 31 Jul 2008
Posts: 9
Affiliation: School of Pure and Applied Physics, Mahatma Gandhi University, Kottayam

PostPosted: June 21 2010  Reply with quote

I am trying to install cosmomc with the following Makefile(only parts posted).
I could make likelihood without erros at /home/mcmc/wmap_likelihood_full_v4/likelihood_v4
I have Intel mkl initialized

Code:

##Uncomment the next line to include dr7 LRG
EXTDATA =
#EXTDATA = LRG

#set WMAP empty not to compile with WMAP
WMAP = /home/mcmc/wmap_likelihood_full_v4/likelihood_v4

#Only needed for WMAP
cfitsio = /usr

#GSL only needed for DR7 LRG
#GSLPATH = /home/aml1005/libs/gsl

IFLAG = -I
INCLUDE=

#GFortran: if pre v4.3 add -D__GFORTRAN__
F90C     = gfortran
FFLAGS = -O2 -ffree-form -x f95-cpp-input
LAPACKL = -lmkl -lmkl_lapack -lmkl_core -lguide -lpthread  #-Wl,-framework -Wl,accelerate

PROPOSE = propose.o
CLSFILE = CMB_Cls_simple.o

#Can use params_H if you prefer more generic parameters
PARAMETERIZATION = params_CMB.o

F90FLAGS = -DMATRIX_SINGLE $(FFLAGS) $(IFLAG)../camb $(INCLUDE)
LINKFLAGS = -L../camb -lcamb $(LAPACKL)

DISTFILES = utils.o ParamNames.o Matrix_utils.o settings.o GetDist.o

OBJFILES= utils.o ParamNames.o Matrix_utils.o settings.o IO.o cmbtypes.o Planck_like.o \
   cmbdata.o WeakLen.o bbn.o bao.o lrggettheory.o mpk.o supernovae.o HST.o SDSSLy-a-v3.o \
   $(CLSFILE) paramdef.o $(PROPOSE) $(PARAMETERIZATION) calclike.o \
   conjgrad_wrapper.o EstCovmat.o postprocess.o MCMC.o driver.o \

ifeq ($(EXTDATA),LRG)
F90FLAGS += -DDR71RG
OBJFILES += bsplinepk.o
GSLINC = -I$(GSLPATH)/include
LINKFLAGS += -L$(GSLPATH)/lib -lgsl -lgslcblas
endif

ifneq ($(WMAP),)
F90FLAGS += $(IFLAG)$(cfitsio)/include $(IFLAG)$(WMAP)
LINKFLAGS +=  -L$(cfitsio)/lib -L$(WMAP) -lcfitsio

OBJFILES += $(WMAP)/read_archive_map.o \
   $(WMAP)/read_fits.o \
   $(WMAP)/healpix_types.o \
   $(WMAP)/WMAP_7yr_options.o \
   $(WMAP)/WMAP_7yr_util.o \
   $(WMAP)/WMAP_7yr_tt_pixlike.o \
   $(WMAP)/WMAP_7yr_teeebb_pixlike.o \
   $(WMAP)/WMAP_7yr_likelihood.o \
   $(WMAP)/WMAP_7yr_gibbs.o \
   $(WMAP)/WMAP_7yr_tt_beam_ptsrc_chisq.o \
   $(WMAP)/br_mod_dist.o
else
F90FLAGS += -DNOWMAP
endif ............






The error that I get is the following

Code:
gfortran -DMATRIX_SINGLE -O2 -ffree-form -x f95-cpp-input  -I../camb  -I/usr/include -I/home/mcmc/wmap_likelihood_full_v4/likelihood_v4  -c MCMC.f90
gfortran -DMATRIX_SINGLE -O2 -ffree-form -x f95-cpp-input  -I../camb  -I/usr/include -I/home/mcmc/wmap_likelihood_full_v4/likelihood_v4  -c driver.F90
make: *** No rule to make target `/read_archive_map.o', needed by `cosmomc'.  Stop.



Something wrong with the Makefile?(Why it is not prefixing $(WMAP)?)
Or am I passing wrong arguments to gfortran?

My laptop is with Ubuntu 10.04(x86_64) and gfortran/gcc version is 4.4.3 (Ubuntu 4.4.3−4ubuntu5)
Back to top
View user's profile [ Hidden ]
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.