coppolachan / RHMC-on-GPU

Rational Hybrid Monte Carlo simulation of QCD with staggered fermions on GPU
6 stars 1 forks source link

code fails to compile under STANDARD_UPDATE conditions #3

Closed claudiopica closed 13 years ago

claudiopica commented 13 years ago

The function "meas" in rhmc.cc:main is not declared.

Compilation log:

make all-recursive make[1]: Entering directory /people/disk2/pica/tmp/RHMC-on-GPU' Making all in lib make[2]: Entering directory/people/disk2/pica/tmp/RHMC-on-GPU/lib' g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -DUSE_GPU -I/people/disk2/pica/include -Wall --pedantic -MT rhmc.o -MD -MP -MF .deps/rhmc.Tpo -c -o rhmc.o test -f './Main/rhmc.cc' || echo './'./Main/rhmc.cc ./Main/rhmc.cc: In function ‘int main()’: ./Main/rhmc.cc:75: error: ‘meas’ was not declared in this scope ../include/global_var.h: At global scope: ../include/global_var.h:28: warning: ‘min_stored’ defined but not used ../include/global_var.h:29: warning: ‘max_stored’ defined but not used ../include/global_var.h:30: warning: ‘use_stored’ defined but not used make[2]: * [rhmc.o] Error 1 make[2]: Leaving directory `/people/disk2/pica/tmp/RHMC-on-GPU/lib' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory`/people/disk2/pica/tmp/RHMC-on-GPU' make: *\ [all] Error 2

coppolachan commented 13 years ago

I added a fix to this, check it.