Compile and running CAMB

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

Compile and running CAMB

Post by caixia gao » September 27 2014

Dear all,

I am a beginner of CAMB. I am using Eclipse under windows 8. I am comfused about the following statements

'To install and compile yourself you will need a Fortran 90 (or higher) compiler - you can get the free G95 or GFortran compilers, or the optimized Intel compiler ifort is installed on many academic clusters and also supports integrated development and debugging in Visual Studio under Windows. Alternatively you can use CAMB in the pre-configured CosmoBox virtual machine, using the eclipse integrated development environment.'

What else do I need install to run the program? do I need Visual Studio?

Thank you.

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

Re: Compile and running CAMB

Post by Antony Lewis » September 28 2014

You can build it from the command line, e.g. using gfortran (perhaps under cygwin). Photran uses eclipse, which may work (as in CosmoBox). Or Visual Studio project files are provided if you have Intel Fotran from Windows (VS is more up to date with fortran language support), which is currently the most reliable (if non-free) solution.

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

Compile and running CAMB

Post by caixia gao » October 19 2014

Thank you!

Post Reply