cosmoMC Compilation problem (March 06 version)

 Posts: 5
 Joined: September 25 2004
 Affiliation: University of Illinois at Urbana Champaign
cosmoMC Compilation problem (March 06 version)
Hi,
I compiled cosmomc but on the program exits on running. The standard output I am getting is pasted below. It says it has been compiled without WMAP, though the warnings about obsolete interfaces are similar to the ones I got when I ran the wmap likelihood code (which gave the results).
Can you please help me in correcting this?
Thanks,
Rahul
OUTPUT:
Number of MPI processes: 6
2 Random seeds: 30008, 27290 rand_inst: 3
3 Random seeds: 30208, 27290 rand_inst: 5
4 Random seeds: 29910, 27290 rand_inst: 2
5 Random seeds: 30113, 27290 rand_inst: 4
6 Random seeds: 30313, 27290 rand_inst: 6
7 Random seeds: 29804, 27290 rand_inst: 1
8 Computing tensors: F
9 Doing CMB lensing: F
10 lmax = 2100
11 Number of C_ls = 3
12 Varying 6 parameters ( 2 fast)
13 reading: params_CMB.covmat
14 read datasets
15 starting MonteCarlo
16 Computing tensors: F
17 Doing CMB lensing: F
18 lmax = 2100
19 Number of C_ls = 3
20 Varying 6 parameters ( 2 fast)
21 reading: params_CMB.covmat
22 read datasets
23 starting MonteCarlo
24 Calling CAMB
25 Computing tensors: F
26 Doing CMB lensing: F
27 lmax = 2100
28 Number of C_ls = 3
29 Varying 6 parameters ( 2 fast)
30 reading: params_CMB.covmat
31 read datasets
32 starting MonteCarlo
33 Calling CAMB
34 Computing tensors: F
35 Doing CMB lensing: F
36 lmax = 2100
37 Number of C_ls = 3
38 Varying 6 parameters ( 2 fast)
39 reading: params_CMB.covmat
40 read datasets
41 starting MonteCarlo
42 Calling CAMB
43 Computing tensors: F
44 Doing CMB lensing: F
45 lmax = 2100
46 Number of C_ls = 3
47 Varying 6 parameters ( 2 fast)
48 reading: params_CMB.covmat
49 read datasets
50 starting MonteCarlo
51 Calling CAMB
52 Computing tensors: F
53 Doing CMB lensing: F
54 lmax = 2100 55 Number of C_ls = 3
56 Varying 6 parameters ( 2 fast)
57 reading: params_CMB.covmat
58 read datasets
59 starting MonteCarlo
60 Calling CAMB
61 Calling CAMB
62 CAMB done
63 reading WMAP3 data
64 CAMB done
65 reading WMAP3 data
66 CAMB done
67 reading WMAP3 data
68 CAMB done
69 reading WMAP3 data
70 CAMB done
71 reading WMAP3 data
72 CAMB done
73 reading WMAP3 data
74 
75 WARNING: obsolete interface to MAP2ALM:
76 cos_theta_cut (6th argument) currently a DP scalar with value
77 1.00000
78 shoud now be replaced with a 2element vector with values:
79 0.00000 0.00000
80 See documentation for details.
81 
82 
83 WARNING: obsolete interface to MAP2ALM:
84 cos_theta_cut (6th argument) currently a DP scalar with value
85 1.00000
86 shoud now be replaced with a 2element vector with values:
87 0.00000 0.00000
88 See documentation for details.
89 
90 
91 WARNING: obsolete interface to MAP2ALM:
92 cos_theta_cut (6th argument) currently a DP scalar with value
93 1.00000
94 shoud now be replaced with a 2element vector with values:
95 0.00000 0.00000
96 See documentation for details.
97 
98 
99 WARNING: obsolete interface to MAP2ALM:
100 cos_theta_cut (6th argument) currently a DP scalar with value
101 1.00000
102 shoud now be replaced with a 2element vector with values:
103 0.00000 0.00000
104 See documentation for details.
105 
106 
107 WARNING: obsolete interface to MAP2ALM:
108 cos_theta_cut (6th argument) currently a DP scalar with value
109 1.00000
110 shoud now be replaced with a 2element vector with values:
111 0.00000 0.00000
112 See documentation for details.
113 
114 
115 WARNING: obsolete interface to MAP2ALM:
116 cos_theta_cut (6th argument) currently a DP scalar with value
117 1.00000
118 shoud now be replaced with a 2element vector with values:
119 0.00000 0.00000
120 See documentation for details.
121 
122 
123 WARNING: obsolete interface to MAP2ALM:
124 cos_theta_cut (6th argument) currently a DP scalar with value
125 1.00000
126 shoud now be replaced with a 2element vector with values:
127 0.00000 0.00000
128 See documentation for details.
129 
130 
131 WARNING: obsolete interface to MAP2ALM:
132 cos_theta_cut (6th argument) currently a DP scalar with value
133 1.00000
134 shoud now be replaced with a 2element vector with values:
135 0.00000 0.00000
136 See documentation for details.
137 
138 
139 WARNING: obsolete interface to MAP2ALM:
140 cos_theta_cut (6th argument) currently a DP scalar with value
141 1.00000
142 shoud now be replaced with a 2element vector with values:
143 0.00000 0.00000
144 See documentation for details.
145 
146 
147 WARNING: obsolete interface to MAP2ALM:
148 cos_theta_cut (6th argument) currently a DP scalar with value
149 1.00000
150 shoud now be replaced with a 2element vector with values:
151 0.00000 0.00000
152 See documentation for details.
153 
154 
155 WARNING: obsolete interface to MAP2ALM:
156 cos_theta_cut (6th argument) currently a DP scalar with value
157 1.00000
158 shoud now be replaced with a 2element vector with values:
159 0.00000 0.00000
160 See documentation for details.
161 
162 
163 WARNING: obsolete interface to MAP2ALM:
164 cos_theta_cut (6th argument) currently a DP scalar with value
165 1.00000
166 shoud now be replaced with a 2element vector with values:
167 0.00000 0.00000
168 See documentation for details.
169 
170 Compiled without WMAP
171 Compiled without WMAP
172 Compiled without WMAP
173 Compiled without WMAP
174 Compiled without WMAP
175 Compiled without WMAP
END of OUTPUT
I compiled cosmomc but on the program exits on running. The standard output I am getting is pasted below. It says it has been compiled without WMAP, though the warnings about obsolete interfaces are similar to the ones I got when I ran the wmap likelihood code (which gave the results).
Can you please help me in correcting this?
Thanks,
Rahul
OUTPUT:
Number of MPI processes: 6
2 Random seeds: 30008, 27290 rand_inst: 3
3 Random seeds: 30208, 27290 rand_inst: 5
4 Random seeds: 29910, 27290 rand_inst: 2
5 Random seeds: 30113, 27290 rand_inst: 4
6 Random seeds: 30313, 27290 rand_inst: 6
7 Random seeds: 29804, 27290 rand_inst: 1
8 Computing tensors: F
9 Doing CMB lensing: F
10 lmax = 2100
11 Number of C_ls = 3
12 Varying 6 parameters ( 2 fast)
13 reading: params_CMB.covmat
14 read datasets
15 starting MonteCarlo
16 Computing tensors: F
17 Doing CMB lensing: F
18 lmax = 2100
19 Number of C_ls = 3
20 Varying 6 parameters ( 2 fast)
21 reading: params_CMB.covmat
22 read datasets
23 starting MonteCarlo
24 Calling CAMB
25 Computing tensors: F
26 Doing CMB lensing: F
27 lmax = 2100
28 Number of C_ls = 3
29 Varying 6 parameters ( 2 fast)
30 reading: params_CMB.covmat
31 read datasets
32 starting MonteCarlo
33 Calling CAMB
34 Computing tensors: F
35 Doing CMB lensing: F
36 lmax = 2100
37 Number of C_ls = 3
38 Varying 6 parameters ( 2 fast)
39 reading: params_CMB.covmat
40 read datasets
41 starting MonteCarlo
42 Calling CAMB
43 Computing tensors: F
44 Doing CMB lensing: F
45 lmax = 2100
46 Number of C_ls = 3
47 Varying 6 parameters ( 2 fast)
48 reading: params_CMB.covmat
49 read datasets
50 starting MonteCarlo
51 Calling CAMB
52 Computing tensors: F
53 Doing CMB lensing: F
54 lmax = 2100 55 Number of C_ls = 3
56 Varying 6 parameters ( 2 fast)
57 reading: params_CMB.covmat
58 read datasets
59 starting MonteCarlo
60 Calling CAMB
61 Calling CAMB
62 CAMB done
63 reading WMAP3 data
64 CAMB done
65 reading WMAP3 data
66 CAMB done
67 reading WMAP3 data
68 CAMB done
69 reading WMAP3 data
70 CAMB done
71 reading WMAP3 data
72 CAMB done
73 reading WMAP3 data
74 
75 WARNING: obsolete interface to MAP2ALM:
76 cos_theta_cut (6th argument) currently a DP scalar with value
77 1.00000
78 shoud now be replaced with a 2element vector with values:
79 0.00000 0.00000
80 See documentation for details.
81 
82 
83 WARNING: obsolete interface to MAP2ALM:
84 cos_theta_cut (6th argument) currently a DP scalar with value
85 1.00000
86 shoud now be replaced with a 2element vector with values:
87 0.00000 0.00000
88 See documentation for details.
89 
90 
91 WARNING: obsolete interface to MAP2ALM:
92 cos_theta_cut (6th argument) currently a DP scalar with value
93 1.00000
94 shoud now be replaced with a 2element vector with values:
95 0.00000 0.00000
96 See documentation for details.
97 
98 
99 WARNING: obsolete interface to MAP2ALM:
100 cos_theta_cut (6th argument) currently a DP scalar with value
101 1.00000
102 shoud now be replaced with a 2element vector with values:
103 0.00000 0.00000
104 See documentation for details.
105 
106 
107 WARNING: obsolete interface to MAP2ALM:
108 cos_theta_cut (6th argument) currently a DP scalar with value
109 1.00000
110 shoud now be replaced with a 2element vector with values:
111 0.00000 0.00000
112 See documentation for details.
113 
114 
115 WARNING: obsolete interface to MAP2ALM:
116 cos_theta_cut (6th argument) currently a DP scalar with value
117 1.00000
118 shoud now be replaced with a 2element vector with values:
119 0.00000 0.00000
120 See documentation for details.
121 
122 
123 WARNING: obsolete interface to MAP2ALM:
124 cos_theta_cut (6th argument) currently a DP scalar with value
125 1.00000
126 shoud now be replaced with a 2element vector with values:
127 0.00000 0.00000
128 See documentation for details.
129 
130 
131 WARNING: obsolete interface to MAP2ALM:
132 cos_theta_cut (6th argument) currently a DP scalar with value
133 1.00000
134 shoud now be replaced with a 2element vector with values:
135 0.00000 0.00000
136 See documentation for details.
137 
138 
139 WARNING: obsolete interface to MAP2ALM:
140 cos_theta_cut (6th argument) currently a DP scalar with value
141 1.00000
142 shoud now be replaced with a 2element vector with values:
143 0.00000 0.00000
144 See documentation for details.
145 
146 
147 WARNING: obsolete interface to MAP2ALM:
148 cos_theta_cut (6th argument) currently a DP scalar with value
149 1.00000
150 shoud now be replaced with a 2element vector with values:
151 0.00000 0.00000
152 See documentation for details.
153 
154 
155 WARNING: obsolete interface to MAP2ALM:
156 cos_theta_cut (6th argument) currently a DP scalar with value
157 1.00000
158 shoud now be replaced with a 2element vector with values:
159 0.00000 0.00000
160 See documentation for details.
161 
162 
163 WARNING: obsolete interface to MAP2ALM:
164 cos_theta_cut (6th argument) currently a DP scalar with value
165 1.00000
166 shoud now be replaced with a 2element vector with values:
167 0.00000 0.00000
168 See documentation for details.
169 
170 Compiled without WMAP
171 Compiled without WMAP
172 Compiled without WMAP
173 Compiled without WMAP
174 Compiled without WMAP
175 Compiled without WMAP
END of OUTPUT

 Posts: 23
 Joined: January 19 2005
 Affiliation: KASI
 Contact:
cosmoMC Compilation problem (March 06 version)
The references to obselete interfaces come from the fact that you are using HEALPix v2.01. I get the same warnings, but my code runs fine, and I also get the same results with an older version of Helapix.
In terms of the 'compiled without WMAP' errors, have you included the path to the WMAP routines in the 'WMAP3_inc' and 'WMAP3_lib' part of the cosmomc Makefile? Otherwise, I am not sure what it can be.
In terms of the 'compiled without WMAP' errors, have you included the path to the WMAP routines in the 'WMAP3_inc' and 'WMAP3_lib' part of the cosmomc Makefile? Otherwise, I am not sure what it can be.

 Posts: 5
 Joined: September 25 2004
 Affiliation: University of Illinois at Urbana Champaign
cosmoMC Compilation problem (March 06 version)
Hi,
I had edited the line
in the default cosmoMC Makefile to point to my wmap likelihood directory, and the Makefile has the lines
Which I thought would achieve this. But I got the ouput appended on my last message.
Thanks,
Rahul
I had edited the line
Code: Select all
WMAP3 = /home/antlewis/WMAP3
in the default cosmoMC Makefile to point to my wmap likelihood directory, and the Makefile has the lines
Code: Select all
WMAP3_inc = I$(cfitsio)/include I$(healpix)/include I$(WMAP3)
WMAP3_lib = L$(cfitsio)/lib L$(healpix)/lib L$(WMAP3) \
lhealpix lcfitsio
Thanks,
Rahul
cosmoMC Compilation problem (March 06 version)
I also had this problem. By the looks of things, there are several "problematic" lines in source/cmbdata.f90:
#ifndef NOWMAP
#else
MAPLnLike=0
stop 'Compiled without WMAP'
#endif
For some reason, I am automatically defaulting to "NOWMAP". If I comment these lines out and recompile, things work just fine.
Any reasons/suggestions?
Lisa
#ifndef NOWMAP
#else
MAPLnLike=0
stop 'Compiled without WMAP'
#endif
For some reason, I am automatically defaulting to "NOWMAP". If I comment these lines out and recompile, things work just fine.
Any reasons/suggestions?
Lisa

 Posts: 1596
 Joined: September 23 2004
 Affiliation: University of Sussex
 Contact:
Re: cosmoMC Compilation problem (March 06 version)
In the May 2006 version I changed the extension to cmbdata.F90 (rather than .f90) this should force preprocessing, and hopefully work.
cosmoMC Compilation problem (March 06 version)
Thanks Antony! (we had just realised this solution) :@)
Lisa
Lisa