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?
-
- Posts: 2
- Joined: February 25 2009
- Affiliation: Dark Cosmology Centre
-
- Posts: 2
- Joined: February 25 2009
- Affiliation: Dark Cosmology Centre
CosmoMC: problems with the Absoft compiler?
I compiled it with gnu fortran with no problem
Problem fixed!
Problem fixed!