Hi,
I am trying to install cosmomc in ubuntu. After installing cfitsio at /usr/local/lib, and downloading the likelihood software and data
and extracting them I modified the l
Makefile found in the directory likelihood_v3 as follows
I changed it to have
CFITSIO=/usr/local/lib
and then commented out the default options and changed them to
## NAG
F90 = gfortran
FFLAGS = -g -O2 [tex](WMAPFLAGS)
INCS = -I. -I[/tex](CFITSIO)/include -I/usr/lib/include
LIBS = -L. -L$(CFITSIO)/lib -L/usr/lib/lib -llapack -lcfitsio
Then I changed made some lines in WMAP_5yr_options.F90 look as follows:
character(len=*) ,parameter :: WMAP_data_dir = '/home/ruth/likelihood_v3/data/'
and
character(len=*), parameter :: gibbs_sigma_filename = '/home/ruth/likelihood_v3/data/lowlT/gibbs/sigmaEllsHkeChu_r5_fwhm5_2uK_maskr5kq85p0_sim5yr_finalwinfuncs_nomonopole.fits'
When I type make I get two errors
%%%%%%%%%%%%%%%%%%%%
character(len=*), parameter :: gibbs_sigma_filename = '/home/ruth/likelihood_v
1
Error: Constante de carácter sin terminar que comienza en (1)
%%%%%%%%%%%%%%%%%%%%%%%%
When translated it means a character constant which is not ended starts at 1.
Then the second error is
%%%%%%%%%%%%%%%%%%%%%%%%%%%
print *, "gibbs_sigma_filename = ", trim(gibbs_sigma_filename)
1
Error: El argumento 'string' del intrínseco 'trim' en (1) debe ser CHARACTER
%%%%%%%%%%%%%%%%%%%%%%
This one means the śtring' argument of the intrinsic 'trim' must be CHARACTER.
Help will be appreciated.
Ruth
syntax error in WMAP_5yr_options.F90 file
-
- Posts: 14
- Joined: January 02 2006
- Affiliation: University of the Basque Country
-
- Posts: 50
- Joined: March 26 2006
- Affiliation: DESY
- Contact:
syntax error in WMAP_5yr_options.F90 file
Probably you should add the option
to FFLAGS. gfortran has a default line-length of 132 characters even for free-form source-files, i.e. all characters after column 132 are truncated.
Code: Select all
-ffree-line-length-none