[Pw_forum] compilation of bfgs_modules.f90 on Sun
Davide Ceresoli
ceresoli at sissa.it
Fri Jul 27 16:19:43 CEST 2007
Antonio Tilocca wrote:
> For some reason, the Sun compiler stops while compiling bfgs_modules.f90,
> complaining that the .dot. and .times. operators are not defined
> in gdiis_step. Adding "USE basic_algebra_routines" at the
> beginning of this routine apparently fixes the problem, but I am not sure
> why the problem is there in first place.
>
> Antonio Tilocca
> Chemistry/UCL/UK
The SUN compiler needs you to repeat the line:
USE basic_algebra_routines
in every CONTAIN'ed subroutine.
For instance, in bfgs_modules.f90, after:
SUBROUTINE gdiis_step(),
add:
USE basic_algebra_routines
It's already in the CVS.
Davide
More information about the users
mailing list