[Pw_forum] compiling error

Sergey Lisenkov proffess at yandex.ru
Wed Apr 11 18:01:23 CEST 2007


 Dear developers,

  Pathscale compiler (3.0) version has some troubles to compile pw (cvs version). The message is following:

ftn -march=opteron -O3 -ffast-math -funroll-loops -mcmodel=medium -ftpp --target=catamount -D__EKO -D__FFTW -D__FFTW_WITH_SIZE -D__MPI -D__PARA -D__QK_USER__ -I../include  -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH  -I../CPV -c bfgs_module.f90

MODULE bfgs_module
       ^           
pathf95-855 pathf90-3.0: ERROR BFGS_MODULE, File = bfgs_module.f90, Line = 9, Column = 8 
  The compiler has detected errors in module "BFGS_MODULE".  No module information file will be created for this module.

          IF ( ( grad(:) .dot. step(:) ) > 0.D0 ) THEN
                         ^                             
pathf95-318 pathf90-3.0: ERROR GDIIS_STEP, File = bfgs_module.f90, Line = 469, Column = 26 
  The operator "dot" has not been declared as a user defined operator.

             step(:) = - ( inv_hess(:,:) .times. grad(:) )
                                         ^                 
pathf95-318 pathf90-3.0: ERROR GDIIS_STEP, File = bfgs_module.f90, Line = 474, Column = 42 
  The operator "times" has not been declared as a user defined operator.

pathf95: PathScale(TM) Fortran Version 3.0 (f14) Wed Apr 11, 2007  10:59:48
pathf95: 1015 source lines
pathf95: 3 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
pathf95: "explain pathf95-message number" gives more information about each message
make: *** [bfgs_module.o] Error 2

Is it a compiler bug? PGI (7.0) can compile this module.

 Thanks,
   Sergey



More information about the users mailing list