Compile CosmoMc

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
caixia gao
Posts: 15
Joined: July 24 2014
Affiliation: University of Mississippi

Compile CosmoMc

Post by caixia gao » October 23 2014

Can anyone tell me what I am missing?

Image

cosmomc_cygwin.jpg

I am using window. I have ifort 13 and ifort 15, and visual studio 2012,2013

Thank you.

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Compile CosmoMc

Post by Antony Lewis » October 23 2014

Probably much easier to build with ifort in Visual Studio (you can use supplied VisualStudio folder project and solution).

caixia gao
Posts: 15
Joined: July 24 2014
Affiliation: University of Mississippi

Re: Compile CosmoMc

Post by caixia gao » October 23 2014

Thank you Dr.Lewis.

When I use visual studio to run camb, it is fine, however, when I open cosmomc, it says

C:\Users\Sky\Documents\cosmomc\VisualStudio\tests.vfproj : error : The system cannot locate the object specified

and there were build errors.
Image

CosmMc.jpg



Antony Lewis wrote:Probably much easier to build with ifort in Visual Studio (you can use supplied VisualStudio folder project and solution).

caixia gao
Posts: 15
Joined: July 24 2014
Affiliation: University of Mississippi

Compile CosmoMc

Post by caixia gao » October 23 2014

when I try to open it , it says

Image

vf_cosmo.jpg

Image

vf_cosmo2.jpg

caixia gao
Posts: 15
Joined: July 24 2014
Affiliation: University of Mississippi

Compile CosmoMc

Post by caixia gao » October 23 2014

After I put the ifot in the bin of cygwin, I got a different one

Image

compile.png

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Compile CosmoMc

Post by Antony Lewis » October 23 2014

VisualStudio\tests.vfproj is indeed probably missing, but it is not needed.

Post Reply