[DFTB-Plus-User] snapshot compilation error(gfortran)

Ben Hourahine benjamin.hourahine at strath.ac.uk
Fri Dec 19 09:19:13 CET 2008


Hello Seung Mi Lee,

which version of gfortran are you using? There is a bug in versions of
gfortran before 4.4.

Regards

Ben

Seung Mi Lee wrote:
> Dear Balint,
> 
>  
> 
> I met compilation error in snapshot shown as follows.
> 
> $ make
> 
> make[1]: Entering directory
> `/home/smlee/DFTB/dftb+_snapshot-081217_src/prg_dftb/_obj_i686-linux-gfortran'
> 
> cpp -traditional -DDEBUG=0
> -I/home/smlee/DFTB/dftb+_snapshot-081217_src/prg_dftb/
> -I/home/smlee/DFTB/dftb+_snapshot-081217_src/prg_dftb/../includes
> /home/smlee/DFTB/dftb+_snapshot-081217_src/prg_dftb/parser.F90 |
> /home/smlee/DFTB/dftb+_snapshot-081217_src/prg_dftb/../utils/fpp/fpp.sh
> noln2 > parser.f90
> 
> gfortran -O3 -funroll-all-loops  -o parser.o -c parser.f90
> 
>  In file parser.f90:1026
> 
>  
> 
>           call getChildValue(child, "", 2, lr1, child=child2)
> 
>                                       1
> 
> Error: Actual argument at (1) must be definable to match dummy INTENT =
> OUT/INOUT
> 
>  In file parser.f90:1073
> 
>  
> 
>           call getChildValue(child2, "CoordsAndCharges", 4, lr1, &
> 
>                                                        1
> 
> Error: Actual argument at (1) must be definable to match dummy INTENT =
> OUT/INOUT
> 
>  In file parser.f90:1377
> 
>  
> 
>         call getChildValue(child, "", 4, lr1, modifier=modifier)
> 
>                                     1
> 
> Error: Actual argument at (1) must be definable to match dummy INTENT =
> OUT/INOUT
> 
>  In file parser.f90:612
> 
>  
> 
>       call getChildValue(child, "", 3, realBuffer, modifier=modifier)
> 
>                                   1
> 
> Error: Actual argument at (1) must be definable to match dummy INTENT =
> OUT/INOUT
> 
> make[1]: *** [parser.o] Error 1
> 
> rm parser.f90
> 
> make[1]: Leaving directory
> `/home/smlee/DFTB/dftb+_snapshot-081217_src/prg_dftb/_obj_i686-linux-gfortran'
> 
> make: *** [_obj_i686-linux-gfortran] Error 2
> 
>  
> 
> How can I solve this problem?
> 
> Thank you in advance and have a happy weekend.
> 
>  
> 
> With best wishes,
> 
> Seungmi
> 
>  
> 
> ---------------------------------------------------------
> 
> Seung Mi Lee, Ph. D
> 
> Senior Researcher
> 
> Korea Research Institute of Standards and Science (KRISS)
> 
> 1 Doryong-dong, Yuseong-gu, Daejeon 305-340, Korea
> 
>  
> 

-- 
     Dr. B. Hourahine, SUPA, Department of Physics,
   University of Strathclyde, John Anderson Building,
          107 Rottenrow, Glasgow G4 0NG, UK.
    +44 141 548 2325, benjamin.hourahine at strath.ac.uk
   The University of Strathclyde is a charitable body,
registered in Scotland, with registration number SC015263



More information about the DFTB-Plus-User mailing list