CosmoMC: problems with the Absoft compiler?

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Teddy F Frederiksen
Posts: 2
Joined: February 25 2009
Affiliation: Dark Cosmology Centre

CosmoMC: problems with the Absoft compiler?

Post by Teddy F Frederiksen » February 26 2009

I have successfully compiled CosmoMC (and camp) with the "Absoft ProFortran, single processor:" option in the makefile. (i'm using ProFortran 9.2)

The compiling returned no warnings or errors.

But when I try to run "./cosmomc ./params.ini" it returns "No parameter input file". I backtracked the error to
line 48 in driver.f90
where GetParam(1) returns empty string

GetParam (line 1064 in utils.f90) uses the iargc() to count the number arguments given to CosmoMC.

But iargc() only returns -1!

How do I make this work? What DO I do?

Teddy

Teddy F Frederiksen
Posts: 2
Joined: February 25 2009
Affiliation: Dark Cosmology Centre

CosmoMC: problems with the Absoft compiler?

Post by Teddy F Frederiksen » February 26 2009

I compiled it with gnu fortran with no problem

Problem fixed!

Post Reply