[Pw_forum] Compilation Problem

Paolo Giannozzi giannozz at nest.sns.it
Tue Sep 12 14:05:23 CEST 2006


On Tuesday 12 September 2006 13:39, Lilia Boeri wrote:

> "iotk_xtox.spp", line 78.65: 1517-005 (U) Error in Conform.  
> Call service representative. 

did you ? and what did the service representative say :-) ?

Seriously: this kind of messages is clearly due to some
compiler bug, so you should either find a workaround
or change/upgrade compiler. In this particular case, 
it is line 78 (column 65) of iotk/src/iotk_xtox.spp that 
confuses your compiler:

#ifdef __IOTK_WORKAROUND5
  integer(kind=__IOTK_INTEGER$kind) :: limit(0:9)
  integer(kind=__IOTK_INTEGER$kind) :: hug
  hug = huge(j)
  limit(0:9) = (/ ((hug-j)/10,j=0,9) /)
#else
==>  integer(kind=__IOTK_INTEGER$kind), parameter :: limit(0:9) = (/ 
((huge(j)-j)/10,j=0,9) /)
#endif

Apparently it has confused scores of other compilers as well:
#define __IOTK_WORKAROUND5 in iotk/include/iotk_config.h 
and it might work, without calling a service representative 

Notice that recent IBM machines seem to need xlf95 
instead of xlf90

Paolo
-- 
Paolo Giannozzi             Phone:   +39/050-509876
DEMOCRITOS and SNS          Fax:     +39/050-563513 
Piazza dei Cavalieri 7      I-56126 Pisa, Italy



More information about the Pw_forum mailing list