CosmoMC: list directed read problems in driver.F90 on AMD servers using PG compilers

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Jeremy Yates
Posts: 1
Joined: February 27 2006
Affiliation: UCL

CosmoMC: list directed read problems in driver.F90 on AMD se

Post by Jeremy Yates » February 27 2006

Hi, I am trying to port cosmomc to an amd server that runs pgf90 and its mpi variant mpif90

The error message is very clear and a perusal of the source code makes it clear why it
died.
mpirun -np 1 ./cosmomc params.ini
PGFIO-F-231/list-directed read/internal file/error on data conversion.
In source file driver.F90, at line number 42

numstr = GetParam(2)
if (numstr /= '') then
read(numstr,*) instance ---- DIES HERE
rand_inst = instance
else

I tried using the -Mfree, -Mfreeform and even -Mpreprocess to get round this, but the code can't get past this. Any suggestions? I am loathe to fix the format.

Jeremy

Post Reply