Author

Topic: [ANN] ccminer 2.3 - opensource - GPL (tpruvot) - page 162. (Read 500112 times)

legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
change the SM version in Makefile.am then ./build.sh
full member
Activity: 146
Merit: 100
Nevermind, I figured out what went wrong.
hero member
Activity: 979
Merit: 510
you need to checkout the linux branch to get the fix : git checkout origin/linux -b linux

Thanks!
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
git branch
newbie
Activity: 9
Merit: 0
you need to checkout the linux branch to get the fix : git checkout origin/linux -b linux

this is what my configure code looks like to get it to compile with a fresh git clone not the linux branch
I am compiling on ubuntu 14.04

NVCC="nvcc"

if test -n "$with_cuda"
then
  CUDA_INCLUDES="-I$with_cuda/include"
  CUDA_LIBS="-lcudart"
  CUDA_LDFLAGS="-L$with_cuda/lib$SUFFIX"
  if test -x "$with_cuda/bin/nvcc"
  then
    NVCC="$with_cuda/bin/nvcc"
  else
   abc="123"
  fi
else
  CUDA_INCLUDES="-I/usr/local/cuda/include"
  CUDA_LIBS="-lcudart -static-libstdc++"
  CUDA_LDFLAGS="-L/usr/local/cuda/lib$SUFFIX"
fi

if test -n "$with_nvml" ; then
  NVML_LIBPATH=$with_nvml
  CUDA_LDFLAGS="$CUDA_LDFLAGS -ldl"
fi
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
you need to checkout the linux branch to get the fix : git checkout origin/linux -b linux
hero member
Activity: 979
Merit: 510
i see, a "then" is missing, else did you install cuda ?

edit: fixed on github

I pulled a fresh clone from github and the error is the same.
Cuda is installed, I'm able to install other ccminer branches.


./configure: line 6586: syntax error near unexpected token `fi'
./configure: line 6586: `  fi'
make: *** No targets specified and no makefile found.  Stop.
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
i see, a "then" is missing, else did you install cuda ?

edit: fixed on github
newbie
Activity: 9
Merit: 0
I get this when compiling on Ubuntu 12 after running ./autogen and then ./configure:

checking for EVP_DigestFinal_ex in -lcrypto... yes
checking for gawk... (cached) mawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.22.0
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
./configure: line 6586: syntax error near unexpected token `fi'
./configure: line 6586: `  fi'

Then make:
make: *** No targets specified and no makefile found.  Stop.

I was getting the same error and fixed it by adding an else statement that does nothing.
edit  I also added a then too.

edit this is what my configure code looks like to get it to compile with a fresh git clone

NVCC="nvcc"

if test -n "$with_cuda"
then
  CUDA_INCLUDES="-I$with_cuda/include"
  CUDA_LIBS="-lcudart"
  CUDA_LDFLAGS="-L$with_cuda/lib$SUFFIX"
  if test -x "$with_cuda/bin/nvcc"
  then
    NVCC="$with_cuda/bin/nvcc"
  else
   abc="123"
  fi
else
  CUDA_INCLUDES="-I/usr/local/cuda/include"
  CUDA_LIBS="-lcudart -static-libstdc++"
  CUDA_LDFLAGS="-L/usr/local/cuda/lib$SUFFIX"
fi

if test -n "$with_nvml" ; then
  NVML_LIBPATH=$with_nvml
  CUDA_LDFLAGS="$CUDA_LDFLAGS -ldl"
fi
hero member
Activity: 979
Merit: 510
not on my 3 linux machines, could you paste me the erroneous lines of your configure...
This is the section, line with the error on it simply has "fi":

NVCC="nvcc"

if test -n "$with_cuda"
then
  CUDA_INCLUDES="-I$with_cuda/include"
  CUDA_LIBS="-lcudart"
  CUDA_LDFLAGS="-L$with_cuda/lib$SUFFIX"
  if test -x "$with_cuda/bin/nvcc"
    NVCC="$with_cuda/bin/nvcc"
  fi
else
  CUDA_INCLUDES="-I/usr/local/cuda/include"
  CUDA_LIBS="-lcudart -static-libstdc++"
  CUDA_LDFLAGS="-L/usr/local/cuda/lib$SUFFIX"
fi

if test -n "$with_nvml" ; then
  NVML_LIBPATH=$with_nvml
  CUDA_LDFLAGS="$CUDA_LDFLAGS -ldl"
fi
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
not on my 3 linux machines, could you paste me the erroneous lines of your configure...
hero member
Activity: 979
Merit: 510
try ./build.sh else configure is generated by your machine, so the line doesnt help me...
./build provides the same error message.

git clone https://github.com/tpruvot/ccminer
cd ccminer
./build.sh

checking for curl_free... yes
./configure: line 6586: syntax error near unexpected token `fi'
./configure: line 6586: `  fi'
make: *** No targets specified and no makefile found.  Stop.
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
try ./build.sh else configure is generated by your machine, so the line doesnt help me...
hero member
Activity: 979
Merit: 510
I get this when compiling on Ubuntu 12 after running ./autogen and then ./configure:

checking for EVP_DigestFinal_ex in -lcrypto... yes
checking for gawk... (cached) mawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.22.0
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
./configure: line 6586: syntax error near unexpected token `fi'
./configure: line 6586: `  fi'

Then make:
make: *** No targets specified and no makefile found.  Stop.
member
Activity: 111
Merit: 10
Thanks for your reply.  Just wanted to make sure I wasn't doing something wrong.  I guess I can try starting up separate ccminer instances utilizing the -d switch.
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
indeed this syntax is not yet supported, i will try to do it...
member
Activity: 111
Merit: 10
I have two different nvidia 750Ti's (GIGABYTE and a EVGA "superclocked") in my rig (Ubuntu 14.04).  I was trying to adjust the intensity of the cards (just to see if it made any hashing difference) individually using -d 0,1 -i 19,21 (also --devices 0,1 --intensity 19,21) but when I checked the api call of "threads" the "I" value was 19 for both cards.  I tried a few different number combos and whatever was the first number for -i was the "I" value for both cards.  Also when I placed a high number as the first intensity (example: 28), ccminer would crash out (expected), but if that number was the second one ccminer would work fine.  It seems the second value is being skipped.  What should the command be for setting intensity per card? Or does this only work if you have two types of cards, say a 750Ti and a 980? Or is it not a per card setting at all?  Thanks.
legendary
Activity: 1400
Merit: 1050
neoskrypt gtx 970 100kh?

DJM34 is officially developing neoscrypt code for Cuda.  He has given progress reports on the hashing speeds for various nVidia cards in sp_'s ccminer thread.  He also announced a crowdfunding plan.       --scryptr
Where does one pay?
you can send donation to the address for that project which is in my signature: 18UZRrybgjmR4M53Aca4Q8YBguqErZ5qaP
The miner will be release once enough money has been collected (ideally 5btc... but may-be less... considering the btc is not really high)

Current speed: gtx750ti: ~120kh/s
                     gtx780ti: ~200kh/s
                     gtx 980:  ~375kh/s
legendary
Activity: 3164
Merit: 1003
neoskrypt gtx 970 100kh?

DJM34 is officially developing neoscrypt code for Cuda.  He has given progress reports on the hashing speeds for various nVidia cards in sp_'s ccminer thread.  He also announced a crowdfunding plan.       --scryptr
Where does one pay?
legendary
Activity: 1797
Merit: 1028
neoskrypt gtx 970 100kh?

DJM34 is officially developing neoscrypt code for Cuda.  He has given progress reports on the hashing speeds for various nVidia cards in sp_'s ccminer thread.  He also announced a crowdfunding plan.       --scryptr
Jump to: