{"action":"created","issue":{"url":"https://api.github.com/repos/HiFiLES/HiFiLES-solver/issues/99","labels_url":"https://api.github.com/repos/HiFiLES/HiFiLES-solver/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/HiFiLES/HiFiLES-solver/issues/99/comments","events_url":"https://api.github.com/repos/HiFiLES/HiFiLES-solver/issues/99/events","html_url":"https://github.com/HiFiLES/HiFiLES-solver/issues/99","id":109525899,"number":99,"title":"error in compilation of GPU version","user":{"login":"popstar0426","id":9553925,"avatar_url":"https://avatars.githubusercontent.com/u/9553925?v=3","gravatar_id":"","url":"https://api.github.com/users/popstar0426","html_url":"https://github.com/popstar0426","followers_url":"https://api.github.com/users/popstar0426/followers","following_url":"https://api.github.com/users/popstar0426/following{/other_user}","gists_url":"https://api.github.com/users/popstar0426/gists{/gist_id}","starred_url":"https://api.github.com/users/popstar0426/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popstar0426/subscriptions","organizations_url":"https://api.github.com/users/popstar0426/orgs","repos_url":"https://api.github.com/users/popstar0426/repos","events_url":"https://api.github.com/users/popstar0426/events{/privacy}","received_events_url":"https://api.github.com/users/popstar0426/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T16:26:57Z","updated_at":"2015-10-10T08:57:49Z","closed_at":null,"body":"Hi:\r\n\r\n   I tried to compile HiFiLES in a cluster (which has Tesla k20m installed ).\r\n   However, I met such a error:\r\n    nvcc -D_GPU -I/usr/local/cuda-6.0/include/ -gencode=arch=compute_30,code=sm_30  -Xcudafe \"--diag_suppress=subscript_out_of_range\" -c -o ../src/cuda_kernels.o ../src/cuda_kernels.cu\r\n/bin/sh: nvcc: command not found\r\nmake[1]: *** [../src/cuda_kernels.o] Error 127\r\nmake[1]: Leaving directory `/export/home/wangy/HiFiLES-solver/obj'\r\nmake: *** [all-recursive] Error 1\r\n\r\n  My configure_run.sh is attached below.\r\n   # Basic User-Modifiable Build Settings [Change these as desired]\r\nNODE=\"GPU\"              # CPU or GPU\r\nCODE=\"RELEASE\"            # DEBUG or RELEASE\r\nBLAS=\"NO\"               # ATLAS, STANDARD, ACCLERATE, or NO\r\nPARALLEL=\"NO\"           # YES or NO\r\nTECIO=\"NO\"              # YES or NO\r\nMETIS=\"YES\"              # Build & link to the HiFiLES-supplied ParMETIS libraries? YES or NO\r\n# ---------------------------------------------------------------\r\n# Compiler Selections [Change compilers or add full filepaths if needed]\r\nCXX=\"g++\"               # C++ compiler - Typically g++ (default, GNU) or icpc (Intel)\r\nNVCC=\"nvcc\"             # NVidia CUDA compiler\r\nMPICC=\"mpicxx\"          # MPI C compiler\r\n# ---------------------------------------------------------------\r\n# Library & Header File Locations [Change filepaths as needed]\r\nBLAS_LIB=\"/usr/local/atlas/lib\"\r\nBLAS_INCLUDE=\"/usr/local/atlas/include\"\r\n\r\nTECIO_LIB=\"lib/tecio-2008/lib\"\r\nTECIO_INCLUDE=\"lib/tecio-2008/include\"\r\n\r\n# If building the supplied ParMETIS libraries, need the MPI header location\r\nMPI_INCLUDE=\"/export/home/wangy/software/openmpi/include\"       # location of mpi.h\r\n\r\n# If NOT building the supplied ParMetis library, location of installed libraries\r\nPARMETIS_LIB=\"/usr/local/lib\"           # location of libparmetis.a\r\nPARMETIS_INCLUDE=\"/usr/local/include\"   # location of parmetis.h\r\n\r\nMETIS_LIB=\"/usr/local/lib\"              # location of libmetis.a\r\nMETIS_INCLUDE=\"/usr/local/include\"      # location of metis.h\r\n\r\n# GPU Architechture Selection: -gencode=arch=compute_xx,code=sm_xx (default: 20)\r\n#   compute_10\t Basic features\r\n#   compute_11\t + atomic memory operations on global memory\r\n#   compute_12\t + atomic memory operations on shared memory\r\n#                + vote instructions\r\n#   compute_13\t + double precision floating point support\r\n#   compute_20\t + Fermi support\r\n#   compute_30\t + Kepler support\r\nCUDA_ARCH=\"30\"\r\nCUDA_LIB=\"/usr/local/cuda-6.0/lib64/\"\r\nCUDA_INCLUDE=\"/usr/local/cuda-6.0/include/\"\r\n\r\n Best regards!\r\n\r\n    "},"comment":{"url":"https://api.github.com/repos/HiFiLES/HiFiLES-solver/issues/comments/147066988","html_url":"https://github.com/HiFiLES/HiFiLES-solver/issues/99#issuecomment-147066988","issue_url":"https://api.github.com/repos/HiFiLES/HiFiLES-solver/issues/99","id":147066988,"user":{"login":"popstar0426","id":9553925,"avatar_url":"https://avatars.githubusercontent.com/u/9553925?v=3","gravatar_id":"","url":"https://api.github.com/users/popstar0426","html_url":"https://github.com/popstar0426","followers_url":"https://api.github.com/users/popstar0426/followers","following_url":"https://api.github.com/users/popstar0426/following{/other_user}","gists_url":"https://api.github.com/users/popstar0426/gists{/gist_id}","starred_url":"https://api.github.com/users/popstar0426/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popstar0426/subscriptions","organizations_url":"https://api.github.com/users/popstar0426/orgs","repos_url":"https://api.github.com/users/popstar0426/repos","events_url":"https://api.github.com/users/popstar0426/events{/privacy}","received_events_url":"https://api.github.com/users/popstar0426/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T08:57:49Z","updated_at":"2015-10-10T08:57:49Z","body":"Hi:\r\n   Questions about the difference of HiFiLES execution between CPU and GPU?\r\n   As I know, there are many cores in a GPU card. \r\n   For example, a K20m card have 2496 small cores inside.\r\n   Question: When I run HiFiLES with \"HiFiLES inputfile\", only one small core will be used or the total 2496 small cores in one K20m will be used?\r\n\r\nBest regards!\r\nYue"}}