[CPMD-list] Compiling CPMD 3.5.3. using IFC

Eyvaz Isaev eyvaz_isaev at yahoo.com
Sun Nov 10 16:43:21 CET 2002


Dear Sergei,

According to your recent mail installation of the IFC
is not correct. 

Warnings could be removed using "-w" flag.

OK, I will send you an example of the .bashrs file and
Makefile I used.

Regards,
Eyvaz
 
--- CÅÒÇÅÊ ìÉÓÅÎËÏ× <proffess at mail.ru> wrote:
> Dear All, 
> 
> I have one problem with compiling CPMD using IFC: 
> 
> ..... 
> ^ 
> Comment 15 at (424:./system.h) : This feature is
> obsolescent in Fortran 95 
> 
> 575 Lines Compiled 
> rm -f proja.f 
> /lib/cpp -P -C -traditional -D__Linux -D__PGI
> -DLAPACK -DFFT_DEFAULT -DLINUX_IFC ./proja.F
> ./proja.f 
> /opt/intel/compiler60/ia32/bin/ifc -c -O3 -tp p6
> -axiM -pc64 -unroll -w90 -w95 ./proja.f -o ./proja.o
> 
> external subroutine PROJA 
> 
>
POINTER(IP_IATPT,IATPT),(IP_IPEPT,IPEPT),(IP_IATPE,IATPE)
> 
> ^ 
> Warning 114 at (196:./system.h) : Pointer variable
> has already been declared - retyped as INTEGER 
> ^ 
> Warning 114 at (196:./system.h) : Pointer variable
> has already been declared - retyped as INTEGER 
> ^ 
> Warning 114 at (196:./system.h) : Pointer variable
> has already been declared - retyped as INTEGER 
> 
> CHARACTER*80 FPATH 
> ^ 
> Comment 15 at (424:./system.h) : This feature is
> obsolescent in Fortran 95 
> 
> 586 Lines Compiled 
> rm -f atoms.f 
> /lib/cpp -P -C -traditional -D__Linux -D__PGI
> -DLAPACK -DFFT_DEFAULT -DLINUX_IFC ./atoms.F
> ./atoms.f 
> /opt/intel/compiler60/ia32/bin/ifc -c -O3 -tp p6
> -axiM -pc64 -unroll -w90 -w95 ./atoms.f -o ./atoms.o
> 
> external subroutine ATOMS 
> 
> CHARACTER*2 EL(99) 
> ^ 
> Comment 15 at (6:./adat.inc) : This feature is
> obsolescent in Fortran 95 
> 
> CHARACTER*2 EL2(99) 
> ^ 
> Comment 15 at (13:./atoms.f) : This feature is
> obsolescent in Fortran 95 
> 
> 318 Lines Compiled 
> ./atoms.f(290) : (col. 0) remark: LOOP WAS
> VECTORIZED. 
> ./atoms.f(2) : (col. 0) remark: atoms_ has been
> targeted for automatic cpu dispatch. 
> rm -f fitpack.f 
> /lib/cpp -P -C -traditional -D__Linux -D__PGI
> -DLAPACK -DFFT_DEFAULT -DLINUX_IFC ./fitpack.F
> ./fitpack.f 
> /opt/intel/compiler60/ia32/bin/ifc -c -O3 -tp p6
> -axiM -pc64 -unroll -w90 -w95 ./fitpack.f -o
> ./fitpack.o 
> external subroutine CURV1 
> 
> 5 sdiag1 = sdiag2 
> ^ 
> Comment 9 at (176:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> 
> 7 yp(ibak) = yp(ibak)-temp(ibak)*yp(ibak+1) 
> ^ 
> Comment 9 at (184:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> external subroutine CURVS 
> external function CURV2 
> external function CURVD 
> external function CURVI 
> external subroutine CURVP1 
> 
> 1 sdiag1 = sdiag2 
> ^ 
> Comment 9 at (740:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> 
> 3 temp(ibak) =temp(npibak)-temp(ibak)*temp(ibak+1) 
> ^ 
> Comment 9 at (754:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> 
> 5 yp(i) = yp(i)+temp(i)*ypn 
> ^ 
> Comment 9 at (762:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> external subroutine CURVPS 
> external function CURVP2 
> external function CURVPI 
> external subroutine CEEZ 
> external subroutine CURVPP 
> 
> 1 dim1 = di 
> ^ 
> Comment 9 at (1494:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> 
> 3 betap = beta 
> ^ 
> Comment 9 at (1535:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> 
> 4 sum = sum+((y(i)-con)/d(i))**2 
> ^ 
> Comment 9 at (1543:./fitpack.f) : Terminating a DO
> loop with a statement other than CONTINUE or ENDDO
> is obsolescent in Fortran 90 and Fortran 95 
> 
> hd(i) 
> ^ 
> Error 7 at (1559:./fitpack.f) : incomplete statement
> 
> Error 38 : END statement is missing 
> 
> 2 Errors 
> ./fitpack.f(45) : (col. 0) remark: curv1_ has been
> targeted for automatic cpu dispatch. 
> ./fitpack.f(1262) : (col. 0) remark: ceez_ has been
> targeted for automatic cpu dispatch. 
> ./fitpack.f(313) : (col. 0) remark: curv2_ has been
> targeted for automatic cpu dispatch. 
> ./fitpack.f(389) : (col. 0) remark: curvd_ has been
> targeted for automatic cpu dispatch. 
> ./fitpack.f(466) : (col. 0) remark: curvi_ has been
> targeted for automatic cpu dispatch. 
> ./fitpack.f(634) : (col. 0) remark: curvp1_ has been
> targeted for automatic cpu dispatch. 
> ./fitpack.f(903) : (col. 0) remark: curvp2_ has been
> targeted for automatic cpu dispatch. 
> ./fitpack.f(986) : (col. 0) remark: curvpi_ has been
> targeted for automatic cpu dispatch. 
> compilation aborted for ./fitpack.f (code 1) 
> make: *** [fitpack.o] Error 1 
> 
> 


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



More information about the CPMD-list mailing list