CFish

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

syzygy
Posts: 5563
Joined: Tue Feb 28, 2012 11:56 pm

Re: CFish

Post by syzygy »

Dann Corbit wrote:
Marek Soszynski wrote:
That's the answer to where's Cfish.
But why Cfish? Why a C port of Stockfish?
Why not?
Exactly.
Dann Corbit
Posts: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: CFish

Post by Dann Corbit »

Jouni wrote:There are 2 exes 182k and 645k. Which one is correct?
The 645K one is build with Mingw GCC 6.1, and it will require bitcount instruction for your CPU.

The smaller one is built with Microsoft Visual C++ and it should run on any 64 bit CPU

I guess that the Mingw one will be faster.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: CFish

Post by shrapnel »

zullil wrote:Cfish is already faster than SF-dev, with fully equivalent serial search.
Hmm...will give it a shot.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: CFish

Post by Norbert Raimund Leisner »

Hello Dann,

both CFish versions crash immediately on Windows 7-SP1 x64 on WinBoard-GUI 4.8.0 and Arena 3.5.1 Interface just after a few moves.

CPU
Intel Core i5 3470
Cores 4
Threads 4
Name Intel Core i5 3470
Code Name Ivy Bridge
Package Socket 1155 LGA
Technology 22nm
Specification Intel Core i5-3470 CPU @ 3.20GHz
Family 6
Extended Family 6
Model A
Extended Model 3A
Stepping 9
Revision N0
Instructions MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, Intel 64, NX, VMX, AES, AVX
Virtualization Supported, Enabled
Hyperthreading Supported, Disabled
Fan Speed 2109 RPM
Bus Speed 99.8 MHz
Stock Core Speed 3200 MHz
Stock Bus Speed 100 MHz
Average Temperature 38 °C
Caches
L1 Data Cache Size 4 x 32 KBytes
L1 Instructions Cache Size 4 x 32 KBytes
L2 Unified Cache Size 4 x 256 KBytes
L3 Unified Cache Size 6144 KBy

RAM
Memory slots
Total memory slots 2
Used memory slots 2
Free memory slots 0
Memory
Type DDR3
Size 4096 MBytes
Channels # Dual
DRAM Frequency 798.1 MHz
CAS# Latency (CL) 11 clocks
RAS# to CAS# Delay (tRCD) 11 clocks
RAS# Precharge (tRP) 11 clocks
Cycle Time (tRAS) 28 clocks
Command Rate (CR) 2T
Physical Memory
Memory Usage 48 %
Total Physical 3.71 GB
Available Physical 1.90 GB
Total Virtual 7.41 GB
Available Virtual 5.54 GB
SPD
Number Of SPD Modules 2

What is your email-address? I could send you the Arena-debug-files, of course.

Best wishes,
Norbert
leslies
Posts: 22
Joined: Fri Jan 11, 2013 5:04 pm

Re: CFish

Post by leslies »

same thing happens with me on windows 10.i am also using arena 3.5.1 .also on a side note i have two paths for syzygy but i can only use one or the other when using cfish.thanks leslie.shamel@sbcglobal.net
syzygy
Posts: 5563
Joined: Tue Feb 28, 2012 11:56 pm

Re: CFish

Post by syzygy »

leslies wrote:same thing happens with me on windows 10.i am also using arena 3.5.1 .also on a side note i have two paths for syzygy but i can only use one or the other when using cfish.thanks leslie.shamel@sbcglobal.net
I have just fixed a bug which indeed must have caused problems after a few moves and only on Windows.
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: CFish

Post by shrapnel »

How to get the latest .exe ?
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
Dann Corbit
Posts: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: CFish

Post by Dann Corbit »

shrapnel wrote:How to get the latest .exe ?
Here is one:
https://www.dropbox.com/s/0zfnehxzq7ery ... er.7z?dl=0
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: CFish

Post by Gusev »

Dann Corbit wrote:Ronald does not distribute a windows binary, so here is a CFish that comes with one:

https://www.dropbox.com/s/0zfnehxzq7ery ... er.7z?dl=0

There is a Code::Blocks project for building a generic version (it is nice because you can visually debug very easily) and there is a version I built with his makefile.

In order to use his makefile, I had to change the exe symbol name from cfish to cfish.exe
Hi Dann, I tried to follow this advice and got stuck at the message
-------------- Build: Release in cfish (compiler: GNU GCC Compiler (x64 v.6.2.0))---------------

Checking if target is up-to-date: mingw32-make.exe -q -f "D:\Users\Dmitri\Documents\CodeBlocks Projects\Cfish\Cfish-master\src\Makefile" build ARCH=x86-64-bmi2 COMP=mingw
Running command: mingw32-make.exe -f "D:\Users\Dmitri\Documents\CodeBlocks Projects\Cfish\Cfish-master\src\Makefile" build ARCH=x86-64-bmi2 COMP=mingw
mingw32-make.exe ARCH=x86-64-bmi2 COMP=mingw config-sanity
mingw32-make.exe[1]: *** No rule to make target 'config-sanity'. Stop.
mingw32-make.exe: *** [build] Error 2
The rule for config-sanity is present in the makefile,
config-sanity:
@echo ""
@echo "Config:"
@echo "debug: '$(debug)'"
and so on.
If I turn off config-sanity and try to proceed to all, I get "No rule to make target 'all'", even though here it is,
all: $(EXE) .depend
How can I overcome this problem?
fantasmadel50
Posts: 112
Joined: Thu Apr 30, 2015 7:36 pm

Re: CFish

Post by fantasmadel50 »

¿Como hago para utilizarlo en linux, con scid? gracias How do I use on linux, with scid? Thank you