[Pw_forum] compiling e-3.0 on HP

Paolo Giannozzi giannozz at nest.sns.it
Thu Jan 19 21:40:38 CET 2006


On Thursday 19 January 2006 20:38, Sergey Lisenkov wrote:

>       tmpcomplex =
> cmplx(tmpreal,aimag((val((index+1)/2))),kind=selected_real_kind(6,30)) ^
> Error 1003 at (207:iotk_attr.spp) : Argument KIND must be a constant

some compilers don't like this construct (another one is intel 7.x).
I am told that it is standard f90, but go explain it to the compiler. 
In iotk/include/iotk_config.h replace 
  #define __IOTK_REAL1 selected_real_kind(6,30)
  #define __IOTK_REAL2 selected_real_kind(14,200)
with whatever is appropriate in your case, presumably
  #define __IOTK_REAL1 4
  #define __IOTK_REAL2 8

By the way: did you manage to have the code working on  Altix,
on Cray X-1, on the 25 other different machines you occasionally
ask about?!?

P
-- 
Paolo Giannozzi             e-mail:  giannozz at nest.sns.it
Scuola Normale Superiore    Phone:   +39/050-509876, Fax:-563513 
Piazza dei Cavalieri 7      I-56126 Pisa, Italy



More information about the users mailing list