[Pw_forum] 64-bit compiling on HP

Sergei Lisenkov proffess at yandex.ru
Thu Feb 5 11:18:55 CET 2004


Dear PWscf users,

I want to add some comment on PWscf compillation on HP workstations.

If you want compile PWscf in 64-bit mode  you must add the next lines in include/machine.h file:

#if defined __HP 
#  if defined __HP64
#    define C_POINTER  integer(kind=8)
#  else
#    define C_POINTER  integer(kind=4)
#  endif
#endif

and add the -D__HP64 in CPPFLAGS for 64-bit compiling. All options for FFLAGS, CFLAGS, LDFLAGS, LIBS in 64-bit mode must be
included.

Paolo: the configure.old does not create the file make.rules.

Best.
Sergey



More information about the users mailing list