CFish

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
zullil
Posts: 5028
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: CFish

Post by zullil » Thu Sep 01, 2016 7:30 pm

Marek Soszynski wrote:
That's the answer to where's Cfish.
But why Cfish? Why a C port of Stockfish?
Because the author, Ronald de Man, prefers to code in C. In addition, it makes the code "lighter" and perhaps also easier for compilers to optimize. Cfish is already faster than SF-dev, with fully equivalent serial search.

syzygy
Posts: 4319
Joined: Tue Feb 28, 2012 10:56 pm

Re: CFish

Post by syzygy » Thu Sep 01, 2016 8:23 pm

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: 8953
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: CFish

Post by Dann Corbit » Fri Sep 02, 2016 1:16 am

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: 1120
Joined: Fri Nov 02, 2012 8:43 am
Location: New Delhi, India

Re: CFish

Post by shrapnel » Fri Sep 02, 2016 3:02 am

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, Asus ROG Strix 11 GB Geforce 1080 Ti and AMD Ryzen 7 1800X @4.0 GHz, 32 GB DDR4-2400 G.Skill RAM, ASUS Prime x370-PRO, Noctua NH-D15 SE-AM4 Cooler.

Norbert Raimund Leisner
Posts: 1508
Joined: Tue May 20, 2008 2:57 pm
Location: Augsburg - Germany

Re: CFish

Post by Norbert Raimund Leisner » Fri Sep 02, 2016 1:26 pm

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: 21
Joined: Fri Jan 11, 2013 4:04 pm

Re: CFish

Post by leslies » Fri Sep 02, 2016 3:56 pm

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: 4319
Joined: Tue Feb 28, 2012 10:56 pm

Re: CFish

Post by syzygy » Sat Sep 03, 2016 12:54 am

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: 1120
Joined: Fri Nov 02, 2012 8:43 am
Location: New Delhi, India

Re: CFish

Post by shrapnel » Sun Sep 04, 2016 4:36 pm

How to get the latest .exe ?
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Asus ROG Strix 11 GB Geforce 1080 Ti and AMD Ryzen 7 1800X @4.0 GHz, 32 GB DDR4-2400 G.Skill RAM, ASUS Prime x370-PRO, Noctua NH-D15 SE-AM4 Cooler.

Dann Corbit
Posts: 8953
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: CFish

Post by Dann Corbit » Mon Sep 05, 2016 10:05 am

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: 1475
Joined: Mon Jan 28, 2013 1:51 pm

Re: CFish

Post by Gusev » Tue Sep 06, 2016 11:06 pm

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?

Post Reply