Question regarding regtests

Jörg Saßmannshausen jorg.sassm... at
Mon Feb 16 16:32:58 UTC 2009

Dear all,

having just spent 1 week at excellent the cp2k tutorial in Zurich, I am 
feeling less intimidated now in actually using the program.
However, I have a question regarding the regtests. Whereas I am aware 
from the list that the regtests are mere for the developers, I think 
they also could be used to find some problems in the compilation. I am 
aware that simply comparison between the numbers does not make any sense 
and that the NMR tests are usually a bit more tricky than the other 
tests. Whereas I am happy to ignore relative errors in the region of 
E-08 to E-14 (depending on the actually calculated property), I stumbled 
over these errors here (for example):

  POTENTIAL ENERGY : old = 0.364412001385E-02 new = 0.328588609073E-02
  relative error :   1.09022015e-01

  POTENTIAL ENERGY : old = 0.485712510073E-01 new = 0.533298507726E-02
  relative error :   8.10770428e+00

  POTENTIAL ENERGY : old = -0.144703327615E+02 new = -0.180353886104E+02
  relative error :   1.97670032e-01


Whereas I quite happily could ignore the FIST results as I right now 
don't think I need FIST, the QS is a bit more worrying for me.

As a newbie, I would appreciate some feedback here so I don't run into 
the problem of wasting my time with an obvious missbuild of my binary.

Incidently, some of the errors appear in g95 compiled binaries as well, 
but I only checked a few cases here.

System information are found at the bottom of the email.

Thanks for your help


System Informations:

INTEL_INC    = /users/sassy/build/intel/Compiler/10.1/021/include
ATLAS_PATH   = /users/sassy/build/lib/atlas3.8.2-ifort/lib
FFTW3_INCL   = /users/sassy/build/fftw3/ifc/include
FFTW3_PATH   = /users/sassy/build/fftw3/ifc/lib
LIBINT_WRAP  = /users/sassy/build/src/cp2k/rt/cp2k/libint_tools
LIBINT_INCL  = /users/sassy/build/fftw3/ifc/include
LIBINT_PATH  = /users/sassy/build/lib/libint-ifort/lib
MKL_PATH     = /users/sassy/build/intel/mkl/
MKL_INCL     = /users/sassy/build/intel/mkl/

CC       = cc
CPP      =
FC       = ifort
LD       = ifort
AR       = ar -r
             -O2 -march=pentium3 -pc64 -fpp -free -unroll -mtune=core2

LIBS1     = $(ATLAS_PATH)/liblapack.a \
            $(ATLAS_PATH)/libcblas.a \
            $(ATLAS_PATH)/libf77blas.a \
LIBS      = $(LIBS1) $(LIBINT_WRAP)/libint_cpp_wrapper.o \
            $(LIBINT_PATH)/libderiv.a \
            $(LIBINT_PATH)/libint.a \
            $(FFTW3_PATH)/libfftw3.a \

OBJECTS_ARCHITECTURE = machine_intel.o

ifort (IFORT) 10.1 20081024
gcc (GCC) 4.1.0 (SUSE Linux)

Dual-Core AMD Opteron(tm) Processor 2212

OS Linux Suse version?

Jörg Saßmannshausen
Research Fellow
University of Strathclyde
Department of Pure and Applied Chemistry
295 Cathedral St.
G1 1XL

email: jorg.sassm... at

Please avoid sending me Word or PowerPoint attachments.

More information about the CP2K-user mailing list