Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code fails to compile under STANDARD_UPDATE conditions #3

Closed
claudiopica opened this issue Sep 2, 2011 · 1 comment
Closed

code fails to compile under STANDARD_UPDATE conditions #3

claudiopica opened this issue Sep 2, 2011 · 1 comment

Comments

@claudiopica
Copy link

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
Copy link
Owner

I added a fix to this, check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants