Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2498

General discussion • Re: A Pi Pie Chart

$
0
0
That 8-core RISC-V SBC sounds different. I wonder how it compares with a Raspberry Pi on the Pie Pi Chart calculations.

viewtopic.php?t=227177

Provided you have the time and curiosity, I'd be interested if you downloaded the code from

https://fractal.math.unr.edu/~ejolson/p ... urrent.tgz

then compiled and ran both serial and openmp versions on the RISC-V SBC. To avoid making this thread further off topic, it would be great to post any results in the Pie Pi Chart thread.
I tried to compile this today on BPI-F3, but it doesnt work. I get this:
rvoje@BPI-F3:~/Build/pichart-current/pichart-40$ make all
gcc -std=gnu99 -O3 -mtune=native -march=native -Wall -o pichart-serial pichart.c util.c sieve.c merge.c fourier.c lorenz.c -lm
gcc: error: ‘-march=native’: ISA string must begin with rv32 or rv64
make: *** [Makefile:40: pichart-serial] Error 1

As it has been almost 40 years since I was last time using C, I do not know how to fix this.

Statistics: Posted by hrvoje064 — Thu Sep 12, 2024 9:24 am



Viewing all articles
Browse latest Browse all 2498

Trending Articles