Page 1 of 1

CosmoMC: problems with the Absoft compiler?

Posted: February 26 2009
by Teddy F Frederiksen
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

CosmoMC: problems with the Absoft compiler?

Posted: February 26 2009
by Teddy F Frederiksen
I compiled it with gnu fortran with no problem

Problem fixed!