riscv-software-src / riscof

BSD 3-Clause "New" or "Revised" License
63 stars 40 forks source link

Running Tests in riscv-arch-test Causes Computer to Hang #112

Open europe2024 opened 3 months ago

europe2024 commented 3 months ago

Below is the platform.

 variant of Debian (version 12)
 4-core ARM
 8 gigabytes of memory

Running the tests in riscv-arch-test causes the computer to hang and, hence, to need a reboot.

The problem is resolved by changing

 config.ini
 ----------
 [RISCOF]
 ...

 [dut-name]
 ...
 jobs=4

 [ref-name]
 ...
 jobs=4

to

 config.ini
 ----------
 [RISCOF]
 ...

 [dut-name]
 ...
 jobs=1

 [ref-name]
 ...
 jobs=1

.

The documentation for RISCOF should mention that reducing the number of jobs is a possible solution when running the tests causes the computer to hang.