{"id":1136,"date":"2018-03-28T22:42:37","date_gmt":"2018-03-28T21:42:37","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=1136"},"modified":"2018-03-28T22:42:37","modified_gmt":"2018-03-28T21:42:37","slug":"compiling-ravencoin-sgminer-branch-x16r-algorithm-ethos","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2018\/03\/28\/compiling-ravencoin-sgminer-branch-x16r-algorithm-ethos\/","title":{"rendered":"Compiling Ravencoin sgminer branch for x16r algorithm on ethOS"},"content":{"rendered":"<p>So, I was asked by a friend to compile some software for him using: https:\/\/github.com\/aceneun\/sgminer-gm-x16r\/releases<\/p>\n<p>I have to say that users branch was exactly that &#8216;aceneun&#8217;. <\/p>\n<p><a href=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin.png\" alt=\"\" width=\"661\" height=\"418\" class=\"alignnone size-full wp-image-1133\" srcset=\"https:\/\/haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin.png 661w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin-300x190.png 300w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin-474x300.png 474w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><\/p>\n<p>In the end I thought I&#8217;d goto the source so reached out to the raven developer of this branch:<br \/>\nhttps:\/\/github.com\/brian112358\/sgminer-x16r<\/p>\n<p>It&#8217;s a tough time compiling in EthOS because it&#8217;s all weird, and it required extra depedancies do an apt-cache search for the extra dev libs, namely:<\/p>\n<p> sudo apt-get install ocl-icd-opencl-dev it has a lot of dependancies and in ethos:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt-get-ubuntu install ocl-icd-opencl-dev\r\n<\/pre>\n<p>Upgrading all those packages seems not to break anything in my EthOS anyway. Now on to compiling brians branch of sgminer for the X16r algorithm.<\/p>\n<p>Download repo:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ngit clone https:\/\/github.com\/brian112358\/sgminer-x16r\r\n<\/pre>\n<p>Prepare for compilation &#038;&#038; checkout the dev branch &#038;&#038; run make prepare <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd sgminer-x16r\r\ngit checkout dev\r\n\r\ngit submodule update --init --recursive\r\n.\/autogen.sh\r\n\r\n<\/pre>\n<p>Then finally, we finish with :<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nCFLAGS=&quot;-Os -Wall -march=native -I\/opt\/AMDAPPSDK-3.0\/include&quot; LDFLAGS=&quot;-L\/opt\/amdgpu-pro\/lib\/x86_64-linux-gnu&quot; .\/configure --disable-git-version --disable-adl --prefix=\/opt\/sgminer-5.5.5\r\n<\/pre>\n<p>Finally run make to compile the software<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmake\r\n<\/pre>\n<p>You dont have to install it but you can like<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmake install\r\n<\/pre>\n<p>Make a proper file for our configs:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvi mylauncher.sh\r\n&#x5B;bash]\r\n#!\/bin\/bash\r\n\r\nexport GPU_FORCE_64BIT_PTR=1\r\nexport GPU_MAX_HEAP_SIZE=100\r\nexport GPU_USE_SYNC_OBJECTS=1\r\nexport GPU_MAX_ALLOC_PERCENT=100\r\nexport GPU_SINGLE_ALLOC_PERCENT=100\r\n\r\n\r\n\r\nADDRESS=&quot;RBFthisiswhereyourravencoinaddressgoes&quot;\r\nPOOL=&quot;stratum+tcp:\/\/miningpanda.site:3666&quot;\r\nPASSWORD=&quot;x&quot;\r\nINTENSITY=&quot;19&quot;\r\n\r\n.\/sgminer -k x16r -o $POOL -u $ADDRESS -p $PASSWORD -I $INTENSITY\r\n\r\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nchmod +x mylauncher.sh\r\n.\/mylauncher.sh\r\n<\/pre>\n<p>A very simple task and as an avid proponent of ravencoin! <a href=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin.png\" alt=\"\" width=\"661\" height=\"418\" class=\"alignnone size-full wp-image-1133\" srcset=\"https:\/\/haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin.png 661w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin-300x190.png 300w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2018\/03\/ravencoin-474x300.png 474w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I was asked by a friend to compile some software for him using: https:\/\/github.com\/aceneun\/sgminer-gm-x16r\/releases I have to say that users branch was exactly that &#8216;aceneun&#8217;. In the end I thought I&#8217;d goto the source so reached out to the &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2018\/03\/28\/compiling-ravencoin-sgminer-branch-x16r-algorithm-ethos\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121],"tags":[],"class_list":["post-1136","post","type-post","status-publish","format-standard","hentry","category-blockchain"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1136"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1136\/revisions"}],"predecessor-version":[{"id":1137,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1136\/revisions\/1137"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=1136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=1136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}