Comments (6)
This is indeed very strange. Especially the warning about tohost/fromhost should not be there. Looks like something in the compilation chain or the RISC-V frontend server is fishy. The test is supposed to terminate after around 1-5 minutes, depending on how fast your machine is. It should also print a runtime statistic of the matrix multiplication it executes, but that relies on the fesvr/tohost/fromhost, which won't be printed due to the warning above.
Also quite strange that you ran into the \r
trouble even within the docker container. I'd expect this environment to be a pretty pristine Linux setup, and not be encumbered with Windows line endings.
@zarubaf Maybe a good check would be to add benchmark execution inside the docker container to CI; what do you think?
from snitch.
Awesome you gave it a try and sorry it didn’t work out. To me the line endings look fishy. Is it possible that your native system is Windows?
We might need to change how the files are checked out for such a system.
from snitch.
Thank you. Yeah, I am running the docker container in Windows, I attempted to use the docker container I'm a WSL2 centos7 distro but it wouldn't let me start docker. I might try and set up a dual boot later today with Ubuntu, though I'd there's something simple I can do to get it running on windows the would be amazing.
from snitch.
Unfortunately, I don't have a Windows machine at hand right now. Looking at the GitHub Help it seems you could:
- Add a
.gitattributes
file containing:* text eol=lf
- Delete all files except
.git
directory (commit changes before doing that so that if you have some locally so that you do not lose your work).$ git restore .
- That should give you a new checkout with Linux file endings (and enable the Python script to work).
If that helps we could think about adding the .gitattributes
file to the repository. I am not sure how editing such files natively on Windows works though, I think some editors are more clever than others (VS Code vs. Notepad for example).
I thought that Docker has an experimental WSL2 backend. That is probably the easiest route to go down (for long-term development sanity). Let me know if that helps, or if you have any follow-up questions :-)
from snitch.
I got the make file to work on an Ubuntu WSL2 which I then opened the docker in so I'm making progress :-) I've now got the stage where we run the benchmark on the Verilator model. It then seems to hang here:
Is it supposed to do something or does this run indefinitely? I used Ctrl+Z to stop the process and try to use the make traces command but it gives me errors about trace_hart_00000000.txt.
Sorry, I am very new to all of the RISC-V stuff, so thank you very much for all your help :)
from snitch.
@davemap That was indeed a small issue in our build system. @fabianschuiki has just fixed this #49. Maybe you want to give it a try again?
Closing this issue for now, but feel free to re-open it in case it persists.
from snitch.
Related Issues (20)
- ci: Forced python version HOT 1
- occamy: Warning during CDEFS generation HOT 1
- banshee: Emit float register values as float instead of hex HOT 1
- Bender >=0.24 no longer resolves `export_include_dir` hierarchically HOT 2
- Quadrant Control: Wrong Reset value or comment HOT 2
- occamy: PCIE config regbus not connected HOT 1
- Is this synthesizable? HOT 5
- Submodule vendorized `pulp_platform` dependencies HOT 1
- SPI Host: FSM Bug CSAAT
- SPI Host: FSM Bug CSID Switch
- SPI Host: FSM Bug Read Enable HOT 1
- how to solve this issue 'mstatus' undeclared (first use in this function) HOT 2
- Occamy on FPGA - "axi_flat.svh" header file is missing on the repo HOT 1
- Incorrect decoding of `scfgri` causing deadlock HOT 1
- how to solve this issue:multiple definition of `_start'; HOT 1
- SSR writes '-inf' at the end HOT 3
- Repeated SSR configuration [enhancement] HOT 3
- annotate.py: Generate a warning when source file is newer than logs HOT 1
- Snitch to Wishbone Bridge HOT 1
- cmake does not work anymore for software setup HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snitch.