[DFTB-Plus-User] compiling problem

Bálint Aradi balint.aradi at bccms.uni-bremen.de
Wed Jun 23 09:49:29 CEST 2010


Dear Gui,

> When I compile the DFTB+ V1.0.1 code using either non-commercial Intel Fortran 9.1 or 10.0, I meet errors as following: 
> fortcom: Warning: ../lib_common/allocate.f90, line 3: Bad # preprocessor line
> # include "assert.h"
> --^
> fortcom: Error: ../lib_common/allocate.f90, line 36: Syntax error, found END-OF-STATEMENT when expecting one of: => = . ( %
> ASSERT((allocType >= 1) .and. (allocType <= nrAllocTypes))
> -------------------------------------------------------------------^
> fortcom: Error:../lib_common/allocate.f90, line 52: Syntax error, found END-OF-STATEMENT when expecting one of: => = . ( %
> ASSERT((allocType >= 1) .and. (allocType <= nrAllocTypes))
> -------------------------------------------------------------------^
> compilation aborted for ../lib_common/allocate.f90 (code 1)
> make[1]: *** [allocate.o] Error 1

 It seems to me, that the preprocessor was not invoked correctly. The
*.f90 files should not contain any cpp-directives like #include. Could
you make sure (by looking at the output during the make-process) that
the preprocessor cpp was invoked?

  Best regards

    Bálint


-- 
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/en/~b_aradi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://www.dftb-plus.info/pipermail/dftb-plus-user/attachments/20100623/a9695de8/attachment.pgp 


More information about the DFTB-Plus-User mailing list