[Pw_forum] PWscf-1.3 on Compaq ALPHA clusters under Linux

Sergei Lisenkov proffess at yandex.ru
Fri Oct 3 11:02:17 CEST 2003


Dear PWscf authors and users,

I think we should to separate make.sys files for DEC Alpha and Compaq Alpha machines. 
I using the last machines working under Linux. I have seen the Makefile provided by script configure 
does nor work on Compaq Alpha machines. I have seen the errors message and done the minor changes
in file clib/cp.h (add one underscore):

#if defined __ALPHA && defined __LINUX

#    define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d__
#    define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d__
#    define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d__
#    define CREATE_PLAN_1D create_plan_1d__
#    define DESTROY_PLAN_1D destroy_plan_1d__
#    define CREATE_PLAN_2D create_plan_2d__
#    define CREATE_PLAN_3D create_plan_3d__
#    define DESTROY_PLAN_2D destroy_plan_2d__
#    define DESTROY_PLAN_3D destroy_plan_3d__
#    define FFT_X_STICK fft_x_stick__
#    define FFT_XY_STICK fft_xy_stick_
#    define FFT_XY fft_xy_
#    define FFT_Y_STICK fft_y_stick__
#    define FFT_Y_STICK2 fft_y_stick2_
#    define FFT_Z_STICK fft_z_stick__
#    define FFT_Z fft_z_
#    define FFT_STICK fft_stick_
#    define CP_GETENV cp_getenv_
#    define CP_DATE cp_date__
#    define CPFLUSH cpflush_
#    define CPTIMER cptimer_
#    define ELAPSED_SECONDS elapsed_seconds__
#    define CCLOCK cclock_
#    define FACTOR235 factor235_
#    define FACTOR2 factor2_
#    define LN_ALLOC ln_alloc__
#    define LN_DEALLOC ln_dealloc__
#    define LN_SET ln_set__
#    define LN_ACTIVATE ln_activate__
#    define LN_IND ln_ind__
#    define MEMSTAT memstat_
#    define READOCC readocc_
#    define ROUND2 round2_
#    define MYUNITNAME myunitname_
#    define CP_ITOA cp_itoa_

#endif

and  redefine CPPFLAGS :

CPPFLAGS = -D__ALPHA -D__LINUX .....

The compiler is "fort", i.e.

F90=fort
F77=fort

Bets wishes,
Sergey



More information about the users mailing list