cwizard
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 04:25:42 AM |
|
The Dependencies have to be in a directory one up from the source folder.
so if the source is $$user$$/documents/github/cudaminer the dependencies have to be in ../cudaminer ? (/docs/github) I grabbed VS2010 express and I'm not making any better headway ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) I have VS2010 Ultimate sitting on my system. I'm downloading SP1 for it, I'll try building when that's done and let you know if I have better luck. Sweet. So you know what I did: Cloned from github Made new project from code Added in the files it was looking for Ended up stuck with stuff like: d:\users\eric\documents\github\cudaminer\miner.h(13): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory even though the file is there and clearly exists.
|
|
|
|
cwizard
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:07:12 AM |
|
Progress?
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 5.5.targets(592,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2010 -ccbin "D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" -I. -Icompat -Icompat\jansson -Icompat\getopt -I"..\pthreads\Pre-built.2\include" -I"..\curl-7.29.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" --opencc-options -LIST:source=on -G --keep --keep-dir Debug -maxrregcount=124 --ptxas-options=-v --machine 32 --compile -cudart static -g -DWIN32 -D_DEBUG -D_CONSOLE -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o Debug\nv_kernel.cu.obj "D:\Users\eric\Documents\GitHub\CudaMiner\nv_kernel.cu"" exited with code 2.
|
|
|
|
cwizard
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:32:57 AM |
|
I'm not intentionally spamming up the place, but I hope someone else might learn from my mistakes setting up a compiler for the 1st time.
I've come to a stand still, and any advice is greatly appreciated:
1>------ Build started: Project: cudaminer, Configuration: Debug Win32 ------ 1> Compiling CUDA source file nv_kernel.cu... 1> 1> D:\Users\eric\Documents\GitHub\CudaMiner>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2010 -ccbin "D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" -I. -Icompat -Icompat\jansson -Icompat\getopt -I"..\pthreads\Pre-built.2\include" -I"..\curl-7.29.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" --opencc-options -LIST:source=on -G --keep --keep-dir Debug -maxrregcount=124 --ptxas-options=-v --machine 32 --compile -cudart static -g -DWIN32 -D_DEBUG -D_CONSOLE -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o Debug\nv_kernel.cu.obj "D:\Users\eric\Documents\GitHub\CudaMiner\nv_kernel.cu" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(174): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(174): error : no suitable conversion function from "uint4" to "unsigned int" exists 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(175): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(175): error : no suitable conversion function from "uint4" to "unsigned int" exists 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(176): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(176): error : no suitable conversion function from "uint4" to "unsigned int" exists 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(177): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(177): error : no suitable conversion function from "uint4" to "unsigned int" exists 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(268): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(268): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(270): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(270): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(272): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(272): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(274): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(274): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(276): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(276): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(278): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(278): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(280): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(280): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(282): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(282): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(268): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(268): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(270): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(270): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(272): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(272): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(274): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(274): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(276): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(276): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(278): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(278): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(280): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(280): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(282): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(282): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(268): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(268): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(270): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(270): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(272): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(272): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(274): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(274): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(276): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(276): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(278): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(278): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(280): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(280): error : no operator "*" matches these operands 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(282): error : no suitable constructor exists to convert from "int" to "uint4" 1>D:/Users/eric/Documents/GitHub/CudaMiner/nv_kernel.cu(282): error : no operator "*" matches these operands 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 5.5.targets(592,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2010 -ccbin "D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" -I. -Icompat -Icompat\jansson -Icompat\getopt -I"..\pthreads\Pre-built.2\include" -I"..\curl-7.29.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" --opencc-options -LIST:source=on -G --keep --keep-dir Debug -maxrregcount=124 --ptxas-options=-v --machine 32 --compile -cudart static -g -DWIN32 -D_DEBUG -D_CONSOLE -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o Debug\nv_kernel.cu.obj "D:\Users\eric\Documents\GitHub\CudaMiner\nv_kernel.cu"" exited with code 2. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
|
|
|
tuaris
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:34:16 AM |
|
I'm running a build now...
|
|
|
|
tuaris
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:34:47 AM |
|
I'm running a build now...
all done: 1>Build succeeded. 1> 1>Time Elapsed 00:02:34.17 ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
|
|
|
|
tuaris
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:38:38 AM |
|
I'm running a build now...
all done: 1>Build succeeded. 1> 1>Time Elapsed 00:02:34.17 ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== This is what my directory structure looks like: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fvenus.morante.net%2Fdownloads%2Funibia%2Fscreenshots%2Fcudaminer-build.jpg&t=665&c=_6csrshfzvf0aQ) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fvenus.morante.net%2Fdownloads%2Funibia%2Fscreenshots%2Fcudaminer-build4.jpg&t=665&c=2yIxJ9vwzpAbEg) Here is the build output: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fvenus.morante.net%2Fdownloads%2Funibia%2Fscreenshots%2Fcudaminer-build2.jpg&t=665&c=qGdIn0vubtI0zw) It runs, this build doesn't seem to offer any speed differences (at least for me) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fvenus.morante.net%2Fdownloads%2Funibia%2Fscreenshots%2Fcudaminer-build3.jpg&t=665&c=Do1CSPok0MIy3A)
|
|
|
|
cwizard
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:43:18 AM |
|
I'm running a build now...
Dude you wanna be my hero and help me sort out what's wrong with my environment? New steps taken: Download FRESH clone from github Install CUDA 5.5 dev toolkit Place dependencies in cudaminer folder from github Open the project file Build Beyond that, I would love a build of 112 to fool around on. Please PM me, or find me on https://www.facebook.com/eric.ochoa.tx
|
|
|
|
compaker
Newbie
Offline
Activity: 1
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:43:55 AM |
|
|
|
|
|
cwizard
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 06:00:22 AM |
|
Thanks for that, I'm playing with the Z kernel and so far my experience is not what I'm reading on the last page lol
|
|
|
|
cwizard
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 06:11:14 AM |
|
I moved my file structure around to match the screenshots and still get the same errors compiling. I'll get it sorted out eventually I'm sure, but if anyone sees something obvious please please shed a light on it for me ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
bathrobehero
Legendary
Offline
Activity: 2002
Merit: 1051
ICO? Not even once.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 06:50:48 AM |
|
I'd ask people kindly not to spam the thread with compiling, but apparently they only read the last page so this will get buried fast, along with the how to compile posts.
|
Not your keys, not your coins!
|
|
|
orrett3
Newbie
Offline
Activity: 33
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 06:59:29 AM |
|
I moved my file structure around to match the screenshots and still get the same errors compiling. I'll get it sorted out eventually I'm sure, but if anyone sees something obvious please please shed a light on it for me ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) This is just a hunch, but I'm assuming you have a version of visual studio besides "Visual Studio 2010 Professional" I tried doing it with 2013 and it didn't work correctly, get 2010.
|
|
|
|
cwizard
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 07:01:58 AM |
|
I'd ask people kindly not to spam the thread with compiling, but apparently they only read the last page so this will get buried fast, along with the how to compile posts.
I read several pages, and tried to educate myself as best as possible before screwing around with this. For now, I don't have any more spam to contribute as I have hit a wall. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
69charger
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 07:18:32 AM |
|
THX up to 257kh on my GTX 660. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
RbelMonstr
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 79
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 08:38:46 AM |
|
why am i only getting 200 khash with my Gigabyte GTX 570 Super overclock (GV-N570SO-13I)? other people have reported 260 khash with the exact same gpu. my bat file: cudaminer.exe -C 2 -i 0 -o stratum+tcp://fast-pool.com:3333 -O *workername*:*workerpass*
Tried -C 0, but it gives me even less (180)] im runniong windows 8.1 with amd a6-6400k and 2x2gb ddr3 1333mhz 9-9-9-24
I have the exact same card as you do. Try this: Interactive: C:\x86\cudaminer.exe -H 1 -d 0 -i 1 -l auto -C 1 -m 1 200 - 250khash/s This means your pc stays a bit responsive And this for full load: C:\x86\cudaminer.exe -H 1 -d 0 -i 0 -l F30x8 -C 1 -m 1 270khash/s Edit: oh and use the 2013-12-10 version of cuda miner, because the 2013-12-18 version makes your gpu run quite hot (90-95 degrees C) I still get 190-200 khash with your settings. Same results in win 7 and win 8.1. can you upload the x86 folder including the bat file Sure. https://drive.google.com/file/d/0B0Ks8CbiH6PKd092WGlDUHdDZkk/edit?usp=sharing
|
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 08:57:12 AM Last edit: January 23, 2014, 09:44:29 AM by cbuchner1 |
|
[2014-01-23 13:09:24] GPU #0: Given launch config 'K1x33' exceeds warp limit for 'K' kernel. [2014-01-23 13:09:24] GPU #0: using launch configuration K1x33
so... what's wrong with this picture? Reading comprehension. Priceless. For everything else there's DOGEcoin ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) EDIT: you can't go above 32 warps (x32) per block on any of the implemented kernels. Christian
|
|
|
|
liomojo1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 09:00:22 AM Last edit: January 23, 2014, 09:15:58 AM by liomojo1 |
|
THX up to 257kh on my GTX 660. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) What setting do you use , on my gtx760 i get only 135kh max? for vertcoin. or anyone who is using 760 , can you share the bat file or what setting are optimal for it?
|
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 09:59:08 AM |
|
Could this configuration prevent cudaMiner from working? I have tried multiple versions over the past few days and seem to get only a driver crash (314.22) or nothing.
release 314 looks a bit too old to support CUDA 5.5.
|
|
|
|
bathrobehero
Legendary
Offline
Activity: 2002
Merit: 1051
ICO? Not even once.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 10:39:14 AM |
|
I read several pages, and tried to educate myself as best as possible before screwing around with this. For now, I don't have any more spam to contribute as I have hit a wall. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I'm sorry, I shouldn't post before my coffee. We all have to start somewhere afterall. After work I'll try to help you if needed. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
Not your keys, not your coins!
|
|
|
13G
Newbie
Offline
Activity: 17
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 10:39:48 AM |
|
Can you somewhere upload (custom) win build of cudaminer supporting scrypt-jane please?
Thank you very much! :-)
|
|
|
|
|