etmc / tmLQCD

tmLQCD is a freely available software suite providing a set of tools to be used in lattice QCD simulations. This is mainly a HMC implementation (including PHMC and RHMC) for Wilson, Wilson Clover and Wilson twisted mass fermions and inverter for different versions of the Dirac operator. The code is fully parallelised and ships with optimisations for various modern architectures, such as commodity PC clusters and the Blue Gene family.
http://www.itkp.uni-bonn.de/~urbach/software.html
GNU General Public License v3.0
31 stars 47 forks source link

random_spinor_field in index_jd.c #260

Open deuzeman opened 11 years ago

deuzeman commented 11 years ago

As I understand, this function doesn't exist anymore -- it's either random_spinor_field_eo or random_spinor_field_lexic. That leads to two questions:

I'm running into this, because I want to make sure I'm getting all the memory management right in the implementation of HEX force smearing (prototype done, by the way). There it helps to turn on -Wall -Werror so that sloppiness will actually halt compilation. There's a few spurious warnings / minor coding errors I've had to clear up in other parts of the code, (will backport this), but this one is less trivial.

kostrzewa commented 11 years ago

Hmm, in order to fix this we would need to add a function for random spinor fields of arbitrary size which would be unable to be reproducible. I'm not sure I really understand the point of filling VOLUMEPLUSRAND with random numbers locally (i.e.: without exchanging boundaries).