{"action":"created","issue":{"url":"https://api.github.com/repos/cudamat/cudamat/issues/64","repository_url":"https://api.github.com/repos/cudamat/cudamat","labels_url":"https://api.github.com/repos/cudamat/cudamat/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/cudamat/cudamat/issues/64/comments","events_url":"https://api.github.com/repos/cudamat/cudamat/issues/64/events","html_url":"https://github.com/cudamat/cudamat/issues/64","id":145081413,"number":64,"title":"Using \"make\" from deepnet bundle","user":{"login":"Rietaros","id":18204466,"avatar_url":"https://avatars.githubusercontent.com/u/18204466?v=3","gravatar_id":"","url":"https://api.github.com/users/Rietaros","html_url":"https://github.com/Rietaros","followers_url":"https://api.github.com/users/Rietaros/followers","following_url":"https://api.github.com/users/Rietaros/following{/other_user}","gists_url":"https://api.github.com/users/Rietaros/gists{/gist_id}","starred_url":"https://api.github.com/users/Rietaros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rietaros/subscriptions","organizations_url":"https://api.github.com/users/Rietaros/orgs","repos_url":"https://api.github.com/users/Rietaros/repos","events_url":"https://api.github.com/users/Rietaros/events{/privacy}","received_events_url":"https://api.github.com/users/Rietaros/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T04:07:54Z","updated_at":"2016-04-01T09:35:32Z","closed_at":"2016-04-01T09:35:32Z","body":"Hello, I want to start using deepnet (https://github.com/nitishsrivastava/deepnet). For some reason it was built on top of cudamat, so I need to install and i read the tutorial. But I have trouble while i call 'make' file like this:\r\n\r\n~/Documents/deepnet-master/cudamat$ sudo make\r\nnvcc -O3 \\\r\n\t\t-v \\\r\n\t\t-gencode=arch=compute_10,code=sm_10 \\\r\n\t  -gencode=arch=compute_20,code=sm_20 \\\r\n\t\t-gencode=arch=compute_30,code=sm_30 \\\r\n\t\t--compiler-options '-fPIC' -o libcudamat.so \\\r\n\t\t--shared cudamat.cu cudamat_kernels.cu -lcublas -L\r\nnvcc fatal   : argument expected after '-L'\r\nmake: *** [libcudamat.so] Error 255\r\n\r\nwhy it happen?\r\nthank you"},"comment":{"url":"https://api.github.com/repos/cudamat/cudamat/issues/comments/204328740","html_url":"https://github.com/cudamat/cudamat/issues/64#issuecomment-204328740","issue_url":"https://api.github.com/repos/cudamat/cudamat/issues/64","id":204328740,"user":{"login":"f0k","id":629706,"avatar_url":"https://avatars.githubusercontent.com/u/629706?v=3","gravatar_id":"","url":"https://api.github.com/users/f0k","html_url":"https://github.com/f0k","followers_url":"https://api.github.com/users/f0k/followers","following_url":"https://api.github.com/users/f0k/following{/other_user}","gists_url":"https://api.github.com/users/f0k/gists{/gist_id}","starred_url":"https://api.github.com/users/f0k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0k/subscriptions","organizations_url":"https://api.github.com/users/f0k/orgs","repos_url":"https://api.github.com/users/f0k/repos","events_url":"https://api.github.com/users/f0k/events{/privacy}","received_events_url":"https://api.github.com/users/f0k/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T09:35:32Z","updated_at":"2016-04-01T09:35:32Z","body":"deepnet comes with its own bundled cudamat, which is different from the version here. Please direct any support questions there.\r\n\r\nAnyway, have a look at the Makefile: https://github.com/nitishsrivastava/deepnet/blob/master/cudamat/Makefile\r\nIt uses `-L$(CUDA_LIB)`. If the environment variable `CUDA_LIB` is empty, it will result in `-L` with a missing argument. `sudo CUDA_LIB=/usr/local/cuda/lib64 make` should work."}}