[CPMD-list] Error on PC-Linux compilation

mit mit at uni.udm.ru
Wed Apr 17 13:40:25 CEST 2002


On 17 Apr 2002 duaj at fudan.edu wrote:

> Dear all,
> 
> I am trying to run CPMD v. 3.5 on an 1GHz Intel PC machine running
> Redhat 7.2. I am using the Portland Group Fortran 90 compiler. I
> have used the Configure script provided with the source code, with the
> "PC-PGI" option. I altered the Makefile so that I could compile it with
> pgf90, with the following lines being the only ones changed.
> 
> LFLAGS = -llapack -lblas  $(QMMM_LIBS)
> FC = pgf90 -c -fast
> LD = pgf90 -fast
> 
> Then while compiling, the following error message appears:
> 
> PGF90-S-0021-Label field of continuation line is not blank (./cpmd.f:18)
> 
> Such errors also exist in many other lines and other fortran source file, 
> I open the cpmd.f and find all the errors come form "#" at the beginning 
> of this line. But I don't know how to modify it! I hope you can help me.
> 
> Many thanks,
> 
> Best regards,
> 
> A.J.Du
> 
> 
>  
> 
> 
> ________________
> Fudan University Alumni Email System, http://mail.fudan.edu,  FREE Signup.
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://www.cpmd.org/mailman/listinfo/cpmd-list
> 
Dear A.J.Du,

The simbol # in the beginig of the line meens the preprocessor
must be used. It works automaticaly if such files have suffix
*.F instead *.f. The Makefile must be adopted for using of the
preprocessor in CPMD group. The main directivs is #ifdef and
#endif for different options of platforms and compilers.

17 April 2002

Yuriy Mirtrokhin
Udmirt State University,
Izhevsk, Russia




More information about the CPMD-list mailing list