Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run the benchmarks #393

Open
enzoniko opened this issue Jul 5, 2023 · 2 comments
Open

Failed to run the benchmarks #393

enzoniko opened this issue Jul 5, 2023 · 2 comments

Comments

@enzoniko
Copy link

enzoniko commented Jul 5, 2023

Hello!
I'm trying to evaluate the performance of my GAPuino board. The idea is to see how accelerated the board is compared to my computer.
So I've discovered the benchmarks and I've tried to run them, however if fails with this error:

riscv32-unknown-elf-gcc -O2 -g -DRT_FC_STACK_SIZE=2048 -D__PLATFORM_BOARD__ -D__RT_IODEV__=2 -fno-jump-tables -fno-tree-loop-distribute-patterns -fdata-sections -ffunction-sections -march=rv32imcxgap8 -mPE=8 -mFC=1 -D__riscv__ -mnativeomp -D__pulp__ -DCONFIG_GAP -D__PULP_OS__ -MMD -MP -c AllTest.c  -I/home/enzo/gap_riscv_toolchain_ubuntu/gap_sdk/install/GAP8_V3/include  -I/home/enzo/gap_riscv_toolchain_ubuntu/gap_sdk/install/GAP8_V3/include/io  -I/home/enzo/gap_riscv_toolchain_ubuntu/gap_sdk/install/workstation/include  -include /home/enzo/gap_riscv_toolchain_ubuntu/gap_sdk/install/GAP8_V3/include/rt/chips/gap8_revc/config.h -MD -MF /AllTest.d -o /AllTest.o
AllTest.c: In function 'main':
AllTest.c:1251:5: warning: implicit declaration of function 'PMU_set_voltage' [-Wimplicit-function-declaration]
     PMU_set_voltage(1150,0);
     ^~~~~~~~~~~~~~~
AllTest.c: At top level:
AllTest.c:1323:1: fatal error: opening dependency file /AllTest.d: Permission denied
 }
 ^
compilation terminated.
make: *** [/home/enzo/gap_riscv_toolchain_ubuntu/gap_sdk/utils/rules/pulp_rules.mk:220: /AllTest.o] Error 1

Could someone help me with this?

And another thing, do you have any suggestions on how I could compare the performance of these benchmarks with my computer? (For example, running the benchmarks trough gvsoc would do it? Is that even possible?)

Thanks in advance!

@gwtsivasiva
Copy link
Contributor

gwtsivasiva commented Jul 5, 2023 via email

@enzoniko
Copy link
Author

enzoniko commented Jul 5, 2023

Hi.

I installed the SDK with make clean all so it should have pulpOS installed already.
Can you please be more specific about the fix?

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants