[CPMD-list] Bug in OPENMP-code

"J. Schüle" J.Schuele at tu-bs.de
Tue Oct 12 14:08:21 CEST 2004


Hi,
I just found a BUG in nfunc.F regarding OPENMP parallelization. Due to 
the OPENMP definition, private variables are declared anew without being 
set to previous initializations. Thus the lines 30,133,255 in nfunc.F 
have to be changed from
private(X1,X2,X3,X4) to
firstprivate(X1,X2,X3,X4)
Other variables on these lines are best kept as private as they are.

Regards,
   Josef Schüle




More information about the CPMD-list mailing list