[Pw_forum] compiling e-3.0 on HP

Sergey Lisenkov proffess at yandex.ru
Thu Jan 19 20:38:29 CET 2006


 Dear PWscf authors,

   I have some problems to compiler espresso-3.0 (in particullarly, iotk directory) on HP machine with HP compiler:

...
         mpif90 +O2 -w +cpp=yes +Odataprefetch +Onolimit +U77  +DA2.0 +DS2.0 -D__HP  -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI -D__PARA -I../include -I/nethome/proffess/hpux/lib/fftw-215_cc-32/include/ -I. -I../Modules -I../PW -I../PH -I../iotk/src -I../CPV -c iotk_attr+COMPLEX1_0.f90
/var/tmp//fciBAAa27725.f90
   external subroutine IOTK_PRIVATE_PACK_COMPLEX1
   external subroutine IOTK_WRITE_COMPLEX1
   external subroutine IOTK_READ_COMPLEX1
      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
      tmpcomplex = cmplx(real(val((index+1)/2)),tmpreal,kind=selected_real_kind(6,30))
                                                             ^
Error 1003 at (209:iotk_attr.spp) : Argument KIND must be a constant
   external subroutine IOTK_WRITE_ATTR_COMPLEX1_0
   external subroutine IOTK_SCAN_ATTR_COMPLEX1_0
   external subroutine IOTK_ATTR_DUMMY_COMPLEX1_0
   external subroutine IOTK_WRITE_ATTR_COMPLEX1_1
   external subroutine IOTK_SCAN_ATTR_COMPLEX1_1
   external subroutine IOTK_ATTR_DUMMY_COMPLEX1_1
   external subroutine IOTK_WRITE_ATTR_COMPLEX1_2
   external subroutine IOTK_SCAN_ATTR_COMPLEX1_2
   external subroutine IOTK_ATTR_DUMMY_COMPLEX1_2

2 Errors
f90: error 213: Errors detected.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

 Any hints?
  
  Thanks,
    Sergey



More information about the users mailing list