Hi,
we have some problems porting a numerical model to our AMD Opteron server, using pgf90 version 5.2.
As the model comes from 32bit, it says
INTEGER, PARAMETER :: dp = SELECTED_REAL_KIND(12,307)
and there are a lot of functions like
ELEMENTAL REAL(dp) FUNCTION func1(in1, in2, in3)
Everything was fine on 32bit systems, but we just don’t know how to compile this stuff on an Opteron. We used this Intel thing before, so it is our first try with pgf90.
The pfg90 says:
PGF90-S-0087-Non-constant expression where constant expression required (program.f90: 285)
PGF90-S-0081-Illegal selector - KIND parameter has unknown value for data type (program.f90: 285)
(line 285 is this ELEMENTAL REAL(dp) FUNCTION… line)
It doesn’t seem to be a pgf90 problem, but maybe there’s someone developing under AMD’s 64bit, using pgf90? Is there an ‘easy’ solution like just typing INTEGER, PARAMETER :: dp = SELECTED_REAL_KIND(something else than 12,307)?
Thanx very much,
Thomas