Dear all,
I want to add a new function into Amber10. I implement the new function
shown as the attached file.
When I compile my file with the Amber10 source files, there are some
errors like :
In file _egb.f:436
integer iac,ico,numex,natex,ntypes,natom,natbel,ncopy
1
Error: Name 'ntypes' at (1) is an ambiguous reference to 'ntypes' from
current program unit
In file _egb.f:639
ico(*),numex(*),natex(*),fs(*),reff(natom), onereff(natom), &
1
Error: Name 'natom' at (1) is an ambiguous reference to 'natom' from
current program unit
In file _egb.f:687
charge(qmmm_nml%iqmatoms(qm_temp_count)) = &
1
Error: Unclassifiable statement at (1)
In file _egb.f:701
charge(qmmm_nml%iqmatoms(qm_temp_count)) = &
1
Error: Unclassifiable statement at (1)
In file _egb.f:781
maxi = natom
1
Error: Name 'natom' at (1) is an ambiguous reference to 'natom' from
current program unit
In file _egb.f:782
if(natbel > 0) maxi = natbel
1
Error: Name 'natbel' at (1) is an ambiguous reference to 'natbel' from
current program unit
In file _egb.f:804
sumdeijda(1:natom) = zero
1
Error: Name 'natom' at (1) is an ambiguous reference to 'natom' from
current program unit
In file _egb.f:830
iaci = ntypes * (iac(i) - 1)
1
Error: Name 'ntypes' at (1) is an ambiguous reference to 'ntypes' from
current program unit
In file _egb.f:846
do k=i+1,natom
1
Error: Name 'natom' at (1) is an ambiguous reference to 'natom' from
current program unit
..
....
....
Has anyone ever implemented their own function in Amber10 before? How can
I deal with these errors?
Thanks a lot for your help!
Xin
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon May 21 2012 - 13:30:02 PDT