{"action":"created","issue":{"url":"https://api.github.com/repos/lattice/quda/issues/404","labels_url":"https://api.github.com/repos/lattice/quda/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/lattice/quda/issues/404/comments","events_url":"https://api.github.com/repos/lattice/quda/issues/404/events","html_url":"https://github.com/lattice/quda/issues/404","id":120135209,"number":404,"title":"Compilation fails for Fermi, CUDA 5.5","user":{"login":"AlexVaq","id":3840179,"avatar_url":"https://avatars.githubusercontent.com/u/3840179?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexVaq","html_url":"https://github.com/AlexVaq","followers_url":"https://api.github.com/users/AlexVaq/followers","following_url":"https://api.github.com/users/AlexVaq/following{/other_user}","gists_url":"https://api.github.com/users/AlexVaq/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexVaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexVaq/subscriptions","organizations_url":"https://api.github.com/users/AlexVaq/orgs","repos_url":"https://api.github.com/users/AlexVaq/repos","events_url":"https://api.github.com/users/AlexVaq/events{/privacy}","received_events_url":"https://api.github.com/users/AlexVaq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lattice/quda/labels/bug","name":"bug","color":"e05555"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-03T10:10:30Z","updated_at":"2015-12-09T09:55:53Z","closed_at":null,"body":"During compilation in a local cluster in Cyprus using Fermi I came accross with this error:\r\n\r\nmake[1]: se ingresa al directorio `/fhgfs/prometheus/home/avaquero/git/test/quda-develop/lib'\r\n/fhgfs/prometheus/buildsets/eb141014/software/CUDA/5.5.22/bin/nvcc  -O3 -D__COMPUTE_CAPABILITY__=200 -ftz=true -prec-div=false -prec-sqrt=false  -w -DMULTI_GPU -DPTHREADS -DGPU_WILSON_DIRAC -DGPU_TWISTED_MASS_DIRAC -DGPU_WILSON_DIRAC -g -DHOST_DEBUG -DBUILD_QDP_INTERFACE -DDEVICE_PACK -DGPU_CONTRACT -arch=sm_20                        -I/fhgfs/prometheus/buildsets/eb141014/software/CUDA/5.5.22/include -DMPI_COMMS  -I/include -I../include -Idslash_core -I.  dslash_wilson.cu -c -o dslash_wilson.o\r\n./dslash_policy.cuh(120): error: identifier \"aux_worker\" is undefined\r\n\r\naux_worker is defined in the namespace dslash, inside dslash_quda.cu line 111. It's also included in the small file dslash_events.cuh as an extern variable. Somehow the compiler seems not to understand that we should be using namespace dslash.\r\n\r\nThese are the versions I'm using of CUDA, gcc and MPI:\r\n\r\nCurrently Loaded Modules:\r\n  1) CUDA/5.5.22   2) MVAPICH2/1.9-GCC-4.7.3   3) GCC/4.7.3\r\n"},"comment":{"url":"https://api.github.com/repos/lattice/quda/issues/comments/163167096","html_url":"https://github.com/lattice/quda/issues/404#issuecomment-163167096","issue_url":"https://api.github.com/repos/lattice/quda/issues/404","id":163167096,"user":{"login":"AlexVaq","id":3840179,"avatar_url":"https://avatars.githubusercontent.com/u/3840179?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexVaq","html_url":"https://github.com/AlexVaq","followers_url":"https://api.github.com/users/AlexVaq/followers","following_url":"https://api.github.com/users/AlexVaq/following{/other_user}","gists_url":"https://api.github.com/users/AlexVaq/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexVaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexVaq/subscriptions","organizations_url":"https://api.github.com/users/AlexVaq/orgs","repos_url":"https://api.github.com/users/AlexVaq/repos","events_url":"https://api.github.com/users/AlexVaq/events{/privacy}","received_events_url":"https://api.github.com/users/AlexVaq/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T09:55:53Z","updated_at":"2015-12-09T09:55:53Z","body":"Sorry for the late reply, Kate. Here we had long holidays.\r\n\r\nThis machine is a cypriot machine that is not decomissioned because it's almost the best they have, and the alternative version is CUDA 6.0.37. If you think it might help, I'll recompile for that version and see if the error persist.\r\n\r\nBut it is really stupid. I mean, it is not a CUDA issue, it looks like a c++ issue (maybe related to nvcc). And the workaround is really simple. But I agree it shouldn't happen. Mostly if we explicitly say that we still support Fermi and CUDA 5.5."}}