[Pw_forum] compilation

G. Jones gj224 at cam.ac.uk
Thu Feb 3 14:42:41 CET 2005


Dear Forum

I attempting to compile PW_scf on a parallel machine but am getting the 
following error: do you know the reason?


test -d bin || mkdir bin ( cd Modules; make all ) ( cd clib ; make all ) ( 
cd flib ; make all ) if test -d PW ; then ( cd PW ; make all ) ; fi fpp -P 
-D__SUN -D__MPI -D__PARA -DHAS_ZHEGVX -D__FFTW -D__USE_INTERNAL_FFTW 
-I/opt/SUNWhpc/include -I. -I../include -I../Modules -I../PW -I../PH 
cft_3.f90 -o cft_3.F90 "command line", warning: bad option: -o , ignored. 
mpf90 -O3 -dalign -xchip=ultra3 -xarch=v9b -xlic_lib=sunperf 
-I/opt/SUNWhpc/include -I. -I../include -I../Modules -I../PW -I../PH -M. 
-M../Modules -M../PW -M../PH -D__SUN -D__MPI -D__PARA -DHAS_ZHEGVX -D__FFTW 
-D__USE_INTERNAL_FFTW -c cft_3.F90 -o cft_3.o
 
subroutine cft_3 (f, n1, n2, n3, nx1, nx2, nx3, igrid, sign)
           ^ "cft_3.F90", Line = 178, Column = 12: ERROR: Global name 
"CFT_3" is defined as a SUBROUTINE at line 131 (cft_3.F90) and as a 
SUBROUTINE in this program unit.
 
f90comp: 221 SOURCE LINES
f90comp: 1 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
*** Error code 1
make: Fatal error: Command failed for target `cft_3.o'
Current working directory /auto/users/gj224/espresso/PW
*** Error code 1
make: Fatal error: Command failed for target `pw'
franklin-1$pwd
/users/gj224/espresso


______________________
                           
Glenn Jones                
___________________________
                            
Department of Chemistry    
Lensfield Road             
University of Cambridge    
UK                         
CB2 1EW                                  

01223 336508               
___________________________ 




More information about the users mailing list